Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/magento/5.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/templates/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
Magento 使用目录页上拍卖扩展中的list.phtml,而不是自定义模板list.phtml_Magento_Templates - Fatal编程技术网

Magento 使用目录页上拍卖扩展中的list.phtml,而不是自定义模板list.phtml

Magento 使用目录页上拍卖扩展中的list.phtml,而不是自定义模板list.phtml,magento,templates,Magento,Templates,我们有magento社区网店,里面有我们购买的模板。一切正常。现在我们从magestore购买了一个拍卖扩展,并正在测试它。我们现在面临的问题是,它在产品页面上显示良好,但在取消目录产品页面上显示不好。它会以某种方式提供购买模板的list.phtml,而不是plugin list.phtml的选项?我们如何更改它,使插件“模板”显示正确的list.phtml文件 分机位置: /public_html/app/design/frontend/default/default/template/auc

我们有magento社区网店,里面有我们购买的模板。一切正常。现在我们从magestore购买了一个拍卖扩展,并正在测试它。我们现在面临的问题是,它在产品页面上显示良好,但在取消目录产品页面上显示不好。它会以某种方式提供购买模板的list.phtml,而不是plugin list.phtml的选项?我们如何更改它,使插件“模板”显示正确的list.phtml文件

分机位置:

/public_html/app/design/frontend/default/default/template/auction 
/public_html/app/design/frontend/default/ma_megashop/template/catalog/product
模板位置:

/public_html/app/design/frontend/default/default/template/auction 
/public_html/app/design/frontend/default/ma_megashop/template/catalog/product
*编辑*

谢谢你的回复。但当我在de admin控制面板中进行模板更新时,我的产品 它们被否定了。我只想让计时器出现在去目录产品视图中,而不是产品照片下面的价格框和描述规则。因此,它选择了另一个列表。phtml我认为只有我在该页面上的产品在后端的类别模板更新后消失

我还发现了一个错误:
致命错误:对第22行的…/app/design/frontend/default/default/template/auction/list.phtml中的非对象调用成员函数getLastBid,您可以通过在主题的local.xml文件中显式指定它来收紧要使用的.phtml。如果你知道怎么做,太好了,继续吧。如果你不知道该怎么做,你能告诉我们“产品页面”和“目录产品页面”的URL吗?我们不需要看到你的完整URL,只需要查看顶级域之后的所有内容,因为我不知道ie路由“目录产品页面”是什么意思,所以我不能告诉你XML

您可能还想查看搜索结果页面,因为它也使用list.phtml

**编辑

对于一个分类页面,我认为你应该在Magento管理区中为分类添加一个“布局更新”:目录->管理分类->选择分类->自定义设计->布局更新。添加以下代码:

 <reference name='product_list'>
        <action method="setTemplate">
            <template>auctionmodulecompany/auctionmodulename/catalog/product/list.phtml</template>
        </action>
 </reference>

你需要哪些链接?Fronded webshop链接?www.yachtaction.se/auction/index/->示例我们想要它的方式,以及www.horloge-style.nl/weekenddeal->我们的网站->找不到如何更改它,因此我们也可以在产品fotoNice网站下看到拍卖时间;我喜欢你的手表。在主题的本地XML中,尝试添加以下内容:。。。嗯,不,对不起,你能告诉我www.horologe-style.nl/weekenddeal是静态CMS页面吗?如果它是一个静态CMS页面,您使用什么小部件或代码将产品放在页面上?还是分类页面?你想让它看起来像www.horologe-style.nl/auction/index,是吗?一旦我们有了所需的所有信息,它应该很简单。这是一个分类页面,我们希望与YachAction.se/auction/index相同。通常这是扩展的标准选项,但由于我们有一个自定义模板,它不会在目录页面中显示竞拍选项…可能是因为它使用了错误的列表。phtml?抱歉,是的,我们想在目录页面中显示www.horologe-style.nl/auction/index页面。如果这是可能的话,我会很高兴:-和哪个文件的价格改变上面的照片红色为黑色,下面的照片黑色为红色?