• Hello,

    I’m sorry, I speak a little English.

    I use WooCommerce with my custom Storefront child theme.

    ~/wp-content/themes/storefront-child/custom-home.php

    <?php /* Template Name: Custom home */
    
    	get_header();
    	echo do_shortcode( '[product_page id="12"]' );
    	get_footer();
    
    ?>

    My page (homepage) only this shortcode:

    [product_page id="12"]

    It works, but the product gallery is displayed incorrectly.

    I would like: my homepage is my product (ID: 12).

    Thanks.

    • This topic was modified 3 years, 4 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WooCommerce Product Template’ is closed to new replies.