I just became aware that there is a code issue on my website’s product page that displays the code at the bottom of the page underneath the related images section.
It’s displaying the details of the product e.g the price and price comparison and the distributor. I am not sure how long this has been displaying product page this way, so I don’t know what code was added that caused this.
Issue is broken html actually tag is broken.
Simply go to product.liquid under Templates and fix the issue.
btw if you are not aware how to then paste our product.liquid code here and we’ll make a correction in it.
Try to update your product.liquid code with this one
{% comment %}
The contents of the product.liquid template can be found in /sections/product-template.liquid
{% endcomment %}
{% section 'product-template' %}
{% section 'product-recommendations' %}
{% comment %}
Get the text and link for the back button
{% endcomment %}
{% assign back_url = routes.root_url %}
{% assign back_text = 'products.product.back' | t %}
{% if collection %}
{% assign back_url = collection.url %}
{% assign back_text = collection.title %}
{% endif %}
{{ back_text }}
Thank you for your reply! This did not work, now it shows two sections of the “you may also like section” and the code is no longer at the bottom but at the middle section.