New Landing How can we help? Atelier Review section before Related products

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Atelier
  • #169425
    pnitas
    Member
    Post count: 42

    As simnple as the topic title
    How can i put the related product section before review section in a single product page?
    Thnks!

    #169441
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Go to atelier/woocommerce/content-single-product.php and find these lines at the bottom of the file: http://d.pr/i/1aHZx/2uppNaqY

    Move

    /**
    	 * Product Related
    	 */
    	if ($sidebar_config == "no-sidebars") { ?>
    	<div class="container product-related-wrap">
    	<?php } ?>
    
    		<?php
    			/**
    			 * woocommerce_after_single_product_summary hook
    			 *
    			 * @hooked woocommerce_output_related_products - 20
    			 */
    			do_action( 'sf_after_single_product_reviews' );
    		?>
    

    Above

    /**
    * Product Reviews
    */

    – Kyle

    #169460
    pnitas
    Member
    Post count: 42

    Thanks! Working fine ๐Ÿ™‚

    #169473
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok great ๐Ÿ™‚

    #212776
    dsirard11
    Member
    Post count: 122

    Can you help? We tried the above suggestion and we got this error:

    Parse error: syntax error, unexpected ‘}’ in /home/content/p3pnexwpnas09_data01/07/2721807/html/wp-content/themes/atelier/woocommerce/content-single-product.php on line 230

    Thank you,
    Dawna

    #212783
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Did you copy the whole code above and move it to where I said?

    – Kyle

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register