Magento : dev adding input for custom price

2019-09-21 10:17发布

i m developping an extention for a company and i wanna know how to add input to localhost//sony-vaio-vgn-txn27n-b-11-1-notebook-pc.html page.

this is image shows where i wanna show it : enter image description here

_________

anyone knows how to do this ?

Thank you !

标签: magento
1条回答
▲ chillily
2楼-- · 2019-09-21 10:52

Please be patient. Do not use $('#myDiv').hide() - it is not the answer. You should be looking to a .phtml file

[your theme or your module]/template/catalog/product/view.phtml

That .phtml file should tell you which .phtml file is generating the HTML for the input box, from there you should edit the .phtml file that generates the input box and change the input box value from '$2999.99' to 'must be greater than $2000' or whatever you want to put in the input box.

查看更多
登录 后发表回答