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)
-   -   Extra Fields layout question (https://forum.x-cart.com/showthread.php?t=55046)

inteliboy1 08-12-2010 05:11 PM

Extra Fields layout question
 
Sorry if this is super basic, tried searching the forums though can't find an answer---


Need an if statement to take a particular Extra Field and display it on the product page. Just so I can move them around the layout individual from each other, rather then one big extra-field div.

ie --- Extra Field COLOURS up top above the description.
--- Extra Field LOCATION moved down to the bottom.

cflsystems 08-12-2010 05:24 PM

Re: Extra Fields layout question
 
You can include loop through the extra fields variables and show only the one you need (see skin1/modules/Extra_Fields/product.tpl how it's done) or if you know exactly which one is it you can use similar to this

{$extra_fields[x].field_value} - replace x with the number of the field you need in the array

inteliboy1 08-15-2010 10:32 PM

Re: Extra Fields layout question
 
thanks heaps will look into it!


All times are GMT -8. The time now is 02:53 PM.

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