JayGee Posted June 8, 2020 Share Posted June 8, 2020 Is there a method or a selector for including unpublished items when outputting from a repeater field? Link to comment Share on other sites More sharing options...
horst Posted June 8, 2020 Share Posted June 8, 2020 include=all ? Link to comment Share on other sites More sharing options...
JayGee Posted June 8, 2020 Author Share Posted June 8, 2020 9 minutes ago, horst said: include=all ? I did try this and couldn't make it work - wasn't sure if something special about repeaters? Just want to call this repeater and include the all of them even if hidden/unpublished. $store->products->sort('title'); I did also try: $pages->find("template=repeater_products,sort=title,include=all"); but nada ? 1 Link to comment Share on other sites More sharing options...
adrian Posted June 9, 2020 Share Posted June 9, 2020 This works for me: $store->getUnformatted('products'); 3 3 Link to comment Share on other sites More sharing options...
JayGee Posted June 9, 2020 Author Share Posted June 9, 2020 5 hours ago, adrian said: This works for me: $store->getUnformatted('products'); Amazing thank you! Works like a charm. ? Link to comment Share on other sites More sharing options...
psy Posted August 16 Share Posted August 16 On 6/9/2020 at 12:53 PM, adrian said: $store->getUnformatted('products'); Perfect! Thank you ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now