WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Bakery Shop => Topic started by: CodeALot on September 20, 2016, 10:16:17 AM

Title: Suggestion for Bakery Anyitems
Post by: CodeALot on September 20, 2016, 10:16:17 AM
As the snippet works now, Anyitems will only pick Bakery items from a specific sectionID.
I would like to be able to provide an array of sectionID's where Anyitems has to look for Bakery items.

So instead of

Code: [Select]
display_any_items(67, 3, 3);
Something like

Code: [Select]
display_any_items(array(67,68,69), 3, 3);
(Reason for this is a multilingual site with 3 Bakery-pages in one language, and 3 in a different language. I would like AnyItems to pick items from only the 3 pages of the selected language)
 
Just a suggestion, would be nice. :-)
Title: Re: Suggestion for Bakery Anyitems
Post by: Gast on September 20, 2016, 11:08:23 AM
 (Y) (Y)