{"id":30988,"date":"2014-08-08T02:21:43","date_gmt":"2014-08-08T02:21:43","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/woocommerce-total-sales-shortcode\/"},"modified":"2016-02-08T06:30:26","modified_gmt":"2016-02-08T06:30:26","slug":"woocommerce-total-sales-shortcode","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/woocommerce-total-sales-shortcode\/","author":10650334,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.0","stable_tag":"1.1.0","tested":"4.3.0","requires":"4.0.0","requires_php":"","requires_plugins":"","header_name":"WooCommerce Total Sales Shortcode","header_author":"Bryce Adams","header_description":"","assets_banners_color":"7e7460","last_updated":"2016-02-08 06:30:26","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/bryceadams.com","header_plugin_uri":"http:\/\/bryceadams.com\/","header_author_uri":"http:\/\/bryceadams.com\/","rating":4,"author_block_rating":0,"active_installs":20,"downloads":2062,"num_ratings":0,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":0,"4":0,"5":"3"},"assets_icons":[],"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"962221","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"962221","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"962221","resolution":"1","location":"assets"}},"screenshots":{"1":"People seem to like screenshots so here's a screenshot of me typing it in to the text editor."}},"plugin_section":[],"plugin_tags":[332,66655,42238,42239,286],"plugin_category":[45],"plugin_contributors":[79589],"plugin_business_model":[],"class_list":["post-30988","plugin","type-plugin","status-closed","hentry","plugin_tags-sales","plugin_tags-sales-shortcode","plugin_tags-total-sales","plugin_tags-total-sales-shortcode","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-bryceadams","plugin_committers-bryceadams","plugin_committers-captaintheme"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/woocommerce-total-sales-shortcode_7e7460.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/woocommerce-total-sales-shortcode\/assets\/screenshot-1.png?rev=962221","caption":"People seem to like screenshots so here's a screenshot of me typing it in to the text editor."}],"raw_content":"<!--section=description-->\n<p>You may want to show off your site's total sales, orders or a percent of its total sales on the front-end of your site. This plugin adds a new shortcode <code>[wctss_total_sales]<\/code>, that will do just that!<\/p>\n\n<p><strong>Example Use:<\/strong><\/p>\n\n<ul>\n<li>Show off your site's total sales or orders<\/li>\n<li>You donate a percent of your site's sales to charity - easily display the dynamic amount that has been donated<\/li>\n<li>You want to brag to your customers how much money you're making<\/li>\n<li>You want to show your customers that you're not selling anything and as such, need their money more than ever<\/li>\n<li>You tell me!<\/li>\n<\/ul>\n\n<p><strong>Using the Shortcode:<\/strong><\/p>\n\n<p>The Shortcode: <code>[wctss_total_sales]<\/code><\/p>\n\n<p>The shortcode has three optional attributes:<\/p>\n\n<ul>\n<li><code>percent<\/code> - integer: eg. <strong>10<\/strong>, would display 10% of your total sales<\/li>\n<li><code>before<\/code> - string, <strong>$<\/strong> by default: eg. <strong>\u0e3f<\/strong>, would display \u0e3f35,000 (if your total sales were 35,000)<\/li>\n<li><code>after<\/code> - string: eg. <strong>Total Sales<\/strong>, you may want to add an empty space before so there's a gap between the amount and this text<\/li>\n<\/ul>\n\n<p><strong>So for example:<\/strong><\/p>\n\n<pre><code>[wctss_total_sales percent=\"50\" before=\"\u20ac\" after=\" Donated to My Comic Book Collection!\u201d]\n<\/code><\/pre>\n\n<p><strong>Would display:<\/strong><\/p>\n\n<pre><code>\u20ac5,250.42 Donated to My Comic Book Collection!\n<\/code><\/pre>\n\n<p>Awesome! Right? I hope so...<\/p>\n\n<p>Since 1.1.0 there's a <strong><em>new shortcode<\/em><\/strong>! <code>[wctss_total_orders]<\/code><\/p>\n\n<!--section=installation-->\n<p>I'll make this as simple as possible.<\/p>\n\n<ol>\n<li>Either download the plugin and upload it or search for it under <strong>Plugins &gt; Add New<\/strong>. Activate it, too.<\/li>\n<li>Use the <code>[wctss_total_sales]<\/code> shortcode.<\/li>\n<li>Be awesome!<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>It's all going to hell and I need help!<\/dt>\n<dd><p>Please calm down and start a support thread. Also, read the documentation \/ plugin information again - it's pretty simple.<\/p><\/dd>\n<dt>It's just showing $0.00!<\/dt>\n<dd><p>Make sure you're running the latest version of WooCommerce, or at least WC 2.5.0. Also make sure you have some orders that are either marked 'completed', 'processing' and\/or 'on-hold'.<\/p><\/dd>\n<dt>Can you add this xx amazing feature? It'll get you so many more downloads!<\/dt>\n<dd><p>Open up a support thread with your brilliant idea and we'll try to make it possible.<\/p><\/dd>\n<dt>What about foo bar?<\/dt>\n<dd><p>Not helping you out this time either.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>WooCommerce 2.5 compatibility<\/li>\n<li>Added [wctss_total_orders] shortcode<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>The day it all began.<\/li>\n<\/ul>","raw_excerpt":"Show off your site&#039;s total sales, orders or a percent of its sales with a simple shortcode!","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/30988","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=30988"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/captaintheme"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=30988"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=30988"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=30988"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=30988"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=30988"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=30988"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}