Developer forum

Forum » Ecommerce - Standard features » Problem with display product discount only for anonymous user

Problem with display product discount only for anonymous user

Pamela Šokčević
Reply

Hi,

I need help with settings on discount for anonymous users.

We need to set up discount on the web to display only for anonymous user (not log in) and users in B2C user group.

I set up that product discount display only for anonymous users and for users in B2C group.

But when I setup that, discount, do not display if I am not logging in web (do not display the discount for anonymous user)

And if I remove  B2C user group and only leave to display for anonymous user, discount will be shown for all users on the web shop (users with login and users without login).

Does anybody have some idea how to solve this or how to make that discount shows only for anonymous user on webshop?


Replies

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Pamela,

 

That's because the rules are cumulative (uses AND). So when you have both active, what you're really saying is that the discount is only valid if the user belongs to the B2C user group AND is Anonymous, which is contradictory.

 

So if you want to have both conditions apply, simply set 2 discounts that are exactly the same, except for this part.

 

And I am assuming that you have other user groups where you don't want to apply the discount, otherwise you could simply leave it empty and it would work for all users (logged in or anonymous). And if you do have other user groups (i.e. B2B), as long as there's another discount, that's actually bigger, you can still have it, since you can configure to only display the highest discount and/or to stop looking for more discounts if it finds the other one first.

 

Best Regards,

Nuno Aguiar

 
Pamela Šokčević
Reply

Hi Nuno,

Yes, I have B2B group of users.

I setup like you suggest.

I created two separate discounts, one of B2C group of users and one for anonymous users.

Discount for  B2C group users works fine, but discount for anonymous user does not work like it should.
I set up to apply discount to anonymous users, but it shows on users from B2B group (Login users).

Is there some more setup to show and apply the discount only for anonymous users or some other solution?

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply
This post has been marked as an answer

Hi Pamela,

 

What version are you using. I know there was a Bug about it #15959, but it was fixed in both 9.15.15 and 9.16.2

Votes for this answer: 1
 
Pamela Šokčević
Reply

Hi Nuno,

Ok, that is then a problem. I am using  9.15.1.

We will try to upgrade to version 9.16.2

Thank you for the information.

 

You must be logged in to post in the forum