Jump to content

Vouchers


qpar

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...