• Hi
    I’m trying to add “Buy Now” button into each of the WooCommerce products that are displayed on the SHOP page.

    I’ve entered the code into the WooCommerce archive-product.php but the buttons don’t appear. Heres my code extracted from the archive-product.php template:-
    <?php woocommerce_product_loop_start(); ?>
    <?php woocommerce_product_subcategories(); ?>
    <?php while ( have_posts() ) : the_post(); ?>
    <?php wc_get_template_part( ‘content’, ‘product’ ); ?>

    <?php // Quick Buy Button code added here //?>
    <?php do_shortcode([wc_quick_buy]) ?>

    <?php endwhile; // end of the loop. ?>

    What I’m I doing wrong?

    https://wordpress.org/plugins/woocommerce-quick-buy/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter millsd61

    (@millsd61)

    p.s. I want the “Buy Now” buttons to appear automatically against each product without any further manual intervention. Hence my desire for the code to go into the SHOP template loop.

    Plugin Author Varun Sridharan

    (@varunms)

    @millsd61

    Can you please try downloading beta version from github and check for the same ?

    Thread Starter millsd61

    (@millsd61)

    I’ve downloaded the beta version from githib. Its showing as version 0.17 in the Plugin’s admin on WordPress and it is saying Download an Update (which I havn’t done yet). But the “Buy Now” button still does not appear on the SHOP page.

    Thread Starter millsd61

    (@millsd61)

    Just for awareness…. the “Buy Now” button is appearing on the single product page.
    I am trying to insert it in the Loop of the SHOP template.

    Plugin Author Varun Sridharan

    (@varunms)

    @millsd61

    I am really sorry for the delayed response .

    Kindly contact me directly. i will tell you how to make it work..

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Cant get Buy Now buttons to appear on WooCommerce SHOP template page’ is closed to new replies.