ioscommerce Posted March 22, 2008 Share Posted March 22, 2008 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: Quote Link to comment Share on other sites More sharing options...
ioscommerce Posted March 23, 2008 Author Share Posted March 23, 2008 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 Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted March 23, 2008 Share Posted March 23, 2008 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) } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.