Developer forum

Forum » Ecommerce - Standard features » Guest checkout for some items

Guest checkout for some items

Sameera Wijeratna
Reply

Hi,

In Dynamicweb 10, Is there anyway to enable guest checkout only for some specific product group ?

Thanks

Sam


Replies

 
Lisa Bach Jensen Dynamicweb Employee
Lisa Bach Jensen
Reply

Hi Sameera,

if you mean to restrict which products or product groups are available to see (and thereby purchase) for anonymous users, you can enable and use Customer Assortments.
https://doc.dynamicweb.dev/manual/dynamicweb10/products/customerassortments.html?q=assortments

As a minimum, you will need two assortments: one assigned to your logged-in user groups that includes the full shop/channel, and one with Anonymous enabled that includes only the specific product groups anonymous users should be able to see.

If using the index, you need to make sure that you have the expressions set in your product query:
https://doc.dynamicweb.dev/documentation/implementing/repositories/queries/index.html?q=index%20assortment#customer-assortments

 

You must be logged in to post in the forum