Developer forum

Forum » Feature requests » Only load BOM products when needed

Only load BOM products when needed

Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi,

 

We have a project that list Parts lists in the product list and we noticed that Dynamicweb always loads the BOM products

https://www.screencast.com/t/9UVndvp5

 

Could we wrap these request around a TagExists so we don't spend time and resources when not needed? I noticed what an instance of the template is not available in this method, so that might be tricker and/or have more implications, so I have to rely on somebody who knows more about this than me :)

 

Best Regards,

Nuno Aguiar


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Nuno

I think it has to because some of the versions of the BOM products have a price that is a sum of the BOM product prices...

So there is no quickfix for it - that would be not to load BOM products for parts lists that have a type of price that is not calculated.

An alternative is to use regular products and use a related group for the parts. that messes up the cart though.

BR Nicolai

Votes for this answer: 1
 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Nicolai,

 

Got it. That makes sense then. I may be even able to use the Query Publisher instead.

 

Best Regards,

Nuno Aguiar