Commit 19af373e by lmf

修复bug

parent c383eca3
......@@ -50,9 +50,8 @@ $sort_by = key_exists("sort_by",$_REQUEST) ? $_REQUEST["sort_by"] : false;
<ol class="products list items product-items">
<?php /** @var $_product \Magento\Catalog\Model\Product */ ?>
<?php foreach ($_productCollection as $_product): ?>
<?php
if ($sort_by && $sort_by == $_product->getUrlKey()): ?>
?>
<?php if ($sort_by && $sort_by == $_product->getUrlKey()): ?>
<li class="item product product-item">
<div class="product-item-info"
id="product-item-info_<?= /* @noEscape */ $_product->getId() ?>"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment