0

is there a way to show a random product using Expresso Store? The product tag seems to require entry_id="{entry_id}"

1 Answer 1

1

You would just need to wrap the product tag in a channel entries tag with orderby="random" and whatever limit you wanted. Something along the lines of:

{exp:channel:entries channel="products" orderby="random" limit="5"}
 {exp:store:product entry_id="{entry_id}"}
  {title}
  You other fields 
 {/exp:store:product}
{/exp:channel:entries}
1
  • Hi Justin, thanks for help, that worked perfectly.
    – Mark
    May 11, 2015 at 11:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.