• Resolved Noelle Steegs

    (@noellesteegs)


    Hi,

    I am using the products shortcode to display “new in” products, but in addition to just showing the most recently published products I’d also like to include recently restocked products.

    I know I can filter the output of the shortcode, however I am unsure how to check whether a product has been restocked in the last 7 days.

    Thanks so much,
    No?lle

Viewing 1 replies (of 1 total)
  • Hi @noellesteegs

    Thanks for reaching out!

    I understand that you are using the products shortcode to display the latest products on your site and you would like to also include the recently restocked products. However, you are unsure how to check whether the product has been restocked in the last 7 days, correct?

    By default, only the [recent_products] shortcode is included here: Shortcodes included with WooCommerce.

    Adding the recently restocked products would need some customization to address. Unfortunately, custom coding is not something we can assist with directly. However, I’ll keep this thread open for a bit to see if anyone from the community can lend a hand.

    If you have any other questions related to development or custom coding, don’t hesitate to reach out to some of the great resources we have available for support. The WooCommerce community is filled with talented open-source developers, and many of them are active on the channels listed below:

    Hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Include products restocked within last x days as new in product shortcode’ is closed to new replies.