Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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:

Posted

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

Posted
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)
	}

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...