WPIntell

Source evidence

Hide Members Only Products from the loop

iThemes Exchange – Custom Loop Add-on · support · 2016-08-19T05:22:00+00:00

mixedsentiment
highseverity
0.94relevance
4replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

2 / 31 rows with source links

6.5% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

29 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Ihatetomatoes resolved
Hi Ronald, thanks for a great plugin, it works exactly as described. I am using Members Only Products Add-on and have some products hidden from the store page for non-members, but using your custom loop still displays them. Is there a way to inherit the show/hide functionality for non-members set by the Members Only Products Add-on? https://wordpress.org/plugins/membership-product-restrictions-add-on-for-ithemes-exchange/ Thanks again for the awesome plugin. Cheers P. https://wordpress.org/plugins/exchange-addon-custom-loop/ Hi P. that makes sense, and I’ll dig into to this, and let you know when/how/if this is feasible. Thanks Ronald, that would be awesome! Hi P. I did some digging, and there’s no straightforward solution. Omitting items from the page will cause pagination issues, as not all products of the initially selected page of products will be displayed. Alternatively, in stead of omitting these products, a “not available for your membership”-kinda message/image could replace the actual product. This will leave the number of products the same, and will therefor also not break pagination. One consideration I need to be making is that the install base of the Members Only Products addon is pretty small, and the changes I need to be making are fairly big. Thanks for looking into it Ronald. So it’s not just a case of wrapping everything in one extra if statement, checking if the product is available (narrowing down the results) and then rendering the relevant products as you currently do (including current pagination etc.)? You know your plugin better then I, so feel free to ignore my high level suggestion. I will see if I can hack this myself too 🙂

Comments

4 shown
ronaldvw 2016-08-19T22:21:00+00:00

Hi P. that makes sense, and I’ll dig into to this, and let you know when/how/if this is feasible.

Ihatetomatoes 2016-08-20T02:51:00+00:00

Thanks Ronald, that would be awesome!

ronaldvw 2016-08-25T14:56:00+00:00

Hi P. I did some digging, and there’s no straightforward solution. Omitting items from the page will cause pagination issues, as not all products of the initially selected page of products will be displayed. Alternatively, in stead of omitting these products, a “not available for your membership”-kinda message/image could replace the actual product. This will leave the number of products the same, and will therefor also not break pagination. One consideration I need to be making is that the install base of the Members Only Products addon is pretty small, and the changes I need to be making are fairly big.

Ihatetomatoes 2016-08-27T01:45:00+00:00

Thanks for looking into it Ronald. So it’s not just a case of wrapping everything in one extra if statement, checking if the product is available (narrowing down the results) and then rendering the relevant products as you currently do (including current pagination etc.)? You know your plugin better then I, so feel free to ignore my high level suggestion. I will see if I can hack this myself too 🙂