单个域上的多个 magento 商店

发布于 2024-10-05 11:09:11 字数 508 浏览 1 评论 0原文

我正在建立一个拥有零售店和批发店的网站。每个产品的产品都不同,因此这不仅仅是针对用户类型调整定价的问题。我需要对批发部分进行密码保护,以便仅对登录用户可用。我正在使用一个模块来实现此目的,但它仅适用于商店级别,因此需要两个商店而不仅仅是单独的类别。

我的目录结构如下:

www.mysite.com - 当前 CMS 页面和博客等的 wordpress 安装 www.mysite.com/store - magento 安装

我想要 www.mysite.com/store/retail & www.mysite.com/store/wholesale 为两家商店。

所以我的问题是——首先,这听起来像是正确的是实现这一目标的合理方法吗?

其次 - 仍在尝试了解网站/商店/视图系统,但我是否正确,因为我需要一个网站,以及两个商店,每个商店都有一个视图。有谁知道进行此类设置的好教程,我找到了一些,但大多数都是用于为同一安装设置不同的域。

感谢您的任何建议。

I'm setting up a website that has a retail store and a wholesalers store. The products in each are different so its not just a matter of adjusting pricing for user types. I need to have the wholesale section password protected so its only available to logged in users. I'm using a module to achieve this but it only works at a store level hence the need for two stores rather than just separate categories.

My directory structure is as follows:

www.mysite.com - wordpress install for current CMS pages and blog etc
www.mysite.com/store - magento install

I want www.mysite.com/store/retail & www.mysite.com/store/wholesale as the two shops.

So my question - firstly does this sound like the right a reasonable approach to achieve this.

Secondly - still trying to get my head around the website/store/view system but am I correct in that I need the one website, and two stores with a view for each. Does anyone know of a good tutorial for doing this sort of setup, I've found a few but mostly they're for setting up different domains to the same install.

Thanks for any advise.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

九厘米的零° 2024-10-12 11:09:11

最简单(也是最常用)的方法是为这两家商店提供商店代码“零售”和“批发”。这是在管理菜单系统>中完成的管理商店

然后,在系统>中配置>网页> URL 选项,将将商店代码添加到 URL 更改为“是”。

由于这两家商店有不同的产品,而且可能也有不同的客户,因此将它们放在两个不同的网站上更有意义。尽管它们在系统>中被称为“网站”。管理商店他们不必有不同的域。它仍然可以完美地工作。

The simplest way (and most used) is to give the two stores the store codes "retail" and "wholesale". This is done in the admin menu System > Manage Stores.

Then, in System > Configuration > Web > URL Options, change Add Store Code to URLs to "Yes".

Since the two stores have separate products, and probably separate customers too then it makes more sense to have them on two separate websites too. Even though they are called "websites" in System > Manage Stores they do not have to have different domains. It will still work perfectly well.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文