Display a link to your shopping cart with the item count anywhere on your site with a customizable shortcode.
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:
shopping-cart
or shopping-basket
. 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"]
/wp-content/plugins/plugin-name
directory, or install the plugin through the WordPress plugins screen directly.[cart_button icon="shopping-cart" empty_cart_text="Shop" items_in_cart_text="Cart" custom_css="custom"]
/wp-content/plugins/plugin-name
directory, or install the plugin through the WordPress plugins screen directly.[cart_button icon="shopping-cart" empty_cart_text="Shop" items_in_cart_text="Cart" custom_css="custom"]
show_total
to make this shortcode can show total price in carttotal_text
to custom text for total price in cartWC()
instead of the global variable $woocommerce
.wccs_cart_icon_html
wccs_cart_count_html
wccs_cart_total_html