c.com
在您尝试结帐之前,一切都很正常,在a.com上您得到了装运方法(统一费率),但是在b.com和c.com上,您没有得到任何东西。
在管理面板中,一切都是像在a.com上一样设置的,此后我尝试使用函数public function saveBillingAction()中的app/code/core/Mage/Checkout/controllers/OnepageController.php文件中的Mage::log($result);进行调试。
这就是我在system.log for site a.com中的内容
2011-07-20T10:34:00+00:00 DEBUG (7): Array
(
[goto_section] => shipping_method
[update_section] => Array
(
[name] => shipping-method
[html] => <!--<dl class="sp-methods">//-->
<h2 style="padding-left:3px;">Ground Shipping</h2>
<ol>
<li>
<span class="no-display"><input name="shipping_method" type="radio" value="tablerate_bestway" id="s_method_tablerate_bestway" checked="checked" class="radio" /></span>
<label for="s_method_tablerate_bestway">Flat Rate <span class="price">$25.00</span> </label>
</li>
</ol>
)
[allow_sections] => Array
(
[0] => shipping
)
[duplicateBillingInfo] => true
)在system.log (站点b.com和c.com )中,我有:
2011-07-20T10:31:19+00:00 DEBUG (7): Array
(
[goto_section] => shipping_method
[update_section] => Array
(
[name] => shipping-method
[html] => <!--<dl class="sp-methods">//-->
)
[allow_sections] => Array
(
[0] => shipping
)
[duplicateBillingInfo] => true
)发布于 2015-07-09 14:06:44
我最近遇到了这个问题,并想为其他遇到这个问题的人张贴解决方案。
我在建立了多家商店后发现,虽然在我们的第二个网站上出现了统一费率和免费送货方法,但“表费率”却没有出现。原因是因为表费率文件在第二个网站配置中丢失。
简单地将表从工作的存储区导出.csv文件(您需要选择实际存储,而不是“默认配置”,在“更改配置范围”下),将配置范围更改为新存储,并上载您刚刚导出的.csv。
发布于 2011-07-20 15:07:16
转到您的系统->配置
然后选择子域存储。左上角的下拉式(通常)
然后转到Sales ->航运方法部分。查看它们是否已启用或设置为从默认存储继承。
https://stackoverflow.com/questions/6761902
复制相似问题