Developer forum

Forum » Swift » DW10 SWIFT 2 - How to Display BOM/Bundled Product Items on the Product Detail Page

DW10 SWIFT 2 - How to Display BOM/Bundled Product Items on the Product Detail Page

Ferri Halfhide
Reply

Hi team,

I’ve been experimenting with BOM/Bundled products and have a question about setting this up in a Swift 2 environment.
I’m wondering — how can I create a detail page that lists all the different items that belong to a specific bundled product?
Is there already a template in Swift v2 available for this, or do I need to add some custom changes myself?

Hopefully someone can point me in the right direction.

Thank you!


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi

When you setup the product detail page with components in visual editor, there is a BOM component you can insert - it is a paragraph with a specific item type for it. The template is here: https://github.com/dynamicweb/Swift/blob/main/Files/Templates/Designs/Swift-v2/Paragraph/Swift-v2_ProductBom.cshtml

To list the items, you would need to create a list component page for your items in the BOM and choose that component on the product detail page.

BR Nicolai

Votes for this answer: 1

 

You must be logged in to post in the forum