-1

Am creating magento configurable products as in the below link

http://www.magentocommerce.com/knowledge-base/entry/tutorial-creating-a-configurable-product

But when am clicking the drop down list (in my figure)

enter image description here

ie when clicking the dropdown it will only show the choose an option

But am adding colors as red ,blue and size as small,meadium in back end

please help me

4

1 回答 1

1

尝试在您的系统上执行此操作,它应该是相同的:

grep -RTi 'Choose an Option...' ./app/
./app/code/local/Couturelab/Configurable/Block/Product/View/Type/Configurable.php  : 
    'chooseText'        => Mage::helper('catalog')->__('Choose an Option...'),
./app/code/core/Mage/Catalog/Block/Product/View/Type/Configurable.php  :
    'chooseText'        => Mage::helper('catalog')->__('Choose an Option...'),
./app/design/frontend/base/default/template/catalog/product/view/type/options/configurable.phtml  :
    <option><?php echo $this->__('Choose an Option...') ?></option>

更改值的最佳方法是通过 Javascript,但您也可以直接更改值,如果这对您有用,那么您可以将文件扩展/移动到您自己的命名空间。

于 2012-11-20T10:51:02.160 回答