Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
format the code
Source Link
Manashvi Birla
  • 8.9k
  • 9
  • 28
  • 53

I update the QTY based on case_sizecase_size of a product. I've made an observer to do that. If the case_sizecase_size is 144 and a customer buys two cases then QTY will automatically become 288PCS. When the customer clicks the Edit button then the product QTY on the add to cart page goes back to 2 case. Everything is working good, but when a customer edits the QTY see (image) then everything goes wrong of course!!

I want to remove the UPDATE button and make the QTY input readonly but until now no luck.

I've tried app\design\frontend\base\default\template\checkout\cart.phtmlapp\design\frontend\base\default\template\checkout\cart.phtml but it works on the magento/checkout/cart/configuremagento/checkout/cart/configure page not on magento/checkout/cart/magento/checkout/cart/ (see image)

Any tips would be highly appreciated.

Thank you all

magento/checkout/cart/

I update the QTY based on case_size of a product. I've made an observer to do that. If the case_size is 144 and a customer buys two cases then QTY will automatically become 288PCS. When the customer clicks the Edit button then the product QTY on the add to cart page goes back to 2 case. Everything is working good, but when a customer edits the QTY see (image) then everything goes wrong of course!!

I want to remove the UPDATE button and make the QTY input readonly but until now no luck.

I've tried app\design\frontend\base\default\template\checkout\cart.phtml but it works on the magento/checkout/cart/configure page not on magento/checkout/cart/ (see image)

Any tips would be highly appreciated.

Thank you all

magento/checkout/cart/

I update the QTY based on case_size of a product. I've made an observer to do that. If the case_size is 144 and a customer buys two cases then QTY will automatically become 288PCS. When the customer clicks the Edit button then the product QTY on the add to cart page goes back to 2 case. Everything is working good, but when a customer edits the QTY see (image) then everything goes wrong of course!!

I want to remove the UPDATE button and make the QTY input readonly but until now no luck.

I've tried app\design\frontend\base\default\template\checkout\cart.phtml but it works on the magento/checkout/cart/configure page not on magento/checkout/cart/ (see image)

Any tips would be highly appreciated.

Thank you all

magento/checkout/cart/