Magento: Updating item custom options in shopping cart programmatically? -


i want update custom options item in cart. have items id, load item in controller. thats stuck, can remove item cart , add new 1 updated options, thats not want.

i wantto update existing item in cart directly. ideas how that?

thanks!

i'm having exact problem configurable products.

for now, know magento displays configurable products options on 'edit cart item' page, , list of options generated without pre-selection of configurable attribute. attribute set javascript, takes data generated by

 <script type="text/javascript">     var spconfig = new product.config(<?php echo $this->getjsonconfig() ?>); </script> 

but displays selected attribute on 'edit cart item' page. if call manually, doesn't show current attribute selection.

some checkout modules display selected attribute in cart overwiew, know - so, it's possible take data magento (but i'm not sure if taken directly db or in more friendly way).


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -