Reviewed & tested by the community
Project:
e-Commerce
Version:
5.x-4.x-dev
Component:
product
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2008 at 12:51 UTC
Updated:
1 Feb 2008 at 10:47 UTC
Jump to comment: Most recent file
Comments
Comment #1
mbennett commentedNo discount was broken due to a typo in product.inc. no_discount had an 's' on the end which meant it didn't match.
The line:
if (!(product_attributes_get($node, 'no_discounts'))) {
Should be:
if (!(product_attributes_get($node, 'no_discount'))) {
Comment #2
mbennett commentedThe patch has been updated so that another bug in the same function (product_specials_get) is fixed.
$total = 0 should be returned if no discounts exist.