Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/239.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/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
Php Magento可配置产品价格-使用超级产品_Php_Magento - Fatal编程技术网

Php Magento可配置产品价格-使用超级产品

Php Magento可配置产品价格-使用超级产品,php,magento,Php,Magento,我正在尝试将Magento配置为将此价格用于可配置产品: Configurable product "T-shirt" Simple products: "T-shirt" - color: blue; size: s; price: 1200 "T-shirt" - color: blue; size: m; price: 1300 "T-shirt" - color: blue; size: l; price: 1300 "T-shirt" - color: red; size: s;

我正在尝试将Magento配置为将此价格用于可配置产品:

Configurable product "T-shirt"
Simple products:

"T-shirt" - color: blue; size: s; price: 1200
"T-shirt" - color: blue; size: m; price: 1300
"T-shirt" - color: blue; size: l; price: 1300

"T-shirt" - color: red; size: s; price: 1300
"T-shirt" - color: red; size: m; price: 1300
"T-shirt" - color: red; size: l; price: 1300
如何在Magento商店中设置此项?我试图将-100设置为蓝色,但所有蓝色的产品都是-100


有办法做到这一点吗?

您可以尝试此免费扩展:。它允许您在其属性中设置简单产品的价格,而不是在可配置产品中。我认为这简化了一切。

谢谢,我认为可以有“无扩展”的方法。但我会接受这一点作为answer@boban0987我懂了。通常我也更喜欢“无扩展”解决方案。但在这种特殊情况下,此扩展允许我的客户在CSV导入时使用
price
列。按照常规方式,他们必须对每个~2k产品进行计算,并在每次导入时使用特殊的格式要求将其填入
super\u attribute\u pricing
列。这是不可接受的。是的,我理解。但是我应该如何为我的案例设置超级属性定价?有没有办法把它设置成这样?或者可以这样设置:全部为蓝色-100@boban0987你试过这个吗:?是的,我试过了,但正如我在示例中所写的那样。您只能将所有“蓝色”衬衫设置为-100。但如果我需要尺寸为“s”的“蓝色”,则无法使用“关联产品”选项卡进行设置