Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Price range for price by attributes

Price range for price by attributes

Locked

Views: 1,692

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
27 Sep 2007, 2:40 PM
#1
tigergirl avatar

tigergirl

New Zenner

Join Date:
Aug 2007
Posts:
29
Plugin Contributions:
0

Price range for price by attributes

Hi all,
Our client wants the price for products that are priced by attributes to show up differently on the product listing page. Currently it shows the price as $46.00, and then on the product details page it shows "Starting at $46.00" and the prices go up to $400+.

In order to more accurately reflect the price range on the product listing page, I would ideally like to show something like "$46.00 - $455.00". If that's not possible, I'd like to turn the price off - BUT ONLY for this category.

Store is at: https://www.chucktheodore.com. The particular category is "Art photos".

Any help will be hugely appreciated!
Thanks,
Leah

27 Sep 2007, 2:45 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Price range for price by attributes

It would take quite a bit of custom coding to pull both the lowest and highest values of a product cost for those based on attributes ...

It might be easier to have the Product Listing show the price as Starting At: $xx.xx

27 Sep 2007, 2:59 PM
#3
tigergirl avatar

tigergirl

New Zenner

Join Date:
Aug 2007
Posts:
29
Plugin Contributions:
0

Re: Price range for price by attributes

That would work fine. Can you point me to the right switch in the admin panel for that? Thanks...

27 Sep 2007, 4:58 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Price range for price by attributes

The display function for the price is in the:
/includes/functions/functions_prices.php

That is used everywhere the price is displayed except the shopping cart and checkout ...

Modifying that can get complex ...

What you are trying to do is add the text Starting At: in the product listing ...

To make it easier, this can be done by either checking if there are attributes on the product or checking if the product is priced by attributes etc. and then just adding on the text before the price is echoed out in the product listing ...