How to suppress sites from shop picker?

I have a multisite install with FrameMarket and MarketPress installed.

However some of the sites will only use global shortcodes to pull products into the site context. These sites have the "Buy Now" button that takes the visitor to the other site that has the cart for that product.

The problem I am seeing is that the Shop Picker appears to be displaying ALL the sites - not just the ones with stores.

I am not sure if it is relevant, but I do have FrameMarket and MarketPress enabled as Network Plugins.

Is there a way to suppress sites from showing up in the shop picker?


    • Site Builder, Child of Zeus

    Thanks for the link.

    That looks like it could get quite involved (and would have to be constantly modified as sites are added) to create a filter there.

    I really don't want to get into hacking the templates on a day to day basis as I add new sites.

    What would REALLY be useful would be if the store settings (for each site) had a simple "Include this site in the shop pick list" checkbox.

    Or even better yet an option to create different shop lists and add sites to them at the site level.

    But the checkbox would do and I think that would be a lot easier for you guys to implement than it would for me.

    Then a single statement on line 4 of marketpress.php would include the checked sites.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.