I setup a coupon that is only valid on a certain product variant. If I add the variant to the basket, then apply the coupon, then edit the basket to a variant that is NOT eligible for the coupon there is an error being thrown in the edit basket modal starting with: Miva Merchant returned an invalid response. Function: Runtime_BasketItem_Update Response:
Announcement
Collapse
No announcement yet.
Error Using Coupon and Edit Basket
Collapse
X
-
afiumano It sounds like there are some customizations to the BASK page that could be causing this issue. Is the Runtime_BasketItem_Update function running on the BASK page? Can you DM/email me the URL of the store with the issue and I can take a deeper dive.Nicholas Adkins
Technical Training Specialist / Miva, Inc.
[email protected]
https://www.miva.com/mivalearn
-
afiumano We have reported this issue as a bug in the software and have it slated to be updated after the 10.08 release. Here is a descript of the bug:
The runtime JSON functions that discounts a basket or modifies basket items eventually calls the price group runtime function Runtime_Discount_Basket. This function calls Runtime_Discount_Basket_LowLevel which handles all of the discounting logic. However, Runtime_Discount_Basket_LowLevel issues a UIException when a coupon is removed. The UI exception renders a template (this cannot be stopped) and the template is ultimately output with the JSON response.
Nicholas Adkins
Technical Training Specialist / Miva, Inc.
[email protected]
https://www.miva.com/mivalearn
Comment
Comment