Page 1 of 5 123 ... LastLast
Results 1 to 10 of 41
  1. #1
    Join Date
    Jan 2005
    Location
    NY
    Posts
    149
    Plugin Contributions
    0

    Default Recalculate shipping after discount coupon applied

    I am working on a site that plans on using lots of discount coupons and is using a table rate shipping based on total cost.

    The problem I am having is that the discount is being applied after the shipping is calculated.

    Shipping is free for orders over $175, but if a customer has a total of $180 in their cart and then uses a $20 off coupon they are not charged any shipping because the calculation was done based on the order total before the discount was applied.

    Is there any way to take coupons into account and re-calculate shipping in a later step of the order process?

    Any help would be appreciated.

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,677
    Plugin Contributions
    123

    Default Re: Recalculate shipping after discount coupon applied

    Each of these modules (coupons, shipping, etc.) has a "sort order" that you see in admin->modules->order total. Moving coupons below shipping should work for you.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Jan 2005
    Location
    NY
    Posts
    149
    Plugin Contributions
    0

    Default Re: Recalculate shipping after discount coupon applied

    I tried adjusting the sort order, but it only seems to change the display order. It appears that the shipping is being calculated from the sub-total and the discount is factored in after the fact.

    The shipping rate is set to Free for orders over $175, but should charge 10:95 for orders between $75-$175. This is the result I get.

    Sub-Total: $177.00
    Combination Discounts : -$20.00
    Zone Rates (Shipping to US): $0.00
    Total: $157.00

    I did the same test using a coupon instead of the combination discount and the result is exactly the same.

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,677
    Plugin Contributions
    123

    Default Re: Recalculate shipping after discount coupon applied

    Try putting the discount above the subtotal.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #5
    Join Date
    Jan 2005
    Location
    NY
    Posts
    149
    Plugin Contributions
    0

    Default Re: Recalculate shipping after discount coupon applied

    Quote Originally Posted by swguy View Post
    Try putting the discount above the subtotal.
    I tried that too, but it seems that no matter where I put it, the subtotal is not being affected by the discounts.

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,677
    Plugin Contributions
    123

    Default Re: Recalculate shipping after discount coupon applied

    Pls. see email.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #7
    Join Date
    Jan 2008
    Posts
    75
    Plugin Contributions
    0

    Default Re: Recalculate shipping after discount coupon applied

    Quote Originally Posted by swguy View Post
    Pls. see email.
    I am having the same issue, what was the answer?

  8. #8
    Join Date
    Jan 2005
    Location
    NY
    Posts
    149
    Plugin Contributions
    0

    Default Re: Recalculate shipping after discount coupon applied

    Due to my complicated discount requirements, I purchased the combination discounts module which gave me all of the features I was looking for.

    Scott (swguy) was able to write a patch for the zones shipping module that calculated based on the total after discounts were applied.

    Thanks for the great support!

  9. #9
    Join Date
    Jun 2007
    Location
    Texas, USA
    Posts
    1,400
    Plugin Contributions
    1

    Default Re: Recalculate shipping after discount coupon applied

    Quote Originally Posted by pjb923 View Post
    Due to my complicated discount requirements, I purchased the combination discounts module which gave me all of the features I was looking for.

    Scott (swguy) was able to write a patch for the zones shipping module that calculated based on the total after discounts were applied.

    Thanks for the great support!
    SWGuy,

    Please pm me with information on getting this patch and the combination discounts module.

    Thank you!

    Shrimp

  10. #10
    Join Date
    Dec 2007
    Location
    Hoboken, NJ
    Posts
    96
    Plugin Contributions
    1

    Default Re: Recalculate shipping after discount coupon applied

    Quote Originally Posted by shrimp-gumbo-mmmhhh View Post
    SWGuy,

    Please pm me with information on getting this patch and the combination discounts module.

    Thank you!

    Shrimp

    I am also interested in the patch and module. Please PM me as well.

    Cal

 

 
Page 1 of 5 123 ... LastLast

Similar Threads

  1. Discount Coupon Not Applied
    By samsonite1 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 14
    Last Post: 2 Aug 2010, 02:27 PM
  2. Replies: 7
    Last Post: 7 Jul 2008, 06:52 AM
  3. Recalculate shipping after coupon applied w/zone rates
    By cuda in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 22 Jan 2007, 03:59 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR