X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How to hide modules on certain pages (https://forum.x-cart.com/showthread.php?t=10584)

scott_dev 11-26-2004 08:18 AM

How to hide modules on certain pages
 
I want to hide the "send to a friend" and "Recommended products list" on my item pages for categories designated as "hidden". Could someone help me with the smarty code I wold need to use?

cotc2001 11-26-2004 11:07 AM

Can you elborate on what you mean by "hidden" ?

scott_dev 11-26-2004 12:00 PM

Hidden items
 
Just that I don't want those items to appear on the select category item detail pages, but do want them to appear for all other categories.

adpboss 11-27-2004 07:22 AM

Quote:

Custom Templates
Have you created a custom tool, feature or design that you want to show off? You can post your personally customized templates here and share your work with the forum. Please, no requests or wish lists here - this topic is only for posting customized X-cart files
Moderators B00MER, shan, funkydunk

shan 11-29-2004 03:51 AM

wrap the includes in this

Code:

{if $cat ne 99}

include ....

{/if}


change 99 to the category you want to hide stuff in

EZ 02-06-2005 01:19 AM

A little more please
 
Can you tell me a little more in depth on how to do this, I'm trying to hide the right side modules on certian product detail pages and want the descriptions to streach all the way to the right.

Thanks

balinor 02-06-2005 05:32 AM

Please, post your X-Cart version number in your signature. We cannot help you unless we know what version you are using.

EZ 02-06-2005 10:33 AM

Hide Column
 
Sorry about that I added all my info to my signature.


All times are GMT -8. The time now is 07:45 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.