• Resolved Cheryl

    (@tricheryltops)


    Hello,

    I have some pages where I’d like to show a shortcode where, when I put in a certain tag in the shortcode it will show products matching that tag.

    I am setting it up for future use, here so that eventually when I enter products with that tag, they’ll show up on the page. Currently, there is not a product.

    When this happens, though, at the top of the page, there is the purple message saying “No products matching your selection.” Is there any way to place this message NOT at the top of the page, but where the shortcode is located on the page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @tricheryltops,

    While it’s not possible to directly modify the location of this message through the WooCommerce settings, you can do so by customizing the WooCommerce template files.

    Please note that writing or providing custom code is not within the scope of our support policy. If you still need assistance, we recommend asking development questions on the #developers channel of the WooCommerce Community Slack. Many of our developers hang out there and will be able to offer insights into your question. You can also seek help from the following:

    I wish I could help more, but hopefully, this gets you going in the right direction to get the job done.

    Thread Starter Cheryl

    (@tricheryltops)

    Thanks for the response. I actually accomplished what I was trying to do by hiding just the info area with css only for that custom post type.

    Thanks

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @tricheryltops,

    I’m glad you were able to find a solution to your inquiry here and thanks for sharing it with the community too! ??

    Should you have further inquiries, kindly create a new topic here.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Move “No Products Matching Your Selection” to location of shortcode on page?’ is closed to new replies.