Developer forum

Forum » Ecommerce - Standard features » User-specific assortment

User-specific assortment

Kurt Moskjær Andersen
Kurt Moskjær Andersen
Reply

Hi,

On a DW9-solution, we use different assortments related to usergroups.

Now we have received a request, to only show a specific produkt to a specific user, but not to the usergroup she is a member of.

My first thought was to make a new assortment only for her, which would be a copy of the assortment for the current usergroup plus the specific product. Afterwards I would remove her from the current usergroup, before adding her to this new assortment.

How do I remove the product in question from the usergroups assortment, to prevent the other users to see it and order it? If I remove it manually from the assortment, it would be included again, when the assortment is rebuild (every day)?

--
Best regards
Kurt Moskjaer Andersen


Replies

 
Nicolai Pedersen
Reply

Hi Kurt

When you create an assortment, you create a list of product groups and products that are part of that assortment. So you just make sure the product is not part of the assortment that are tied to the usergroup, but only the assortment she is user of.

You can also create 2 assortments, and in assortment 2, you only have 1 product and this one user - and she is still member of the other assortment. Then she should get the products from both assortments.

Nicolai

 
Kurt Moskjær Andersen
Kurt Moskjær Andersen
Reply

Hi Nicolai,

Just to make sure I understand you correctly, if I have to make sure the product is not a part of the assortment, I have to add every product to the assortment tied to the usergroup, except the specific product? This means that I cannot use the functionality to add a whole productgroup?

Sometimes I would be nice to be able to make exceptions, when adding a whole productgroup, to prevent adding new products to the assortment tied to the usergroup, when new products are created in Ecommerce.

--
Best regards
Kurt Moskjaer Andersen

 
Nicolai Pedersen
Reply

So you have a group of 3 products, and create 2 assortments. One assortment includes the entire group and one includes the group but has an exception of 1 product?

 

 
Kurt Moskjær Andersen
Kurt Moskjær Andersen
Reply

Yes, that's correct

/Kurt

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

Hi Kurt,

 

For a customer that needed something like this, we created a custom product field called "Proprietary Code", and assigned the UserID (or CustomerNumber) to it. Then in the Query we showed all products where the Proprietary Code was empty (meaning public) or where the "Proprietary Code" was Equal to the Customer Number.

 

That prevented us from creating assortments for each user. Maybe it can work for you too.

 

Best Regards,

Nuno Aguiar

Votes for this answer: 1
 
Kurt Moskjær Andersen
Kurt Moskjær Andersen
Reply

Hi Nuno,

Thank you for your answer. I will look into it as a possible solution.

--
Best regards
Kurt

 

You must be logged in to post in the forum