WC Conditional Tags (tag)
is_cart() | Is_cart - Returns true when viewing the cart page. |
is_checkout() | Is_checkout - Returns true when viewing the checkout page. |
is_checkout_pay_page() | Is_checkout_pay - Returns true when viewing the checkout's pay page. |
is_product() | Is_product - Returns true when viewing a single product. |
is_product_tag() | Is_product_tag - Returns true when viewing a product tag. |
is_shop() | Is_shop - Returns true when viewing the product type archive (shop). |
is_woocommerce() | Is_woocommerce - Returns true if on a page which uses WooCommerce templates (cart and checkout are standard pages with shortcodes and thus are not included). |
wc_coupons_enabled() | Check if coupons are enabled. Filterable. |