Magento : dev adding input for custom price

2019-09-21 09:59发布

问题:

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 :

_________

anyone knows how to do this ?

Thank you !

回答1:

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.



标签: magento