![]() |
Displaying Product options using "if" statements
I want to show Product options at different places, how to use "if" statement to control, pls?
|
Re: Displaying Product options using "if" statements
Open /skin/common_files/modules/Extra_Fields/product.tpl and use it as a guide. Turning on the debuger will help you with the variables available to use
|
Re: Displaying Product options using "if" statements
I do not know how to use, would you pls give me an example?
|
Re: Displaying Product options using "if" statements
It all depends what you want to show and how
|
Re: Displaying Product options using "if" statements
give me some examples, pls.
|
Re: Displaying Product options using "if" statements
Code:
{foreach from=$extra_fields item=v} This will show only active fields with values |
Re: Displaying Product options using "if" statements
for example, i have 2 Product options , and i want to show them at differn place, how to do?
|
Re: Displaying Product options using "if" statements
Code:
replace "xxx" with the service name for the field |
Re: Displaying Product options using "if" statements
Is this for Product Options or Extra Fields?
|
Re: Displaying Product options using "if" statements
Quote:
Scratch all posts above - it is for extra fields not options |
All times are GMT -8. The time now is 03:38 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.