I have been sucessfully using the information in post #8
http://www.zen-cart.com/forum/showthread.php?t=74524
to show the correct attribute image in my cart. I have configuration>images>Image - Shopping Cart Status
set to 0 (if I turn it on I get two images on a product that has attributes, the main product image and the attribute image)
I need to know how to allow the main product image only if there are no attributes involved with the product.
I can turn the switch back on if there is a way to stop showing the main image IF there is an attribute.
Otherwise I can leave the switch off and put the appropriate code in the correct file, I suspect this would be the tpl_shopping_cart_default.php file.
Can anyone suggest an if type statement that I can use and possibly where in the code I would need to put it to restrict the main product image shown in the cart to only be rendered if there are no attributes involved with the product.
Thanks for any help you can offer.


Reply With Quote
