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
默认为Magento自定义选项价格_Magento - Fatal编程技术网

默认为Magento自定义选项价格

默认为Magento自定义选项价格,magento,Magento,我有一个产品,在自定义选项中设置了单价和箱价单选按钮 我希望在视图.phtml页面中选择单价作为默认值。我如何才能做到这一点? 我已经检查了core\Mage\Catalog\Block\Product\View\Options\Type\select.php中的函数getValuesHtml() 我在哪里可以换 马克,我建议你引入一些javascript自动选择第一个单选按钮

我有一个产品,在自定义选项中设置了单价和箱价单选按钮
我希望在
视图.phtml
页面中选择单价作为默认值。我如何才能做到这一点?
我已经检查了
core\Mage\Catalog\Block\Product\View\Options\Type\select.php中的函数
getValuesHtml()
我在哪里可以换


马克,我建议你引入一些javascript自动选择第一个单选按钮