Global product discounts not working correctly in gold

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Global product discounts not working correctly in gold

Post by compunerdy » Mon Oct 19, 2015 3:25 pm

If a customer with a global discount (applies to all products) purchases a product that is assigned to non global discount for another user then the global discounts do not work unless you go to that products page and click the check mark next to the global discount. Products that do not have any discounts checked on the discount tab including global ones have the global discount applied correctly. I cannot post screen shots due to confidential discounts but if someone from able wants to I can walk them through it on my site.

Same thing happens if you give a specific user a discount to all products in a category then all of those products no longer work with global discounts for other customers.

Also if you have a discount that is set to apply to only selected groups but do not have a group selected it will apply to all groups. Big issue if you remove a group and do not realize it was the only group selected.

User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Re: Global product discounts not working correctly in gold

Post by compunerdy » Tue Oct 20, 2015 8:10 am

All of these discounts worked correctly in 7.0.7

I found this thread where someone asked a similar question viewtopic.php?f=65&t=17101&hilit=group+discounts

In there Logans response does not make sense to me.

<<<<<<<<Quoted from above link>>>>>>>>>>>>>>>
If I have a specific product discount of say 10% on a product X and this is applied to users in group Y, i am finding that a global (5%) discount for group Z is not being applied when group Z members purchase product X. is this the intended behaviour? if so how would i give group Z a global discount?

You will have to apply the 5% discount for group Z to product X. The discount logic works from most specific to least specific:

Is/are there product level discount(s)?
Yes: Am I eligible for any of them?
No: Continue

Is/are there category level discount(s)?
Yes: Am I eligible for any of them?
No: Continue

Is/are there global discount(s)?
Yes: Am I eligible for any of them?

At any level if discounts exist, we examine whether the user is eligible but do not continue seeking discounts at more general levels.
Group Z has a 5% global discount. So we come to the first check at the product level. Since group Z is not group Y the product level discount does not apply to them so it should continue. Then it would go to category level discount and the check is no again. It should finally do the global check and apply the 5% global discount. This is not how it is working. The system sees the product level discount and even though it does not apply to this customer it stops checking and applies no discount. I will say again this is NOT how it worked in 7.0.7

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Global product discounts not working correctly in gold

Post by Katie » Tue Oct 20, 2015 9:17 am

I'm not following what the issue is, so can you give one example of how your discounts are setup and how it isn't working. I wanted to test in my own R11 install because I need to make sure this is not related to upgraded data.

So please list how you have your global discount setup. I assume that it is assigned to one or more groups. This is simple enough. What exactly is the problem that is happening?

Just an FYI. We have recently done massive testing with Discounts in Gold and a detailed code comparison was done with version 7. This feels like a problem with over-lapping discounts, but I need to work through the issues one at a time in order to find any problems.
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Re: Global product discounts not working correctly in gold

Post by compunerdy » Tue Oct 20, 2015 9:48 am

This will probably be way easier for you to test with a clean install.. let me know how this works.

Give a customer/user group a 10% global discount. It is global so every product in the store will be 10% off for that customer.

Now give a different customer/user group a 15% discount on a single item.

The first group will no longer get a 10% discount or any discount on the item you set at 15% off for the second group. The only work around I saw was to go to that product page and assign the global discount to it by checking the "attach" check box which by default all products should be assigned to all global discounts.

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Global product discounts not working correctly in gold

Post by Katie » Tue Oct 20, 2015 10:01 am

Thank you. This will be easy to test. I am super busy right now, but I will try to get it tested today.

Katie
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Global product discounts not working correctly in gold

Post by Katie » Tue Oct 20, 2015 11:32 am

I confirmed this is a bug in Gold R11. I will make a report to our dev team, but it might take a few days before a patch can be produced and tested.

Since you have found a work-around, I was going to suggest that you go ahead and apply the global discount to each product. To make this go quickly, there is a "Find & Assign" section on the Add/Edit Discount page where you can apply the discount to specific categories or products. It is a search form. Select all products for the search results. Then, at the top of the left-column, there is a checkbox which allows you to select all results. At the bottom of this page, use the option "Assign Selected Products" and click GO.

This way, you can assign the global discount to all products in a few clicks. After the patch is in place, you can reverse the procedure.

I tested and it looks like this will work as a temporary fix.

Thanks for letting us know.

Katie
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

Post Reply