Legendary... I love your parrot.
Legendary... I love your parrot.
Though that may be a little premature. How do I avoid removing all the images? That stylesheet covers all the product pages doesn't it? Am I being really stupid? Why did I even ask that? Of course I am.
I could do it just for a single $cPath if that helps...
Perhaps something along the lines of the script that disables sideboxes on certain pages? How would one go about incorporating this:
into the tpl_product_info_display.php page?Code:if (in_array($current_page_base,explode(",",'index')) ) { $flag_disable_left = true; } if (in_array($cPath,explode(",",'1,2,3.....etc etc')) ) { $flag_disable_right = true; $flag_disable_left = false; }
Oh ... I didn't understand you only wanted to remove the main image from certain products ... Hhhmmm
I would use a different product type for the ones you don't want the main image for and use the CSS fix instead of messing in the code. :)
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
OK, so I have a new product type but the CSS still governs it and the Product - General type. Apologies again for the stupidity but how do I seperate the CSS?
#productGeneral #productMainImage {display: none;}
or
#productYourType #productMainImage {display: none;}
whichever is appropriate.