Conditional Tags for the cart – to display different header (1 post)

  1. nichart
    Posted 3 years ago #

    I have used conditional tags to display a different header on products from a specific product category.

    But can I somehow use the is_cart() tag combined with something else to show the header when products from a specific category are in the cart? I’ve have tried has_term() and is_product_category() with no success.

    Any ideas for a solution?
    Thank you !


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic