Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/joomla/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Joomla 定制相关产品的输出VM2_Joomla_Virtuemart - Fatal编程技术网

Joomla 定制相关产品的输出VM2

Joomla 定制相关产品的输出VM2,joomla,virtuemart,Joomla,Virtuemart,在VM2中,我可以使用模板覆盖default_relatedproducts.php 使用以下代码: <?php echo $field->display ?> 输出HTML <a title="x" href="x"> <img alt="" src="x.jpg"> Product Name </a> 哪里可以更改$field->display的输出,因为它似乎不在模板系统中 是否有任何关于修改相关产品输出的信

在VM2中,我可以使用模板覆盖default_relatedproducts.php

使用以下代码:

<?php echo $field->display ?>

输出HTML

<a title="x" href="x">
   <img alt="" src="x.jpg"> 
   Product Name 
</a>

哪里可以更改
$field->display
的输出,因为它似乎不在模板系统中


是否有任何关于修改相关产品输出的信息

我是这个论坛的新手,所以我不确定这个答案是否是你想要的。但是,因为我看到你在五月份发帖后一直没有得到答案,所以我要试一试

Joomla有一个名为“K2”的非商业性扩展,据说它提供了大量GUI增强和定制功能

此外,K2的制造商还创建了一个名为K2mart的商业组件,据我所知,它在某种程度上“连接”了Virtuemart和K2,为Virtuemart功能添加了增强的编辑和定制功能

我还没有使用K2或K2mart,但从它们的描述来看,它们可能就是您正在寻找的——如果您还没有解决您的问题的话