Displays total sales of a WooCommerce product

SIP Social Proof

Shortcode: [total_sales]

Variables accepted:

  • id: the ID of the WooCommerce product you want to display stats for. To be used when you write the shortcode in a post or page (not inside the shop pages or single product text boxes in plugin settings).
  • singular: word to use when output is 1. Example singular="time".
  • plural: word to use when output higher than 1. Example plural="times".

This product was bought [total_sales ID="123" singular="time" plural="times"]


This product was bought 63 times!