Oscommerce了解子类目产品布局设计的div结构

问题描述 投票:0回答:1

这是我的网站网址:http://swedxnew.com.swedx.com/

我使用的是付费主题。所有文件都正确上传到相应目录。但问题是

product_listing.php
对于子类别无法正常工作。如果我在这段代码之后关闭 div 到
product_listing.php

$prod_list_contents .= '<div class="row product-block list-view product-item wide clearfix">';

if (isset($HTTP_GET_VARS['manufacturers_id']) && tep_not_null($HTTP_GET_VARS['manufacturers_id'])) {
$prod_list_contents .= '<div class="col-xs-12 col-md-4 no-margin col-sm-4 col-lg-3 img_ar"><div class="head">'.$ribbon.'<div class="thumb"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $products_name) . '</a></div></div></div>';
} else {
$prod_list_contents .= '<div class="col-xs-12 col-md-4 no-margin col-sm-4 col-lg-3 img_ar"><div class="head">'.$ribbon.'<div class="thumb"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $products_name) . '</a></div></div></div>';

某些类别工作正常,但已经正确的类别将被破坏。

所以我的问题是,我需要在哪里关闭适当的 div,以便它可以对所有子类别设计进行更正?

保存div结构的模板文件是

/catelog/includes/template_top.PHP 
/catelog/includes/tepmplate_bottom.php
/catelog/index.php
/catelog/includes/module/product_listing.php 

我完全困惑我在哪里缺少 div 破坏了我的模板布局在某些类别而不是全部

还有更多模板布局吗?

这是文件:

令人不安的网址:-

http://swedxnew.com.swedx.com/index.php?cPath=137_154
http://swedxnew.com.swedx.com/index.php?cPath=137_155
http://swedxnew.com.swedx.com/index.php?cPath=133_12800028
http://swedxnew.com.swedx.com/index.php?cPath=133_140
http://swedxnew.com.swedx.com/index.php?cPath=133_158
http://swedxnew.com.swedx.com/index.php?cPath=133_149
http://swedxnew.com.swedx.com/index.php?cPath=142
http://swedxnew.com.swedx.com/index.php?cPath=121
http://swedxnew.com.swedx.com/index.php?cPath=66_160
http://swedxnew.com.swedx.com/index.php?cPath=126

如果有人指导我正确的方式,请提前致谢

php html css oscommerce
1个回答
0
投票

我已经通过一些形式的努力解决了我的问题

仅从产品描述数据库中删除 HTML 标签

谢谢

© www.soinside.com 2019 - 2024. All rights reserved.