ecommerce shopping cart missing ( modify quantity and remove )
Permalink
Hi all, I hope you can point me to the files I need to get to in the ecommerce core. I can't figure it out. My cart is missing the quantity modification / and the remove (title) and button.
*also I know this is like a really old version of c5 and an old version of the ecommerce core, but I just need it hobbled together for a few more months until I can get to the redesign of this site.
Apparently there was some kind of glitch with the hosting company and all these files became corrupted, I've been fixing the images, but it seems to have affected this particular element as well.
I also think there are some images here that are still wonky.
OK - much much appreciated! looking forward to any ideas you might have
Best,
Karen
*also I know this is like a really old version of c5 and an old version of the ecommerce core, but I just need it hobbled together for a few more months until I can get to the redesign of this site.
Apparently there was some kind of glitch with the hosting company and all these files became corrupted, I've been fixing the images, but it seems to have affected this particular element as well.
I also think there are some images here that are still wonky.
OK - much much appreciated! looking forward to any ideas you might have
Best,
Karen
The CoreCommerceOrderProduct::getQuantityField method explicitly checks if the product is a physical good, so that's what you'd want to override (core_commerce/models/order/product.php).
I'd recommend adding an attribute to products like "is_quantity_manual" and check for that in your override method.