Forums / Setting Up Categories, Products, Attributes / IF statement for a specific product info page

IF statement for a specific product info page

Locked

Views: 1,258

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
4 Jul 2007, 6:59 AM
#1
milkyway avatar

milkyway

Inactive

Join Date:
Aug 2006
Location:
Singapore
Posts:
167
Plugin Contributions:
1

IF statement for a specific product info page

Hi All!

I need custom 'Product's Options Text' for a specific product info page so that the Product's Option Text will be different then the default (Please Choose:)

i.e the product info page is:

http://mysite.com/index.php?main_page=product_info&cPath=20&products_id=80

I need to change 'Please Choose' to 'Please type:' specifically for that product info page only, while other product info page remain the same (default 'Please Choose').

How can I add the correct IF statement in the tpl_modules_attributes.php ?

<?php if ($zv_display_select_option > 0) { ?> <h3 id="attribsOptionsText"><?php echo TEXT_PRODUCT_OPTIONS; ?></h3> <?php } ?>

Thanks so much!

Responsive ZenCart Templates that automatically adapt itself with iPad, iPhone, BlackBerry, Androids and any monitor screen size
Buy a coffee for Zen-Cart devs. http://www.zen-cart.com/donate