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)
-   -   Different product.tpl templates for different products? (https://forum.x-cart.com/showthread.php?t=10265)

balinor 11-08-2004 05:02 PM

Different product.tpl templates for different products?
 
Hi all...I've been digging around for an answer to this one but have had no luck. Is there a way to create multiple product.tpl templates and somehow point certain products to different templates? I'd like to have different categories of products display differently. Any help would be much appreciated, thanks!

-Padraic

emil 11-08-2004 07:20 PM

hi,

i could be wrong but you can try using a different style sheet for each category.

im using this line on one of my current sites:

<link rel="stylesheet" href="http://your.domain.com/css/cart_{$location[position].0|truncate:3:""}.css">

balinor 11-09-2004 03:52 AM

Thanks Emil, but that will only change the formatting...I am looking to change the actual layout (moving items around), and unless I convert my store to CSS, I can't do that via a style sheet :)


All times are GMT -8. The time now is 09:46 AM.

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