Developer forum

Forum » Ecommerce - Standard features » How do I get the quantity of parts list products?

How do I get the quantity of parts list products?

Peter Leleulya
Reply

I have a product of type "Parts list".
I've added child products to the parts list.
I've set quantities for these child products.

So, for example, my parts list product "Package 1" consists of:

  • 1x Product A
  • 2x Product B
  • 3x Product C

When I throw my available template tags and loops on the "Package 1" product detail page I see Loop BOMProducts which deliver me:

  • Product A
  • Product B
  • Product C

But how do I retrieve the quantities? I can't find them anywhere ...

I also see a Loop BOMConfiguratoes, which never gives me output, what is this? Should I be using that?

Thanks in advance!

Peter.

 


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Peter

The number is probably missing from the tag collection. You simply get a list of products in the configuration.

BOMConfigurators loop is when you have Parts Lists where you do not add a product, but add a group. Then it is possible for the user to change the product from the group. See chapter 4.6 in the book: http://developer.dynamicweb.com/documentation/books/dynamicweb-ecommerce-8.aspx

BR Nicolai

 
Peter Leleulya
Reply

The number tag I actually do need when summing the BOM items ...
Can it be added?

 

You must be logged in to post in the forum