ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Using ProductCart
  New Posts New Posts RSS Feed - WARNING - Deleting Categories and Discount Codes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

WARNING - Deleting Categories and Discount Codes

 Post Reply Post Reply
Author
Message
ammonihah View Drop Down
Groupie
Groupie


Joined: 18-April-2008
Location: United States
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote ammonihah Quote  Post ReplyReply Direct Link To This Post Topic: WARNING - Deleting Categories and Discount Codes
    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.

AngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngryAngry
Back to Top
ProductCart View Drop Down
Admin Group
Admin Group

ProductCart Team

Joined: 01-October-2003
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote ProductCart Quote  Post ReplyReply Direct Link To This Post Posted: 14-June-2016 at 8:54pm
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.
The ProductCart Team

Home of ProductCart shopping cart software
Back to Top
ammonihah View Drop Down
Groupie
Groupie


Joined: 18-April-2008
Location: United States
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote ammonihah Quote  Post ReplyReply Direct Link To This Post Posted: 15-June-2016 at 10:45am
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.
Back to Top
ProductCart View Drop Down
Admin Group
Admin Group

ProductCart Team

Joined: 01-October-2003
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote ProductCart Quote  Post ReplyReply Direct Link To This Post Posted: 15-June-2016 at 2:30pm
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.
The ProductCart Team

Home of ProductCart shopping cart software
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.064 seconds.