530

Answer

Solution:

How I fixed it:

Via FTP download the related.php file located in the woocommerce plugin folder at:

woocommerce/templates/single-product/related.php

Open the file using TextEdit (Mac) or your favorite editor for Win or Mac and change the following:

<section class="related products">

<h2><?php esc_html_e( 'Related products', 'woocommerce' ); ?></h2>

<?php woocommerce_product_loop_start(); ?>

<?php foreach ( $related_products as $related_product ) : ?>

To the following:

<section class="related products">

<?php woocommerce_product_loop_start(); ?>

<h2><?php esc_html_e( 'Related products', 'woocommerce' ); ?></h2><br />

<?php foreach ( $related_products as $related_product ) : ?>

People are also looking for solutions to the problem: php - Setup a cron job in aws worker environment

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.