Developer forum

Forum » Templates » Combined products

Combined products

Per Ljung
Reply

Hi!

Is it possible to have products that consists of a pack of other products, eg. if you buy a computer as a package you get processor, motherboard, screen, keyboard etc where every part has its own article number, but when you order the main article you get all these parts.

Which template tags are used?

Best regards,
P

Replies

 
Morten Bengtson
Reply

Hi Per,

You need to use the module Parts Lists (extended)...
- http://manual.dynamicweb-cms.com/Dynamicweb-eCommerce/Modules/Parts-Lists.aspx
- http://manual.dynamicweb-cms.com/Dynamicweb-eCommerce/Modules/Parts-Lists,-Extended.aspx
 

You can then create a new product, e.g. "PC", where you select the type "Parts List" and add groups of products for each configurable part. Adding a "Motherboard" product group enables the customer to select one of those motherboards when they configure the PC. Make sure you select the correct price calculation method (dropdown on the product edit page).
 

In your product template you can use the BOMConfigurators loop inside the add-to-cart form...
- http://templates.dynamicweb-cms.com/eCommerce/Dynamicweb-eCommerce-template-tags/Product-Catalog/Product-detail/Loops/BOMConfigurators.aspx
 

In your cart template you can use the BOMitems loop to display the selected options (products) - You can see how it is done in the default template, ShowCart.html
- http://templates.dynamicweb-cms.com/eCommerce/Dynamicweb-eCommerce-template-tags/Shopping-Cart-V2/Order/Cart/Loops/Orderlines/Loops/BOMItems.aspx



/Morten
 

 
Per Ljung
Reply

Hi Per,

You need to use the module Parts Lists (extended)...
- http://manual.dynamicweb-cms.com/Dynamicweb-eCommerce/Modules/Parts-Lists.aspx
- http://manual.dynamicweb-cms.com/Dynamicweb-eCommerce/Modules/Parts-Lists,-Extended.aspx
 

You can then create a new product, e.g. "PC", where you select the type "Parts List" and add groups of products for each configurable part. Adding a "Motherboard" product group enables the customer to select one of those motherboards when they configure the PC. Make sure you select the correct price calculation method (dropdown on the product edit page).
 

In your product template you can use the BOMConfigurators loop inside the add-to-cart form...
- http://templates.dynamicweb-cms.com/eCommerce/Dynamicweb-eCommerce-template-tags/Product-Catalog/Product-detail/Loops/BOMConfigurators.aspx
 

In your cart template you can use the BOMitems loop to display the selected options (products) - You can see how it is done in the default template, ShowCart.html
- http://templates.dynamicweb-cms.com/eCommerce/Dynamicweb-eCommerce-template-tags/Shopping-Cart-V2/Order/Cart/Loops/Orderlines/Loops/BOMItems.aspx



/Morten
 

Hi!

Is it only possible to display the parts list in the shopping cart? What if you want to display the parts list on an ordinary product page?

Best regards,

 
Per Ljung
Reply

Hi Per,

You need to use the module Parts Lists (extended)...
- http://manual.dynamicweb-cms.com/Dynamicweb-eCommerce/Modules/Parts-Lists.aspx
- http://manual.dynamicweb-cms.com/Dynamicweb-eCommerce/Modules/Parts-Lists,-Extended.aspx
 

You can then create a new product, e.g. "PC", where you select the type "Parts List" and add groups of products for each configurable part. Adding a "Motherboard" product group enables the customer to select one of those motherboards when they configure the PC. Make sure you select the correct price calculation method (dropdown on the product edit page).
 

In your product template you can use the BOMConfigurators loop inside the add-to-cart form...
- http://templates.dynamicweb-cms.com/eCommerce/Dynamicweb-eCommerce-template-tags/Product-Catalog/Product-detail/Loops/BOMConfigurators.aspx
 

In your cart template you can use the BOMitems loop to display the selected options (products) - You can see how it is done in the default template, ShowCart.html
- http://templates.dynamicweb-cms.com/eCommerce/Dynamicweb-eCommerce-template-tags/Shopping-Cart-V2/Order/Cart/Loops/Orderlines/Loops/BOMItems.aspx



/Morten
 

Hi!

Is it only possible to display the parts list in the shopping cart? What if you want to display the parts list on an ordinary product page?

Best regards,



Sorry, didn't see your link to the product catalog.

/Per

 

 
Per Ljung
Reply

By the way, do you know how this works with the NAV module? We are creating the combined products in NAV.

Best regards,
Per

 

You must be logged in to post in the forum