• Resolved corrinesoave

    (@corrinesoave)


    Hi, I have category pages for my products that use the archive-product.php file to list all the products within a category. These category pages are displaying all the content for each individual product including the purchase button. If an item is out of stock I’d like to include the ‘Add to Waitlist’ button on my category pages as well as the individual product. I have it working on the products page but it doesn’t show up on my category pages. Any advice for getting the waitlist button to display on the category list pages would be appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi,
    you need to modify the methos add_form() on class class.yith-wcwtl-frontend.php.
    In particular, try to remove from the first “if” condition this control && is_product() on line 111 and check if action woocommerce_stock_html is present also on products loop.

    Please before make any change on code, make first a backup copy.

    Regards

    • This reply was modified 8 years, 6 months ago by YITHEMES.
    Thread Starter corrinesoave

    (@corrinesoave)

    That worked, thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding Waitlist Button to archive-product.php’ is closed to new replies.