Somewhere along the way with the YITH Role Based Prices plugin, a client of ours had a sudden complete loss of all their specialized discounts. An update of the YITH Role Based Prices caused all the settingss for the dicount rules to completely dissapear. Specifcally, the discount rules were created for specific product categories based on user role. Both the applied user roles and the product categories were missing after the plugin update.
Contacting the YITH support team did bring somewhat of a resolution to the problem. The support agent was able to the restore the data using a custom script. However, the pricing rules still were not applying any discounts on the front end of the website. Several rounds of troubleshooting eventually lead to discovering a solution: disabling and enabling each rule.
The simple yet effective restart restored the display of the rules on the front of the site and everything worked as normal. This whole scenario points toward a poorly coded database table migration along with a lack of a communication from YITH on a major plugin update.
Leave a Reply