Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Removed Pricing For Products Priced By Attributes Only!!

Removed Pricing For Products Priced By Attributes Only!!

Locked

Views: 1,280

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
16 Feb 2009, 12:08 AM
#1
trendypixels avatar

trendypixels

New Zenner

Join Date:
Jan 2009
Posts:
11
Plugin Contributions:
0

Removed Pricing For Products Priced By Attributes Only!!

I'm trying to remove the price shown ONLY for prices listed as 'priced by attributes'. I've already managed to remove the line of text that says "starting at:", but every thing I've tried so far also removes the price shown for all my other products as well that are not priced by attributes. Here is an example....

http://pishposhprints.com/index.php?main_page=product_info&cPath=10_82&products_id=13

^ I want to remove the $3.32 w/o removing the price shown on this product...

http://pishposhprints.com/index.php?main_page=product_info&cPath=16_44&products_id=4

TYIA. =)

16 Feb 2009, 12:20 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Removed Pricing For Products Priced By Attributes Only!!

You could test for it ... on the tpl_product_info_display.php you can use

if ($product_info->fields['products_priced_by_attribute'] == 1) {
// don't show the price
} else {
// show the price 
}
17 Feb 2009, 3:19 PM
#3
trendypixels avatar

trendypixels

New Zenner

Join Date:
Jan 2009
Posts:
11
Plugin Contributions:
0

Re: Removed Pricing For Products Priced By Attributes Only!!

Ajeh:

You could test for it ... on the tpl_product_info_display.php you can use

if ($product_info->fields['products_priced_by_attribute'] == 1) {
// don't show the price
} else {
// show the price
}


didn't work :(
18 Feb 2009, 3:36 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Removed Pricing For Products Priced By Attributes Only!!

What was the exact code that you used?