WooCommerce Cart Count Shortcode

WooCommerce Cart Count Shortcode Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 20,121 downloads
WooCommerce Cart Count Shortcode Icon

Try plugin: WooCommerce Cart Count Shortcode

We'll create fresh WordPress site with WooCommerce Cart Count Shortcode installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About WooCommerce Cart Count Shortcode

Display a link to your shopping cart with the item count anywhere on your site with a customizable shortcode.

8


1


1


0


2

updated: 7 years ago
since: 8 years ago
author: Pronto Tools

Description

Looking for a flexible way to display items in your site’s WooCommerce cart? Look no further! This plugin allows you to insert a shortcode anywhere on your site that generates an a href link.

Parameters:

  • icon – Any Font Awesome icon. Most of the time you’ll want to use shopping-cart or shopping-basket.
  • empty_cart_text – The text to display when there are zero items in the cart. You may want this to default to “Shop”.
  • items_in_cart_text – The text to display when there are one or more items in the cart. You may want this to default to “Cart”.
  • total_text – The text to display when there are one or more items in the cart. You may want this to default to “Total:”.
  • show_items – Enter “true/false” to show/hide items in the cart in parentheses. The item count will only show when there are one or more items in the cart.
  • custom_css – Any custom CSS you’d like to add to the link.
  • show_total – Enter “true/false” to show/hide total price in the cart

Examples:

  • [cart_button]
  • [cart_button icon="basket"]
  • [cart_button show_items="true"]
  • [cart_button show_items="true" show_total="true"]
  • [cart_button show_items="true" show_total="true" total_text="Total Price:"]
  • [cart_button show_items="false" items_in_cart_text="Cart"]
  • [cart_button show_items="true" empty_cart_text="Store"]
  • [cart_button items_in_cart_text="Cart" custom_css="custom"]