简体   繁体   English

WordPress多站点结合WooCommerce

[英]WordPress multi-site combined with WooCommerce

I will go in to the subject right after giving an example what this is about: Maybe some of you are familiar with the Magento multi store solution. 在给出示例说明之后,我将继续讨论该主题:也许有些人熟悉Magento的多商店解决方案。 It let's you manage multiple stores (whether on the same domain using subdomains, or using different domains). 它使您可以管理多个商店(无论是在同一域中使用子域,还是在不同域中)。 Using multilpe stores, each store gets data from the same database. 使用多存储,每个存储都从同一个数据库获取数据。 This makes it easy to control inventory in one central DB even when you sell the same article on multiple sites/stores. 这样,即使您在多个站点/商店出售同一商品,也可以轻松控制一个中央数据库中的库存。

WordPress released a multi-site possibility a while ago and WooCommerce can also be used in this setup. WordPress不久前发布了多站点的可能性,并且WooCommerce也可以在此设置中使用。 The problem here is that each site is an individual and new instance of a WordPress installation where you need to install themes, plugins and create a new products database from scratch. 这里的问题是,每个站点都是WordPress安装的单独实例和新实例,您需要在其中安装主题,插件并从头开始创建新产品数据库。 Because of this, there is no central products database and selling the same products over multiple stores gives problems with stock management. 因此,没有中央产品数据库,并且在多个商店中销售相同产品会导致库存管理出现问题。 Also, I am not sure if you can use multi-site over multiple domains instead of only subdomains. 另外,我不确定是否可以在多个域而不是仅子域上使用多站点。

Do you guys have any experience with this or solving these problems? 你们对此有任何经验或解决了这些问题吗?

You don't have to reinstall themes and plugins for each site. 您不必为每个站点重新安装主题和插件。 Just activate across the network or activate on a site by site basis. 只需通过网络激活或在每个站点的基础上激活即可。 The point of multisite is to share an installation. 多点的是共享的安装。 All the files are shared. 所有文件都共享。 The database is somewhat sharded, but they all live together so you can make cross site or global queries. 数据库有些分片,但它们都在一起,因此您可以进行跨站点或全局查询。

Multisite most definitely can be used with multiple domains . 多站点绝对可以与多个域一起使用。 To make things easier you can use a plugin like WPMU Dev's Domain Mapper 为了使事情变得简单,您可以使用WPMU Dev的Domain Mapper之类的插件

As for having a centralized store for all the sites. 至于所有站点的集中存储。 Looks like this plugin will do what you want: https://woomultistore.com/ (Or this one . Or this ) 看起来这个插件可以完成您想要的事情: https : //woomultistore.com/ (或者这个 。或者这个


Honestly this stuff isn't hard to find. 老实说,这些东西并不难找到。 Just research and experiment. 只是研究和实验。 You should find a good combination that will accomplish your goals pretty quickly. 您应该找到一个很好的组合,可以很快实现目标。 Maybe a little custom coding. 也许一些自定义编码。 If it doesn't exist, then make it! 如果不存在,那就做吧! You can sell it on CodeCanyon or similar or just give it to the community as a repayment for all the free plugins they gave to you. 您可以在CodeCanyon或类似产品上出售它,也可以将其赠送给社区,以偿还他们提供给您的所有免费插件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM