Support » Plugin: WooCommerce » Action to Remove Product Archive Loop

  • Resolved sayhellotoali

    (@sayhellotoali)


    Hi ,
    How I can remove archive-product.php default WP_QUERY loop ?
    i have a custom archive-product page due to my project descriptions . and i doesnt need default loop , i wrote a custom WP_QUERY for my archive in php and it worked well but, when i open the Product archive page , query monitor shows 2 queries .
    first one is woocommerce default loop
    next one is my custom query

    thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support maykato

    (@maykato)

    Hello,

    There isn’t a way to hide product loop by default in core WooCommerce, but you can check out this tutorial to get started.

    I can also recommend the WooCommerce Developer Resources Portal for resources on developing for WooCommerce.

    You can also visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack.

    Thread Starter sayhellotoali

    (@sayhellotoali)

    Hi ,
    unfortunatly you didnt get my point , or i cant make it clear .
    i dont want to HIDE woocommerce default loop . i wanted to DISABLE default loop and create a custom loop on my own , ( for my project purpose i cant use default loop )
    every thing is set up ,and worked well , but still a default loop called ( from query monitor logs) and my loop called then .

    Plugin Support maykato

    (@maykato)

    Hi,

    This is a fairly complex development topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.

    In the meantime, you could also try the Facebook group and/or Community Slack to see if you can get any help there.

    Plugin Support Shohan Hossain Nabil – a11n

    (@sohanhossain)

    Hey there!

    There hasn’t been much activity on this thread, so I wanted to add a few more options for you.

    if you do require more help with the actual coding, we’d recommend you hire a developer who can take a look at this, quote you for their services, and help you add this feature to your site. We’d recommend getting in touch with a web developer or one of the customization experts listed at https://woocommerce.com/customizations/.

    Please kindly note that this requires some custom coding – which goes beyond the scope of support we are able to provide in this forum.

    I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.