![]() |
Re: Displaying Product options using "if" statements
I mean Product options, not Extra Fields.
|
Re: Displaying Product options using "if" statements
The method for product options is very much similar to what Steve has demonstrated for you using extra fields. Instead of looping through the extra fields array - you will do a similar loop through the product options array ($product_options). Then, understand there is an array inside the array with all the options per product
Look at /skin/common_files/modules/Product_Options/customer_options.tpl as a guide for what you want to do. Use webmastermode on the page in question, select "show variables", look at the $product_options array for the fields available to you. Code:
{foreach from=$product_options item=v} If you can see in the webmastermode window exactly what you are after, you can reference it without looping. Maybe something like: Code:
{$product_options[1].avail} --- |
Re: Displaying Product options using "if" statements
would you please give me a full example, thanks.
|
Re: Displaying Product options using "if" statements
anybody knows how to do? tks in advance!
|
All times are GMT -8. The time now is 06:07 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.