Magento:开发人员为自定义价格添加输入 [英] Magento : dev adding input for custom price
问题描述
我正在为一家公司扩展业务,我想知道如何向localhost//sony-vaio-vgn-txn27n-b-11-1-notebook-pc.html页面添加输入.
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 :
_________
有人知道该怎么做吗?
谢谢!
推荐答案
请耐心等待.不要使用$('#myDiv').hide()-这不是答案.您应该查看一个.phtml文件
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
该.phtml文件应该告诉您哪个.phtml文件正在生成输入框的HTML,从那里您应该编辑.phtml文件来生成输入框,并将输入框的值从$ 2999.99更改为'must大于$ 2000"或您要在输入框中输入的任何数字.
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:开发人员为自定义价格添加输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!