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

Removed Pricing For Products Priced By Attributes Only!!

Locked

Started by trendypixels on 16 Feb 2009, 12:08 AM · Views: 1,283

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. =)

Trendy Pixels
Attractive Web & Graphic Design, Zen Cart customization specialists
http://www.trendypixels.com

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 
}

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

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 :(

Trendy Pixels
Attractive Web & Graphic Design, Zen Cart customization specialists
http://www.trendypixels.com

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?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

20 Feb 2009, 10:45 PM
#5
bsteinagel avatar

bsteinagel

Zen Follower

Join Date:
Sep 2007
Location:
Neenah, WI
Posts:
112
Plugin Contributions:
0

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

Try looking at this thread: http://www.zen-cart.com/forum/showthread.php?t=117289&highlight=remove+product+price

I think this is what you might be looking for. If you scroll down, there's a post from pilot who lists some code that might help you out.