[英]Custom option is broken my magento theme, how can i fix?
当我在magento产品中添加自定义选项时,由于某种原因,我使用magento 1.7.02破坏了我的主题,我尝试更改view.phtml(模板/目录/产品)中的某些内容,但未成功...
我不知道可以在哪里更改以进行修复,我尝试从自定义选项更改位置,但没有任何效果,请提供一些想法?
*the code in view.phtml
<!-- AddThis Button END -->
</div>
</div>
<div class="clearer"></div>
</form>
我可以看到针对这两个标签的解决方案, Product Description
和Product tags
显示得很好
打开http://www.boutiquekawaii.com/corsets/corset-test.html右键单击进行检查,然后选择Inspect
现在在“元素”选项卡中搜索此类class product-shop span8
您将找到类似这样的div
<div class="product-shop span8">
....
<div class="clearer"></div> <!-- you need to move this -->
</div>
在那个div中有一个像这样的div <div class="clearer"></div>
,该div应该不存在。
像这样
<div class="product-shop span8">
....
</div>
<div class="clearer"></div> <!-- and place it here before </form> tag -->
</form>
因此,打开该文件template/catalog/product/view.phtml
找到<div class="clearer"></div>
并按照我说的进行更改。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.