• Resolved bgardner1087

    (@bgardner1087)


    Hello, I am attempting to move these components of a single product page under the gallery:

    – Variable product selector
    – Quantity Selector
    – Add to Cart button

    I’ve worked with the product-image.php file, and have found that the following line of code is preventing me from doing this:

    do_action( ‘woocommerce_product_thumbnails’ );

    I’ve tried adding the following line to the code in this file:

    do_action( ‘woocommerce_’ . $product->get_type() . ‘_add_to_cart’ );

    Unfortunately, only when I remove the section for woocommerce_product_thumbnails does this other piece of code work. Since the product hook for doing this is deprecated (which I have tried and verified does not work), I’m at a loss as to how to get these two sections to cooperate.

    Ideally, I would like for the gallery function to work without the thumbnails as well, but I can be flexible about that so long as the thumbnails are all on one line. What am I missing to get this to work?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Moving items under the Product Gallery’ is closed to new replies.