spott Posted June 22, 2016 Share Posted June 22, 2016 Hi I discovered problem in my store. Users can see all generated vouchers under My Vouchers page, where user is not defined in voucher. How I can disable it? I am generating some vouchers for campaigns or I am adding them to Facebook posts etc. These vouchers are generated for general purpose and so there is no user defined. But I don't want that all users can see these vouchers in their account. I want that only users who see this voucher code in some post or getting e-mail knowing that. 1 Link to comment Share on other sites More sharing options...
spott Posted June 22, 2016 Author Share Posted June 22, 2016 EDIT: It seems that there is bug in PrestaShop. I made fresh install and the same thing. So I fill the bug report: http://forge.prestashop.com/browse/PSCSX-8163 Link to comment Share on other sites More sharing options...
rocky Posted June 22, 2016 Share Posted June 22, 2016 I think this is by design. It's meant to make it easier for customers to find vouchers they are eligible to use. The page displays vouchers that are only for that customer and vouchers available for all customers. Link to comment Share on other sites More sharing options...
shokinro Posted June 22, 2016 Share Posted June 22, 2016 By default all voucher is visible to all customers, unless you specifically limit to a specific customer or customer groups at "Conditions" tab. So like rocky said it is by design. Link to comment Share on other sites More sharing options...
spott Posted July 7, 2016 Author Share Posted July 7, 2016 Its nonsense! When You want to add some promotional voucher what You send out by e-mail - You want that only these who open Your e-mail knowing this vaucher. Also official documentation says: Your voucher will appear in the "Cart Rules" page, under the "Price rules" menu. You can delete or edit it at any time. If the voucher was set to a specific group or customer, then it will appear in the front office, in the customer's "Vouchers" section of his account as well as in the cart (if you chose to), where they can choose which one to apply to their order. http://doc.prestashop.com/display/PS16/Cart+Rules 1 Link to comment Share on other sites More sharing options...
musicmaster Posted July 7, 2016 Share Posted July 7, 2016 Can you share the settings of your cart rules? Link to comment Share on other sites More sharing options...
spott Posted July 8, 2016 Author Share Posted July 8, 2016 Look the bug report: http://forge.prestashop.com/browse/PSCSX-8163 and also: http://forge.prestashop.com/browse/PSCSX-8172 Link to comment Share on other sites More sharing options...
nathanielleee Posted August 2, 2016 Share Posted August 2, 2016 Im now having this same problem after upgrading to 1.6.1.6. Anyone figured out how to fix it? Link to comment Share on other sites More sharing options...
rocky Posted August 3, 2016 Share Posted August 3, 2016 There is temporary solution on the forge that says to change line 42 of controllers/front/DiscountController.php from: $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); 1 Link to comment Share on other sites More sharing options...
LBPC Posted August 18, 2016 Share Posted August 18, 2016 There is temporary solution on the forge that says to change line 42 of controllers/front/DiscountController.php from: $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); Anyone tried this? Link to comment Share on other sites More sharing options...
shokinro Posted August 18, 2016 Share Posted August 18, 2016 it should be working, used by other members with same issue reported in different topics. 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