Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with speicials price not showing in cart


mattm58

Recommended Posts

I've got my site up and running, but I'm having a problem with specials. The product price shows up correctly on the product page (product_info.php) but when you add it to the cart it adds it at the regular price.

 

I know I've got something screwed up somewhere, but I can't figure out where. I've replaced both the product_info.php and shopping_cart.php files from the OSC tarfile, and still have the problem, so I don't think it's that.

 

I do have the quantity price-break cotrib installed, and when you enter a quantity large enough to get the discount, it works fine. The problem only appears with specials...

 

Where does this info get populated from in the cart? Where should I look for the problems?

 

-Matt

 

See the problem for yourself at http://www.mattstools.com

Link to comment
Share on other sites

I found the problem, it was in the priceFormatter.php file in the contrib. Specials and Quantity discounts were mutually exclusive, so it was one or the other. I modified the code so if the special price was lower than the quantity discount price it would use it, otherwise the qty discount price.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...