Print Page | Close Window

WARNING - Deleting Categories and Discount Codes

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=6083
Printed Date: 03-May-2024 at 1:28am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: WARNING - Deleting Categories and Discount Codes
Posted By: ammonihah
Subject: WARNING - Deleting Categories and Discount Codes
Date 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



Replies:
Posted By: ProductCart
Date 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 http://www.productcart.com" rel="nofollow - shopping cart software


Posted By: ammonihah
Date 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.


Posted By: ProductCart
Date 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 http://www.productcart.com" rel="nofollow - shopping cart software



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net