Jump to content
Sign in to follow this  
ioscommerce

a new different module for Quantity Price Breaks Per Product

Recommended Posts

image.jpg

 

Hi everybody, is there any of you have seen this kind of QPBPP?

 

Only some levels of the prices are visible without login, I think it was based on Quantity price break per product, but I'm not sure.

 

I think it's much more interesting for those who wants to begin their wholesale business.

You can get more closer to this module by visiting http://www.chinavasion.com/product_info.ph...e-media-center/

 

I hope somebody can help share this module :thumbsup:

Share this post


Link to post
Share on other sites

I have found another site which is using this module

 

I found somebody successfully did this, you can see the real

 

site:http://www.tradestead.com/wholesale/iphone-accessories/iphone-crystal-case-p-2037.html

 

pic1.jpg

pic2.jpg

Share this post


Link to post
Share on other sites
I have found another site which is using this module

 

I found somebody successfully did this

Hardcode it for certain quantities or quantity levels seems not too difficult with a change in the function getPriceString in includes/classes/PriceFormatter.php:

	  // If you want to change the format of the price/quantity table
  // displayed on the product information page, here is where you do it.

if($this->hasQuantityPrice == true) {
	for($i=1; $i<=8; $i++) {
		if($this->quantity[$i] > 0) {
		  if ($this->quantity[$i] > 2 && !isset($_SESSION['customer_id'])) {
			$lc_text .= '<tr><td class='.$style.'>'
			. $this->quantity[$i]
			.'+ </td><td class='.$style.'>'
			.' Login</td></tr>';
		  } else {
			$lc_text .= '<tr><td class='.$style.'>'
			. $this->quantity[$i]
			.'+ </td><td class='.$style.'>'
			. $currencies->display_price($this->price[$i],
			tep_get_tax_rate($this->taxClass))
			.'</td></tr>';
			}
		} // end if($this->quantity[$i] > 0)
	}

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×