WARNING - Deleting Categories and Discount Codes |
Post Reply |
Author | |
ammonihah
Groupie Joined: 18-April-2008 Location: United States Status: Offline Points: 57 |
Post Options
Thanks(0)
Posted: 14-June-2016 at 8:24pm |
I am running v5.1.01a.
Be very careful. If you delete products and a category, and you have any old discount codes that are "auto apply" that were associated with the products or category you deleted, those discount codes will start auto applying to ALL orders that come through your cart. IF YOU DELETE A CATEGORY AND ITS PRODUCTS, MAKE SURE YOU GO DELETE ANY DISCOUNT CODES ASSOCATED WITH THAT CATEGORY OR PRODUCTS. |
|
ProductCart
Admin Group ProductCart Team Joined: 01-October-2003 Status: Offline Points: 135 |
Post Options
Thanks(0)
|
Hi ammonihah,
This is actually the first time that this scenario has been discovered and reported, but we agree that the unintended consequence of deleting all Categories or Products that were previously associated with a Discount Code and subsequently causing the Category or Product filter to no longer be applicable, is a problem! So it has been added to our Product Management system for further review and it will likely be addressed in a future version.
|
|
ammonihah
Groupie Joined: 18-April-2008 Location: United States Status: Offline Points: 57 |
Post Options
Thanks(0)
|
Just to be clear, the reason this is so urgent is that if you applied a discount to a category, and then you delete the category, the discount code gets applied to all products in all categories until the discount codes is deactivated.
Thanks for your quick response to this.
|
|
ProductCart
Admin Group ProductCart Team Joined: 01-October-2003 Status: Offline Points: 135 |
Post Options
Thanks(0)
|
Yes, just to confirm - we understand the implications. Basically, the logic in the software is to check whether the Discount Code entered by a Customer is valid, which includes looking for Product or Category Filters as part of the validation. However, if a Discount Code is set to Automatically Apply, and the Category that was previously assigned to the Code (via a Filter) no longer exists - then the Discount must be applied to any Category, since there is no longer an applicable Filter in place.
Hopefully from a programming standpoint, there will be a minimally invasive way for our developers to alert the merchant to the scenario where a Category (or Product) is associated with a Discount Code when it's deleted. There could be other checks that need to be run as well (e.g. for Products that are made Inactive, etc.), so there's likely more to adding the cross checking than meets the eye.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |