Alvaro Tarela Posted December 27, 2016 Share Posted December 27, 2016 I have a automatically generated voucher (a cart rule without code). I want that the user could delete it from the cart to add another voucher (all vouchers, not compatibles). Problem 1: Automatic generated vouchers haven't the delete icon. Problem 2: If i put the delete icon visible (in the tpl), when you click on it, the cart is recalculated and the voucher apparears again. Where should I touch? I think it's a question of jQuery, but I'm not sure... Link to comment Share on other sites More sharing options...
Knowband Plugins Posted December 27, 2016 Share Posted December 27, 2016 Unfortunately, it is not possible to delete an automatic voucher other than amending the cart. You can create a cart rule with code and enable the highlight setting on that cart rule so that the customers can apply the coupon in a single click. Link to comment Share on other sites More sharing options...
Alvaro Tarela Posted December 27, 2016 Author Share Posted December 27, 2016 I would like to get that behaviour. So somebody knows what controller or JS should I look for? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now