View Single Post
  #1  
Old 09-05-2003, 03:31 AM
 
pipercub pipercub is offline
 

Advanced Member
  
Join Date: Oct 2002
Posts: 82
 

Default Display price as "Low as $x.xx" based on wholesale

I originally posted this in the Storefront Design area, but I probably should have posted it here instead. Moderators, please feel free to delete the topic in the Storefront Design area.

Here's my question...

Is there a way to display the lowest possible price based on the quantity breaks that are set up in "Wholesale" pricing?

I want to be able to show the best (lowest) price on the category and product pages.

Here is a thought on how it would work:

NOTE: This code is and example and is in no way accurate!


Code:
{if $product_wholesale ne ""} {$lng.lbl_low_price}: {include file="currency.tpl" value=$products[product_low].price} {else} {$lng.lbl_our_price}: {include file="currency.tpl" value=$products[product].price}


The goal would be to pull the lowest price available for the product (and the current member level) and apply it to the "$products[product_low].price" (this variable is not a real existing xcart variable).


Just some thoughts. Any suggestions would be great.

Surely someone has a thought on how this would work. Boomer, Shan, Funky... any thoughts?

Thanks,

Piper
Reply With Quote