【问题标题】:Virtuemart is not working for multiple manufacturerVirtuemart 不适用于多家制造商
【发布时间】:2012-06-01 02:05:51
【问题描述】:

我正在创建一个使用 joomla2.5 和 meadowmart2 的电子商务网站。当我添加新产品时,我无法为产品选择多个制造商。

我不知道破解源代码究竟需要哪个文件。

这里我修改了location中的html集成部分

administrator/components/com_virtuemart/views/product/tmpl/product_information.html 第 92 行

<?php if(isset($this->lists['manufacturers'])){?>
<tr class="row<?php echo $i?>">
<td width="21%" ><div style="text-align:right;font-weight:bold;">
<?php echo JText::_('COM_VIRTUEMART_MANUFACTURER'); echo'test-aaaaaaaaaa'; ?></div></td>
<td width="79%"><?php //echo $this->lists['manufacturers'];?>                       
<select class="inputbox" id="manufacturers" name="manufacturers[]" multiple="multiple" size="10">
<option value=""><?php echo $this->lists['manufacturers']; ?></option></select>                     </td></tr>

但我无法从数据库中计算制造商列表。我不知道要更改哪个文件的源代码。有谁知道请回复我!

【问题讨论】:

    标签: php joomla e-commerce virtuemart


    【解决方案1】:

    看看这个:

    http://forum.virtuemart.net/index.php?topic=100170.0

    我将它应用到了我的美德市场中,并起到了魅力的作用。 我要开一家书店。 我已将所有作者添加为制造商,现在通过此更改,我可以将多个制造商(在我的情况下为作者)添加到一本书中,就像添加多个类别一样。 我认为这是您需要的。

    【讨论】:

    • 是的,这就是我需要的!一个产品有多个制造商。请提供一些提示。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-03-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多