We have got an custom extension, that integrates our inventory software with our site, so that it displays pricing depending on what customer group they are set in on the inventory software. However for some reason the products under the "related products" is showing the default price first, when you actually click to see the product, it would display the correct pricing.
We are unsure on how we can just have so that it always displays the correct price (possible limitation to the extension) so we had decided to just take off the pricing from the "related products" entirely. However we are unsure of how to do this, we did try to modify the twig file but it ruined the layout of the related products.
This is the code we tried to modify, this is under the product.twig:
Code: Select all
{% if product.price %}
<p class="price"> {% if not product.special %}
{{ product.price }}
{% else %} <span class="price-new">{{ product.special }}</span> <span class="price-old">{{ product.price }}</span> {% endif %}
{% if product.tax %} <span class="price-tax">{{ text_tax }} {{ product.tax }}</span> {% endif %} </p>
{% endif %} </div>