Shortcode: Product Sales Count
Return the total number of sales for a given product.
Example: [wc_product_sales_count product_id=”123″]
Instructions
See “Where do I put snippets?” in our documentation for installation instructions.
Code
Filename: gw-shortcode-product-sales-count.php
This code works great. Just wondering if it can limit by time period? Like the sold count in last 1 week?
This would require additional customization. If you are a Gravity Perks customer, reach out to support and we’ll be happy to dig into what adding support for this would entail.