Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/magento/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Magento:低于某一篮子价格的固定运输成本_Magento_Shipping - Fatal编程技术网

Magento:低于某一篮子价格的固定运输成本

Magento:低于某一篮子价格的固定运输成本,magento,shipping,Magento,Shipping,如何设置低于某一点的所有篮子的Magento运输成本。所有低于5英镑的篮子的固定运费为1.99英镑 谢谢。我想这就是你要找的,除非我拿错了东西。它似乎被称为表费率发货。我唯一能让它工作的方法是在发货模块中添加一个额外的case语句 $result = Mage::getModel('shipping/rate_result'); ... } else if ($request->getPackageValue() < 6) { $price = '1.99'; ... $

如何设置低于某一点的所有篮子的Magento运输成本。所有低于5英镑的篮子的固定运费为1.99英镑


谢谢。

我想这就是你要找的,除非我拿错了东西。它似乎被称为表费率发货。

我唯一能让它工作的方法是在发货模块中添加一个额外的case语句

$result = Mage::getModel('shipping/rate_result');

...
} else if ($request->getPackageValue() < 6) {
    $price = '1.99';
...
$result=Mage::getModel('shipping/rate_result');
...
}else if($request->getPackageValue()<6){
$price='1.99';
...

这是您谈论的固定运费。您使用的是社区版吗?那么我如何使用超过5英镑的其他系统?