Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Quantity Price Breaks per Product


Recommended Posts

Hello,

 

i have installed the QPB per Product all works fine.

 

But in product info the special prices don?t show now,

they all in normal price at this. I have download latest updates

from the PriceFormatter, but nothing solve this problem.

 

Have anyone a fix for me ???

 

Or can write, what i have to change and who ?

 

Have a great Day...

 

Hobbes

Link to comment
Share on other sites

Hi Hobbes,

 

The Special prices should work. I think in the original files, they tell you to delete the following:

 

if ($new_price = tep_get_products_special_price($product_info['products_id'])) {
     $products_price = '<s>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>';
   } else {
     $products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));
   }

 

That actually controls the specials pricing.

 

So you would have to add the above code back and before (or above):

 

    $pf->loadProduct((int)$HTTP_GET_VARS['products_id'], (int)$languages_id);
   $products_price=$pf->getPriceString();

 

Hope this helps,

StrictlyPC

Link to comment
Share on other sites

Hello Striclypc,

 

that i have try many times...

 

before no changes and when i add it after, than special prices will be show,

but than the QPB don?t work :(

 

Than i don?t see the QPB table and i have all normal prices at a product.

 

Any solution ??

 

Greets

Hobbes

Link to comment
Share on other sites

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...