Developer forum

Forum » Ecommerce - Standard features » Products in groups

Products in groups

Kim Søjborg Pedersen
Reply
On a project I am working on, at the moment a specific need keeps coming up.

Go through some user selected groups, and output the subgroups, but only if the subgroup have products or even better have products where orderstock is > 0

 Is there a way to do that on a template?


Replies

 
Kim Søjborg Pedersen
Reply
Is my question clear?
 
Morten Snedker
Reply
 Hi Kim,

Maybe! :-)  


You wish to pick some product groups, and then you want to render/display all subgroups, but only if the subgroups contain products that have a stock > 0. Correct?

/Snedker

 
Kim Søjborg Pedersen
Reply
 Yes that's correct.
 
Kim Søjborg Pedersen
Reply
 Any news?
 
Kim Søjborg Pedersen
Reply
 Anyone?
 
Morten Snedker
Reply

 Sorry for the delay!

 

The only way to succeed with this one is by custom code. Build a list of groups and evaluate the on-hands for each product in each group, and have this determine whether or not to display the group.


/Snedker

 

 

You must be logged in to post in the forum