is_cart_page()

DEPRECATED. Use is_shopp_cart_page() instead.

is_cart_page ()

@return bool true if the current page request is the cart page, else false.

DEPRECATED Replaced by is_shopp_cart_page()

Description

Deprecated, use is_shopp_cart_page() instead.
determines if the requested page is the cart page.

This function will only be true when the current page request is for the cart page, but false all other page requests. This function will return false on the checkout, confirm order page, and the thanks/receipt page, even if the cart summary appears.

Example

if ( is_cart_page() ) {
    // cart page only code here
}

See Also

Comments are closed.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar