December 4, 20178 yr I found out today that when a customer visits "Home> My account>My vouchers", the customer can see ALL cart rules ever created that match the customer group. This does not seem right to me because it prevents any selective distribution of vouchers. For example, if I want a voucher to be valid for all customer groups, but I want to distribute it only to people on Facebook, this feature/bug prevents that. Not only will the intended recipients on Facebook see the voucher when I post it there on my Facebook page, any customer who visits their account and clicks on "My vouchers" will see it, regardless of whether they use Facebook or not. Is this a bug or a feature? If it is a feature, is there any way to prevent all vouchers from being shown in this way?
December 23, 20178 yr I would set Highlight in the voucher to NO, and then distribute on Facebook the Voucher code, they will then have to copy and paste, or write it down to use it later on your site. It won't show on your site for anyone, but will be active when they type it in....
December 23, 20178 yr Author Actually, I do have Highlight to NO. The voucher is not shown in the cart, but it is in “Home> My account>My vouchers”. The customer can see ALL cart rules ever created that match the customer group there.
December 23, 20178 yr Ok I got it to do that. If I don't have Customer group selection then it doesn't show it . You're trying to set it up so only certain groups can use it eh?
December 23, 20178 yr @30knees said in Cart rules - vouchers seen by all customers - is this a feature or a bug?: Actually, I do have Highlight to NO. The voucher is not shown in the cart, but it is in “Home> My account>My vouchers”. The customer can see ALL cart rules ever created that match the customer group there. That seems like a bug to me, not a feature. If Highlight is not selected, it shouldn't show it.
December 23, 20178 yr Author @slick_303 said in Cart rules - vouchers seen by all customers - is this a feature or a bug?: That seems like a bug to me, not a feature. If Highlight is not selected, it shouldn't show it. Thanks for confirming! I'll post in the bug reports.
December 24, 20178 yr I figured out a solution, it's ok not great, but it works. Open your themes discount.tpl file. find.. <tbody> {foreach from=$cart_rules item=discountDetail name=myLoop} Directly AFTER, on a new line add.. {if $discountDetail.highlight == 1} Now find.. {/foreach} </tbody> BEFORE on a new line add.. {/if} Now on your voucher turn off highlight. Now it will not show the voucher in the cart, or in the My Vouchers page.
December 24, 20178 yr Now if you did my changes, undo them, and run with @mdekker s fix, https://forum.thirtybees.com/topic/1251/cart-rules-vouchers-seen-by-all-customers/5
Create an account or sign in to comment