Title: Storefront Theme Compatibility
Last modified: March 3, 2018

---

# Storefront Theme Compatibility

 *  Resolved [Brad Griffin](https://wordpress.org/support/users/burlesonbrad/)
 * (@burlesonbrad)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/storefront-theme-compatibility/)
 * Has this plugin ever been tested on the Storefront Theme?
    Here’s what I’m getting
   on [https://emojithreads.com](https://emojithreads.com) On the shop page, nothing
   is displaying [https://emojithreads.com/shop/](https://emojithreads.com/shop/)
   On a /product-category/ page, nothing is displaying And, then again on a product
   page there’s no number appearing [https://emojithreads.com/shop/emoji-shirt/poop-emoji-shirt/](https://emojithreads.com/shop/emoji-shirt/poop-emoji-shirt/)
 * I’m gonna dig and try to figure it out, but I thought I’d also post here as well.
   That way if anyone else has the same dilemma they can find the solution as well.
 * Again we’re looking at official WooCommerce Theme called Storefront.
 * [https://gist.github.com/BurlesonBrad/8412271be97cb05ad38caad051064349](https://gist.github.com/BurlesonBrad/8412271be97cb05ad38caad051064349)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fstorefront-theme-compatibility%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Shiva Shanker Bhatta](https://wordpress.org/support/users/shivashankerbhatta/)
 * (@shivashankerbhatta)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/storefront-theme-compatibility/#post-10040553)
 * As I’ve gone through the provided shop achieve, I found the products don’t have
   pricing area. Since the plugin appends the Total Sales number with the product
   price, it would not applicable for those kind of shop page setting.
 *  Thread Starter [Brad Griffin](https://wordpress.org/support/users/burlesonbrad/)
 * (@burlesonbrad)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/storefront-theme-compatibility/#post-10041236)
 * Ok, Thanks for the reply. I’ve put the `price` back on the /shop/ page here: 
   [https://emojithreads.com/shop/](https://emojithreads.com/shop/)
 * And while the /product-category/ page for /emoji-shirts/ was using shortcodes
   to display products, that might be the reason that the total sales were not showing
   on that archives page.
 * So let’s look at another /product-category/ page that is simply default and is
   not using shortcodes to create the page: [https://emojithreads.com/product-category/emoji-coffee-mugs/](https://emojithreads.com/product-category/emoji-coffee-mugs/)
   When we look at that /product-category/ archive page we see the total sales are
   still not being displayed on the Storefront Theme.
 * Then on a /single-product/ template page, we see the sold number of items not
   appearing as well: [https://emojithreads.com/shop/emoji-shirt/poop-emoji-shirt/](https://emojithreads.com/shop/emoji-shirt/poop-emoji-shirt/)
 * Any thoughts as to why? Thanks!
 *  Plugin Author [Shiva Shanker Bhatta](https://wordpress.org/support/users/shivashankerbhatta/)
 * (@shivashankerbhatta)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/storefront-theme-compatibility/#post-10042550)
 * I have recently checked the plugin with latest WordPress (4.9.4),latest WooCommerce(
   3.3.3), latest Woo Total Sales (3.1.0) and latest Storefront theme (2.2.8); it
   is working as expected.
    Would you please paste the shorcodes that you’ve included
   in your product page/template? For your kind information,`[awts-total-sales product_id
   ="0" include_setting="true/false"]` shortcodes.
 * > awts-total-sales
 *  – Main shortcodes
 * > product_id
 *  – Intended valid product id
 * > include_setting
 *  – Option to include/exclude default Woo Totals Sales visibility setting. Default
   is “true”.
 * So, this is specific for each of the product. For example if you are trying to
   fetch the total sales of the product id “98”, the shortcodes should be`[awts-
   total-sales product_id="98" include_setting="true"]`, in the similar way for 
   product id “50”, `[awts-total-sales product_id="98" include_setting="true"]` 
   is the respective total sales shortcodes. Meaning, as mentioned above, product
   id must be specific.
 * You can find those in details in plugin features section:
    [https://wordpress.org/plugins/woo-total-sales/](https://wordpress.org/plugins/woo-total-sales/)
 *  Plugin Author [Shiva Shanker Bhatta](https://wordpress.org/support/users/shivashankerbhatta/)
 * (@shivashankerbhatta)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/storefront-theme-compatibility/#post-10042563)
 * Or, another scenario might be; missing “%d” in the “Singular total sales text”
   and “Plural total sales text”. In this case, it should be
 * > “%d Happy Buyer”
 *  and
 * > “%d Happy Buyers”.
 *  Would you also confirm on that too?
 *  Thread Starter [Brad Griffin](https://wordpress.org/support/users/burlesonbrad/)
 * (@burlesonbrad)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/storefront-theme-compatibility/#post-10042755)
 * No shortcodes were being used. And, the main thing I was wanting to see was the
   total sales on the `single-product.php` template.
 * Settings = [http://prntscr.com/iney32](http://prntscr.com/iney32)
 * Adding the `%d` fixed it 😉
 *  Plugin Author [Shiva Shanker Bhatta](https://wordpress.org/support/users/shivashankerbhatta/)
 * (@shivashankerbhatta)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/storefront-theme-compatibility/#post-10044428)
 * Okay, glad to hear that. If you have time, rating and review for the plugin is
   truly appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Storefront Theme Compatibility’ is closed to new replies.

 * ![](https://ps.w.org/woo-total-sales/assets/icon-256-256.png?rev=1460775)
 * [Total Sales Counts for WooCommerce](https://wordpress.org/plugins/woo-total-sales/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-total-sales/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-total-sales/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-total-sales/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-total-sales/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-total-sales/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Shiva Shanker Bhatta](https://wordpress.org/support/users/shivashankerbhatta/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/storefront-theme-compatibility/#post-10044428)
 * Status: resolved