Developer forum

Forum » Ecommerce - Standard features » How can we have site-specific custom-fields on products for a multi-site DynamicWeb solution?

How can we have site-specific custom-fields on products for a multi-site DynamicWeb solution?

Steve Knutson
Reply

Hi Everyone,

We're running multiple eCommerce websites under a single instance of DynamicWeb. Each Site has its own Shop.

We need to implement custom fields for the Products. Some of the custom fields are shared over all Sites/Shops. However, other custom fields need to be Site/Shop specific.

For example, Site1's Products have a field called X, while Site2's Products have a field called Y. When adding a Product in Site1 you don't want to see the field Y showing up as an option.

Each website also has search functionality for the Products using the Repository Queries.

Can anyone suggest the 'best practice' approach to dealing with this situation? Perhaps we need to use Product Categories to apply custom fields on the Groups within a Shop.

Thank you and looking forward to hearing how to tackle this smiley

 


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Steve

Yes, you need to use product categories for this job. Custom fields will be on all products in an installation, no matter where it is.

BR Nicolai

Votes for this answer: 1
 
Steve Knutson
Reply

Hi Nicolai,

Great thanks for your feedback.

We're going to make top-level groups in each shop for all the shared fields of that shop. Then use the custom fields as you say - for global fields.

 

You must be logged in to post in the forum