WC Conditional Tags (category)

is_cart()

Checks if the current page is the cart page. Conditional tag.

is_checkout()

Checks if the current page is the checkout page. Conditional tag.

is_checkout_pay_page()

Checks if the current page is the order payment page. Conditional tag.

is_product()

Checks if the current page is a product page. Conditional tag.

is_product_tag()

Checks if the current page is a product tag page. Conditional tag.

is_shop()

Checks if the current page is the main shop page. Conditional tag.

is_woocommerce()

Checks if the displayed page uses the WooCommerce template.

wc_coupons_enabled()

Checks if coupons are enabled. Checks the option woocommerce_enable_coupons === 'yes'.