[wps_cart]

shortcode

Since: v1.0.0

Source:

Displays cart icon optionally filtered by attributes. Opens the Shopify cart when clicked.

Examples:

      
// Simple usage to show cart icon [wps_cart] // Hide counter that shows total cart items [wps_cart counter="false"]

Avaialble attributes:

  • counter

    Hides counter showing the total number of cart items

    Possible Values Example Default
    false [wps_cart counter="false"] true
Copied!