Gravity Perks
Gravity Connect
Gravity Shop
Snippet Library
Blog
Account
Introducing Gravity Connect
•
Save up to 40% for a limited time with coupon
GCLAUNCH
•
Learn More
Gravity Wiz
Gravity Perks
Gravity Perks
A suite of 47+ Gravity Forms addons
Product Details
Pricing
Documentation
Gravity Connect
Gravity Connect
Connect Gravity Forms to top-shelf services
Product Details
Pricing
Documentation
Gravity Shop
Gravity Shop
Bridging Gravity Forms & WooCommerce
Product Details
Pricing
Documentation
Snippet Library
Blog
Account
Log In
Support
Menu
Snippets
WooCommerce
Snippet Library
/
WooCommerce
php
Shortcode: Product Sales Count
Return the total number of sales for a given product. Example: [wc_product_sales_count product_id="123"]