0

我一直在catalog/view/options/type/configurable.phtml 中进行编辑,而另一个在模板上工作的人一直在到处编辑。突然,整个可配置选项块(呈现可配置.phtml)从页面中消失了。以下块仍在 view.phtml 中:

<?php if ($_product->isSaleable() && $this->hasOptions()):?>
    <?php echo $this->getChildChildHtml('container1', '', true, true) ?>
<?php endif;?>

<?php if ($_product->isSaleable() && $this->hasOptions()):?>
    <?php echo $this->getChildChildHtml('container2', '', true, true) ?>
<?php endif;?>

还有什么可能会导致可配置选项块消失?服务器或适用的 Magento 日志中没有错误。也没有任何 JavaScript 错误。我已经用新副本替换了catalog.xml、view.phtml 和configurable.phtml。Magento 没有缓存,我正在使用 cntrl+shift+r 刷新页面以防止浏览器缓存。我已经从 if 语句中取出了上面的代码......仍然没有选项块!

4

1 回答 1

2

我不敢相信我排了六个小时才发现我需要重新索引...

于 2013-05-31T19:24:12.813 回答