Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Show products overview on another multisite blog (without WooCommerce activated)

$
0
0

Replies: 0

Howdy, I’ve setup a WordPress MultiSite network. On the main site / blog I’ve general info about our club. On the first subsite (blog_id = 2) we’ve our WooCommerce shop for some club merchandise.

Is there a way I can show all ‘in stock’ products on the main site (blog_id = 1) so I can click there to be redirected to the product page within the shop?

Preferably by using the build-in WooCommerce shortcodes and by not having to activate the WooCommerce plugin on the main site (I don’t want all those extra db tables and menu items).

Is this possible with a custom shortcode in the main site with the use of switch_to_blog() and a do_shortcode() that calls for a build-in WC shortcode?

If so, do I need to load the WooCommerce functions somehow?


Viewing all articles
Browse latest Browse all 59525

Trending Articles