Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1173787
    judelgado
    Participant

    Hello,

    I’m almost accomplish my goal, but for reason I can’t get the thumbnails of the product_images to show correctly.

    I edited the functions.php on my child theme, using woocommerce hooks as follows:

    `function woo_single_custom() {
    remove_action( ‘woocommerce_single_product_summary’,’woocommerce_template_single_title’, 5 );
    remove_action( ‘woocommerce_single_product_summary’,’woocommerce_template_single_rating’, 10 );
    remove_action( ‘woocommerce_single_product_summary’,’woocommerce_template_single_price’, 10 );
    remove_action( ‘woocommerce_single_product_summary’,’woocommerce_template_single_excerpt’, 20 );
    remove_action( ‘woocommerce_before_single_product_summary’,’woocommerce_show_product_sale_flash’, 10 );
    remove_action( ‘woocommerce_before_single_product_summary’,’woocommerce_show_product_images’, 20 );
    add_action( ‘woocommerce_before_single_product’, ‘woo_single_custom_inline’, 30 );
    }
    add_action( ‘wp’, ‘woo_single_custom’ );

    function woo_single_custom_inline() { ?>
    <div class=”single-inline”>
    <?php woocommerce_template_single_title(); ?>
    <?php woocommerce_template_single_rating(); ?>
    <?php woocommerce_template_single_price(); ?>
    <?php woocommerce_template_single_excerpt(); ?>
    <?php woocommerce_show_product_sale_flash(); ?>
    <?php woocommerce_show_product_images(); ?>
    </div>
    <?php } ?>`

    But as you can see Here

    The product images in the gallery are not shown as thumbnails.

    Can anybody let me know what I’m doing wrong? Thanks

    #1174326
    Christopher
    Moderator

    Thanks for writing in! Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.

  • <script> jQuery(function($){ $("#no-reply-1173787 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>