qpar Posted August 5, 2016 Share Posted August 5, 2016 I would like to print physical one time use coupons. When I enter the info in the cart rule, the code shows for all to use (i don't have customer name). I was wondering if it's possible to remove the links to "my vouchers" Or is there a module that can do this. Thanks Link to comment Share on other sites More sharing options...
shokinro Posted August 5, 2016 Share Posted August 5, 2016 it seems a bug of PrewtaShop. Please see below links Look the bug report: http://forge.prestas...owse/PSCSX-8163 and also: http://forge.prestas...owse/PSCSX-8172 Link to comment Share on other sites More sharing options...
qpar Posted August 13, 2016 Author Share Posted August 13, 2016 Thanks for the reply. Is there a known work around, or module to fix this. Or can I delete the entire voucher module. Link to comment Share on other sites More sharing options...
shokinro Posted August 13, 2016 Share Posted August 13, 2016 if you check the 2nd link, it also provided a temporary solution (workaround) Change line in file /controllers/front/DiscountController.php $cart_rules = CartRule::getCustomerCartRules($this->context->language->id, $this->context->customer->id, true, true, true); to: $cart_rules = CartRule::getCustomerCartRules($this->context->language->id, $this->context->customer->id, true, false, true); Link to comment Share on other sites More sharing options...
qpar Posted August 14, 2016 Author Share Posted August 14, 2016 Thank you so much. Didn't see the work around. It worked perfectly. THANK YOU Link to comment Share on other sites More sharing options...
shokinro Posted August 14, 2016 Share Posted August 14, 2016 I am glad it worked, thanks for feedback. I am glad it worked, thanks for feedback. 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