Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password?

Search the Forum

Tips and Tricks HQ Forum » WP eStore Forum » WP eStore Troubleshooting

Apply Coupon Discount to Total Amount

(16 posts) (6 voices)
  • Started 1 year ago by steveR
  • Latest reply from wpCommerce
  • Related Topics:
    1. "$10 OFF" Coupon over Total Amount
    2. Coupon is deviding discount amount by the number of items in the shopping cart.
    3. Automatically apply discount for a specific member level?
    4. Question About Coupons/Discounts?
    5. Total sales amount not added up when adding the commission manually

Tags:

  • discount coupon
12Next »
  1. steveR
    Member

    When I try to apply a discount to a total amount, it is applied to each product instead of subtracting from the grand total thus multiplying the discount by the number of items purchased. Any fix for this?

    Posted 1 year ago #
  2. amin007
    Key Master

    "multiplying the discount by the number of items purchased" - Can you explain this one a bit please?

    Total Discount is equally divided and applied to individual products for a few different reasons:

    1) The plugin verifies the price paid for each different product after the payment. A common hacking technique is to apply a discount on the total amount which makes it hard to verify how much was paid for the individual product.

    2) PayPal requires the price of each item not just the total.

    Posted 1 year ago #
  3. steveR
    Member

    To better explain my problem: we have a $50 gift certificate that we would like to be able to redeem online. I thought maybe a solution would be to create a discount code for $50 that wouldn't be effective unless total amount was greater than that. It works perfectly unless more than one item is purchased. Then $50 is subtracted from every item.

    From what I can get from what you're saying, it seems like this solution will not work. Any ideas on how a gift certificate can be implemented?

    Thanks for your time. I really like your plugin. Especially if I can figure this out...

    Posted 1 year ago #
  4. amin007
    Key Master

    Ah I see... it wasn't designed for a "Gift Certificate" type usage so it doesn't work for this situation. You could use a percentage (%) based discount rather than fixed amount which will yield a better result.

    Posted 1 year ago #
  5. Nettio
    Member

    I know this thread is from 10 months ago but I am looking to do something similar. Have there been any improvements to this or are there any plans to add this feature in the future?

    I would like to be able to offer a coupon for $10 off the total amount but right now it is taking $10 off each product in the cart. Is there any way to do this manually? Or to limit the total discount amount?

    A percentage off coupon won't work for me in this case as the whole point is that the customer doesn't have to pay anything unless their cart amount is above $10. It's essentially like a gift certificate but I don't need it to be able to track if they still have money left - it would only need to be a one time use kind of thing.

    Posted 12 months ago #
  6. amin007
    Key Master

    You can use the conditional coupon to apply a fixed amount discount on the total.

    Total Amount -> Is grater than -> something

    The amount will still be distributed between the items because the cart actually submits the individual item amount to PayPal (not just the total). So the item amounts need to be updated to reflect the discount.

    FYI - PayPal won't allow you to do a $0 checkout. So just note that if the buyer purchases something that is less than $10 and the coupon makes it $0 doesn't mean that PayPal will let this transaction go through. For $0 checkout you can use the "Manual Checkout" option of eStore.

    Posted 12 months ago #
  7. Nettio
    Member

    Thanks so much! That worked perfectly.

    I do have a question about the Manual Checkout though. If the amount is $0, the cart will automatically redirect to the manual checkout, which is great. But if the amount ends up being a negative number (which happens if the product purchased is less than the $10 off), the cart doesn't redirect anymore. Is there a way to make it redirect for a value that is zero or less? Right now it sends me to a Paypal error page instead.

    Posted 12 months ago #
  8. amin007
    Key Master

    Updated the plugin... get a new build from here and that should work:
    http://support.tipsandtricks-hq.com/update-request

    Posted 12 months ago #
  9. Nettio
    Member

    Oh, thank you so much! I updated the plugin and it now directs to the manual checkout.

    But now I'm having issues with the Redemption Limit. I have the limit set to 1 which I thought would mean it would be one-time use only but it's allowed me to redeem that coupon multiple times. Am I just misunderstanding the Redemption Limit feature? In the Manage Coupons section it's actually showing the Redemption Limit is 1 but Redemption Count is 2? And when I look at that coupon use in the Manage Customers section, there are 5 transactions all using that coupon. These have all best test transactions so it's not a huge deal but I do want to make sure I have this all set up right before actual people start shopping.

    Thanks so much for your help. I really appreciate it!

    Posted 12 months ago #
  10. amin007
    Key Master

    I have a feeling that you didn't do a deactivate and reactivate when you upgraded the plugin and the coupons database structure is out of sync. So after the purchase the coupons table is not getting updated with the usage info.

    Posted 12 months ago #

RSS feed for this topic

12Next »

Reply »

You must log in to post.

Tips and Tricks HQ Forum is proudly powered by bbPress

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin