I see in the theme documentation for the etheme_products shortcode the following:
“[etheme_products title=” ” ids=”” skus=”” type=” ” products=” ” limit=” ” columns=” ” categories=”” desktop=”” notebook=”” tablet=”” phones=””] displays products. Depending on attributes displays products as slider or grid. Awailable attributes: title — title for products;
ids — display products by id;
skus — display products by sku;
type — set type of products view (allowed values: grid, slider);
products — specify what products you want to display (allowed values: featured, new, sale, bestsellings);
columns — controls how many columns wide the products should be before wrapping (allowed values:3, 4, 5). For grid type only!
limit — sets products quantity;
categories — displays products from specific category by category id.
desktop — sets products quantity per row in the slider for desktop version For slider type only!;
notebook — sets products quantity per row in the slider for notebook. For slider type only!
tablet — sets products quantity per row in the slider for tablet. For slider type only!;
phones — sets products quantity per row in the slider for phones. For slider type only!.”
I see it’s very similar to the wordpress gallery shortcode, however I cannot order the products in various manners (by ID, DESC, ASC etc). How can I do that? If it’s not already present in the theme code, can you please implement it in the future?
It’s very important for campaing pages, the same products may be part of different promotional campaigns, and I really need to have them in a different order on the page.
Same problem here. My code is [etheme_products type="slider" style="default" categories="51,27"]
and I want that category 51 comes first and is followed by category 27. But it mixes the products. I tried to change my code to [etheme_products type="slider" style="default" categories="51,27" orderby="title" order="desc"] but no change. Any idea how to define the order? Please note that my site is still on localhost…
Many thanks in advance!