【问题标题】:magento product specific zip code checkingmagento 产品特定的邮政编码检查
【发布时间】:2014-11-05 12:49:38
【问题描述】:

我正在使用 magento 1.8.1 我正在使用邮政编码检查送货详情,例如检查客户区是否提供送货服务,这是一般情况。

这工作正常。

但现在我想做这个产品特定的产品,比如某些产品适用于某些产品有不同的交货细节,例如,xxx 产品在 6 天内适用于 111111 邮政编码,2 天内适用于 222222 邮政编码,33333 交货不可用等。

我想要这样的产品特定的交付细节检查。

谁能帮我知道这样的扩展是否可用。

或为此的任何特定编码。

【问题讨论】:

标签: magento magento-1.8


【解决方案1】:

您需要创建自己的运输模块来通知产品是否可以交付。

查看如何创建自定义运输模块http://excellencemagentoblog.com/magento-create-custom-shipping-method

然后在函数中

public function collectRates(Mage_Shipping_Model_Rate_Request $request)
    {
//check your product shipping availability based on your conditions.
// set all the shipping parameter if product shipping is available.
// or set error message to display user
}

如有任何疑问,请回复。 谢谢

【讨论】:

    最近更新 更多