VirtueMart商品信息下拉定制
在我的主页上,我有一个显示项目信息的下拉列表。
我想自定义下拉框,但找不到需要更新的文件。
到目前为止,我已将其固定到
中名为 $drop_down
的变量 /components/com_virtuemart/themes/default/templates/product_details/includes/addtocart_drop.tpl.php
谁能告诉我在哪里可以找到与此相关的代码?
On my flypage, I have a dropdown list showing item information.
I want to customize the dropdown box, but I cant find the file I need to update.
So far I have pin it down to a variable called $drop_down
in
/components/com_virtuemart/themes/default/templates/product_details/includes/addtocart_drop.tpl.php
Can any one tell me where I can find the code relating to this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试以下文件: /administrator/components/com_virtuemart/classes/ps_product_attribute.php
有一行代码,内容如下:
从那里开始,行
$tpl->set( "drop_down", $html ) ; 位于
function
行下方约 99 行。另外,还会出现以下行:
以下函数也包含类似的行:
我希望能给您准确的行号,但我对代码进行了太多自定义,以致于我的行全部不正常。希望这有帮助。
Try the file: /administrator/components/com_virtuemart/classes/ps_product_attribute.php
There is a line of code which reads:
From there, the line
$tpl->set( "drop_down", $html ) ;
is located about 99 lines down from thefunction
line.Also, the following lines appear:
The following functions also include similar lines:
I wish I could give you exact line numbers, but I've done so much customization on my code that my lines are all out of whack. Hope this helps.