Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cart rules - vouchers seen by all customers - is this a feature or a bug?

Featured Replies

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?

  • 3 weeks later...

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....

  • 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.

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?

@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.

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.

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.