Why there is not add button in index.php/admin/admin/catalog_product_set/index
In the page of index.php/admin/admin/catalog_product_set/index, there is not add button.
Ah, I found the reason that the code '$this->getNewButtonHtml()' in 'catalog/product/attribute/set/toolbar/main.phtml' is not execute. I modified it as '$this->getChildHtml('addButton')', then the add botton displayed.
Oh, my God, the same issue exists in index.php/admin/admin/catalog_product_set/edit. I had to modified 'catalog/product/attribute/set/toolbar/add.phtml' as following:
the old code:
Why $this in templete can't invoke the according block own method?
Hi SunshineTech, We have fixed the issue, so now you can go ahead and add new product templates. Thanks for reporting the issue and keep on providing your feedback to us.