is_shopp_cart_page()

determines if the requested page is the cart page.

is_shopp_cart_page ()

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

Description

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_shopp_cart_page() ) {
    // cart page only code here
}

See Also

You must be logged in to post a comment.

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

Skip to toolbar