Able 7.0.4 coupon patch

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Able 7.0.4 coupon patch

Post by jmestep » Fri May 07, 2010 7:05 am

I'm wanting to install the patch for coupons that is listed on the help site for patches
Order amounts are not recalculated after coupons are entered

A few different issues were discovered with regards to order coupons, shipping calculations based on percentage, and how shipping coupons interact with shipping calculations.

One issue is that we had no way to tell the difference between a coupon placed for a product, an order, or a shipping charge. If the coupon had been applied to the order, it would be relevant to a shipping calculation based on percentage of order total. But because the coupon applies to a shipping charge that is not included in the total, it should not be counted in this calculation.

This is the primary cause of the problem when the "One Page Checkout" recalculates shipping (with shipping coupon present) and the shipping charge calculates incorrectly.

The solution: When calculating shipping coupons, the parent item ID should be set to the shipping charge that it applies to. Then, when we are totaling item costs for the shipping calculation, we should ignore any child coupon item where the parent is not included in the total. That will let us pick up appropriate product and order level coupons, but ignore shipping coupons.

TO FIX:

1) download and install Commercebuilder.dll version 13730 or higher. See first issue ID 8661 for a link to download and instructions to update. The CommerceBuilder.DLL may be updated frequently.

2) download and install updated files for \ConLib\OnePageCheckout.ascx.cs and \ConLib\CouponDialog.ascx.cs. If you have customized either of these files, make sure to merge your changes.
When I click on the link to the bug report where the most recent dlls are, the highest one there is 13541.
The bug # for the coupon says
For complete details, see bug 8849.

To correct this issue:

1) upgrade to CommerceBuilder.dll version 7.4.13730 or higher.

2) upgrade \ConLib\OnePageCheckout.ascx.cs
\ConLib\CouponDialog.ascx.cs
Where can we get the newer build?
Thanks
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

Post Reply