Hi Guys
Is there a way to disable left or right column for specific pages or categories?
My template is Gloss Black though
I would appreciate your help
Thanks
Hi Guys
Is there a way to disable left or right column for specific pages or categories?
My template is Gloss Black though
I would appreciate your help
Thanks
Can I ask for your help?
I am trying to disable the right column for some specific document products pages, I followed the note in the tpl_main_page.php file but I can only get to disable the column for the whole category with $cPath statement is there the same kind of statement for the "product page"?
Thanks for your patients.
Kind Regards
Franco
Similar to using $cPath for categories, you can use the following for products:
Code:(int)$_GET['products_id']
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
You could try this:
Code:if (in_array((int)$_GET['products_id'] ,explode('14','82')) ) { $flag_disable_right = true; }
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.