Magento - 多网站、多货币
我有一个将美元设置为基础货币的网站。该域有一个主页 (index.php),客户可以在其中单击/选择男士或女士产品。然后,它们将被转发到:www.domain.com/men 或 www.domain.com/women。当客户结帐时,通过 PayPal 以美元处理付款。
我的客户现在要求我允许用户能够 使用 CDN 货币结账。
这就是我到目前为止所做的......
在 Magento 管理面板中:
1)为男性和女性创建了 2 个新的产品类别,用于 CDN 购买: Men-Cdn / Women-Cdn(某些产品在加拿大不提供)。
2)创建了名为“MyDomainCdn”的新网站。
3)创建了2家新店: MyDomain Men Cdn Store / MyDomain Women Store
4) 创建了 2 个新商店视图: MyDomain 男士 Cdn 商店视图 / MyDomain 女士 Cdn 商店视图 并为每一个分配了适当的目录。
在文件管理器中:
1) 创建一个名为 cdn.mydomain.com 的新子域。
我走在正确的轨道上吗?如果是这样,我的下一步是什么 或者有教程可以引导我完成这部分吗?
我完全不知道下一步该做什么。
任何帮助将不胜感激。
谢谢。
I have a website that has USD set as the base currency. This domain has a main page (index.php) where the customer can click/select either products for men or for women. They will then be forwarded to either: www.domain.com/men or www.domain.com/women. When the customer checkouts, the payments is processed through PayPal in USD.
My customer is now asking me to allow the user to be able
to check out using CDN currency.
This is what I have done so far.....
In the Magento Admin Panel:
1) Created 2 new product categories for the men and women for cdn purchases:
Men-Cdn / Women-Cdn (some products won't be available in Canada).
2) Created new website called "MyDomainCdn".
3) Created 2 new stores:
MyDomain Men Cdn Store / MyDomain Women Store
4) Created 2 new store views:
MyDomain Mens Cdn Store View / MyDomain Womens Cdn Store View
and assigned the appropriate catalog to each one.
In the File Manager:
1) Created a new sub-domain called cdn.mydomain.com.
Am I on the right track? If so, what would be my next step,
or is there a tutorial to walk me through this part?
I am totally stuck on what to do next.
Any help would be appreciated.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
毕竟您可能不需要单独的类别。每个产品都可以针对各个网站禁用,请参阅产品编辑页面上的网站选项卡。
转到系统>配置>网络。在左上角将范围控制更改为您的新网站,以下更改将仅适用于它而不是整个 Magento。在“安全”和“不安全”部分中,将基本 URL 更改为
http://cdn.mydomain.com/
。您可能拥有用于交易的 SSL 证书。除非您有罕见的通配符类型,否则它不适用于子域。去购买第二个证书以匹配您在“安全”部分中输入的域。
仍在系统>中时配置转到货币设置。新站点的变更范围仍然有限。如果有意义的话,也可以更改显示货币和允许的货币。
我不确定你用文件管理器做什么。其目的是让
cdn.mydomain.com
引导至与www.mydomain.com
完全相同的目录,无论如何通常都会发生这种情况。相反,编辑.htaccess
文件,在任何其他重写之前添加此位。运行代码(“cdn”)将是您在System > 中作为商店代码放置的内容。管理商店。
You might not need separate categories after all. Each product can be disabled for individual websites, see the Websites tab on product edit page.
Go to System > Configuration > Web. In the top left corner change the scope control to your new website, the following changes will then only apply to it and not the whole of Magento. In the Secure and Unsecure sections change the Base URL to
http://cdn.mydomain.com/
.You'll probably have an SSL certificate for transactions. Unless you have the rare wildcard type it won't work for sub-domains. Go buy a second certificate to match the domain you put in 'Secure' section.
While still in System > Configuration go to Currency Setup. The scope is still limiting changes to the new site. Change the display currency and allowed currencies too if that makes sense.
I'm not sure what you're doing with File Manager. The intention is for
cdn.mydomain.com
to lead to the exact same directory as doeswww.mydomain.com
which normally happens anyway. Instead edit the.htaccess
file, add this bit before any other rewrites.The run code ("cdn") will be what you put as the store code in System > Manage Stores.