【问题标题】:How to link a specific store view in Magento from outside the store?如何从商店外部链接 Magento 中的特定商店视图?
【发布时间】:2014-07-06 20:02:54
【问题描述】:

我在多语言商店中设置了 Magento,因此每种语言都有自己的商店视图。我有一个 HTML 登录页面,用户可以在其中选择他们想要的语言,并且我想从登录页面链接每个商店视图。

我需要为每个特定视图创建一个 URL,以便可以从 Magento 安装之外的登录页面(如 my_magento_installation.com/spanish 等)访问它。这意味着我不能使用任何核心代码来获取商店视图。

我注意到这个网址格式:

http://www.my_magento_installation.com/?___store=view_name

...在从 Magento 的默认下拉列表中选择特定商店视图后显示在 URL 栏中。但是,如果我从 Magento 安装外部设置了这种格式的链接,它只会重定向到基本 URL (www.my_magento_installation.com)

提前致谢,

保罗

【问题讨论】:

    标签: magento view


    【解决方案1】:

    Pul Vila,这里是使用 magento 的肥皂客户端的肥皂列表,供参考 http://www.magentocommerce.com/api/soap/miscellaneous/store.list.html

    使用htaccess写入登陆页面的url后...https://stackoverflow.com/questions/21433203/donot-want-show-magento-home-using-htaccess-file

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-02-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多