{"action":"created","issue":{"url":"https://api.github.com/repos/woocommerce/woocommerce/issues/14331","repository_url":"https://api.github.com/repos/woocommerce/woocommerce","labels_url":"https://api.github.com/repos/woocommerce/woocommerce/issues/14331/labels{/name}","comments_url":"https://api.github.com/repos/woocommerce/woocommerce/issues/14331/comments","events_url":"https://api.github.com/repos/woocommerce/woocommerce/issues/14331/events","html_url":"https://github.com/woocommerce/woocommerce/issues/14331","id":221475915,"number":14331,"title":"Woocommerce 3.0.2 tax display issue","user":{"login":"jkhopkins","id":27403815,"avatar_url":"https://avatars0.githubusercontent.com/u/27403815?v=3","gravatar_id":"","url":"https://api.github.com/users/jkhopkins","html_url":"https://github.com/jkhopkins","followers_url":"https://api.github.com/users/jkhopkins/followers","following_url":"https://api.github.com/users/jkhopkins/following{/other_user}","gists_url":"https://api.github.com/users/jkhopkins/gists{/gist_id}","starred_url":"https://api.github.com/users/jkhopkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkhopkins/subscriptions","organizations_url":"https://api.github.com/users/jkhopkins/orgs","repos_url":"https://api.github.com/users/jkhopkins/repos","events_url":"https://api.github.com/users/jkhopkins/events{/privacy}","received_events_url":"https://api.github.com/users/jkhopkins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2017-04-13T07:00:51Z","updated_at":"2017-04-13T10:48:16Z","closed_at":null,"body":"### EXPLANATION OF THE ISSUE\r\n\r\nI always enter prices including tax and I've set Woocommerce to always display prices including tax, so the price I enter is the same price which shows on the website.  Now, since updating to 3.0.2, the frontend is adding tax on top of the price even though it already includes tax.\r\nExample:\r\nI enter a product with a price of $200 including tax, it should display on the website as $200, but instead it is showing as $220 because it's adding the tax again (GST 10% tax).\r\n\r\n### STEPS TO REPRODUCE THE ISSUE\r\n\r\nMy settings are:\r\nPrices entered with tax:  Yes, I will enter prices inclusive of tax\r\nCalculate tax based on:  Customer shipping address\t\r\nShipping tax class:  Standard\r\nRounding:  unticked\r\nAdditional tax classes:  none\t\r\nDisplay prices in the shop:  Including tax\r\nDisplay prices during cart and checkout\t:  Including tax\r\nPrice display suffix:  inc. GST\r\nDisplay tax totals:  Itemized\r\n\r\nI've tried toggling the setting between \"Yes, I will enter prices inclusive of tax\" and \"No, I will enter prices exclusive of tax\" and it makes no difference, it still shows the price on the frontend with tax added.\r\nI've also tried it with all plugins disabled, and different themes, but problem persists.\r\n\r\n### SYSTEM STATUS\r\n\r\n<details>\r\n```\r\n`\r\n### WordPress Environment ###\r\n\r\nHome URL: http://dev.jkhopkins.com.au\r\nSite URL: http://dev.jkhopkins.com.au\r\nWC Version: 3.0.2\r\nLog Directory Writable: ✔\r\nWP Version: 4.7.3\r\nWP Multisite: –\r\nWP Memory Limit: 4 GB\r\nWP Debug Mode: –\r\nWP Cron: ✔\r\nLanguage: en\r\n\r\n### Server Environment ###\r\n\r\nServer Info: LiteSpeed\r\nPHP Version: 5.6.30\r\nPHP Post Max Size: 100 MB\r\nPHP Time Limit: 900\r\nPHP Max Input Vars: 5000\r\ncURL Version: 7.36.0\r\nOpenSSL/1.0.1e\r\n\r\nSUHOSIN Installed: –\r\nMax Upload Size: 100 MB\r\nDefault Timezone is UTC: ✔\r\nfsockopen/cURL: ✔\r\nSoapClient: ✔\r\nDOMDocument: ✔\r\nGZip: ✔\r\nMultibyte String: ✔\r\nRemote Post: ✔\r\nRemote Get: ✔\r\n\r\n### Database ###\r\n\r\nWC Database Version: 3.0.2\r\nWC Database Prefix: wp_\r\nwoocommerce_sessions: ✔\r\nwoocommerce_api_keys: ✔\r\nwoocommerce_attribute_taxonomies: ✔\r\nwoocommerce_downloadable_product_permissions: ✔\r\nwoocommerce_order_items: ✔\r\nwoocommerce_order_itemmeta: ✔\r\nwoocommerce_tax_rates: ✔\r\nwoocommerce_tax_rate_locations: ✔\r\nwoocommerce_shipping_zones: ✔\r\nwoocommerce_shipping_zone_locations: ✔\r\nwoocommerce_shipping_zone_methods: ✔\r\nwoocommerce_payment_tokens: ✔\r\nwoocommerce_payment_tokenmeta: ✔\r\nMaxMind GeoIP Database: ✔\r\n\r\n### Security ###\r\n\r\nSecure connection (HTTPS): ❌Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.\r\nHide errors from visitors: ✔\r\n\r\n### Active Plugins (12) ###\r\n\r\nRedux Framework: by Team Redux – 3.6.4\r\nXTEMOS Post Types plugin: by  – 1.1\r\nCMB2: by WebDevStudios – 2.2.4\r\nContact Form 7: by Takayuki Miyoshi – 4.7\r\nWPBakery Visual Composer: by Michael M - WPBakery.com – 5.1.1\r\nLimit Login Attempts: by Johan Eenfeldt – 1.7.1\r\nLiteSpeed Cache: by LiteSpeed Technologies – 1.0.14.1\r\nRegenerate Thumbnails: by Alex Mills (Viper007Bond) – 2.2.6\r\nSlider Revolution: by ThemePunch – 5.4.1\r\nWooCommerce: by Automattic – 3.0.2\r\nYITH WooCommerce Compare: by YITHEMES – 2.2.0\r\nYITH WooCommerce Wishlist: by YITHEMES – 2.1.0\r\n\r\n### Settings ###\r\n\r\nAPI Enabled: ✔\r\nForce SSL: ✔\r\nCurrency: AUD ($)\r\nCurrency Position: left\r\nThousand Separator: ,\r\nDecimal Separator: .\r\nNumber of Decimals: 0\r\nTaxonomies: Product Types: external (external)\r\ngrouped (grouped)\r\nsimple (simple)\r\nvariable (variable)\r\n\r\nTaxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)\r\nexclude-from-search (exclude-from-search)\r\nfeatured (featured)\r\noutofstock (outofstock)\r\nrated-1 (rated-1)\r\nrated-2 (rated-2)\r\nrated-3 (rated-3)\r\nrated-4 (rated-4)\r\nrated-5 (rated-5)\r\n\r\n\r\n### WC Pages ###\r\n\r\nShop base: #4 - /shop/\r\nCart: #5 - /cart/\r\nCheckout: #6 - /checkout/\r\nMy account: #7 - /my-account/\r\n\r\n### Theme ###\r\n\r\nName: Basel\r\nVersion: 3.1.1\r\nAuthor URL: http://themeforest.net/user/xtemos\r\nChild Theme: ❌ – If you're modifying WooCommerce on a parent theme you didn't build personally\r\nthen we recommend using a child theme. See: How to create a child theme\r\n\r\nWooCommerce Support: ✔\r\n\r\n### Templates ###\r\n\r\nOverrides: basel/woocommerce/archive-product.php\r\nbasel/woocommerce/cart/cart.php\r\nbasel/woocommerce/cart/cross-sells.php\r\nbasel/woocommerce/cart/mini-cart.php\r\nbasel/woocommerce/checkout/form-checkout.php\r\nbasel/woocommerce/content-product.php\r\nbasel/woocommerce/content-product_cat.php\r\nbasel/woocommerce/content-single-product.php version 1.6.4 is out of date. The core version is 3.0.0\r\nbasel/woocommerce/global/breadcrumb.php\r\nbasel/woocommerce/global/quantity-input.php\r\nbasel/woocommerce/loop/loop-end.php\r\nbasel/woocommerce/loop/loop-start.php\r\nbasel/woocommerce/loop/no-products-found.php\r\nbasel/woocommerce/loop/orderby.php\r\nbasel/woocommerce/loop/pagination.php\r\nbasel/woocommerce/loop/sale-flash.php\r\nbasel/woocommerce/myaccount/form-login.php\r\nbasel/woocommerce/product-searchform.php\r\nbasel/woocommerce/single-product/add-to-cart/variable.php\r\nbasel/woocommerce/single-product/meta.php\r\nbasel/woocommerce/single-product/product-image.php version 3.0.0 is out of date. The core version is 3.0.2\r\nbasel/woocommerce/single-product/product-thumbnails.php version 3.0.0 is out of date. The core version is 3.0.2\r\nbasel/woocommerce/single-product/related.php\r\nbasel/woocommerce/single-product/tabs/tabs.php\r\nbasel/woocommerce/single-product/title.php\r\nbasel/woocommerce/single-product/up-sells.php\r\nbasel/woocommerce/single-product.php\r\n\r\nOutdated Templates: ❌Learn how to update\r\n`\r\n```\r\n</details>\r\n\r\n<!--\r\nBEFORE POSTING YOUR ISSUE\r\n- These comments won't show up when you submit the issue.\r\n- Try to add as much detail as possible. Be specific!\r\n- GitHub issues ARE NOT FOR SUPPORT! If you have questions, use the either:\r\n  - https://wordpress.org/support/plugin/woocommerce for general support\r\n  - https://woocommerce.com/my-account/tickets/ for premium plugin support\r\n- If you're requesting a new feature, explain why you'd like it to be added.\r\n- Search this repository (top of the page) for the issue and it has not been fixed or reported already.\r\n\r\nBefore logging BUGS, ensure you:\r\n- Use the latest stable release of WooCommerce.\r\n- Disabled all plugins to ensure it's a core bug and not a plugin issue.\r\n- Switched to Twenty Twelve theme to ensure it's a core bug and not a theme issue.\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/woocommerce/woocommerce/issues/comments/293856500","html_url":"https://github.com/woocommerce/woocommerce/issues/14331#issuecomment-293856500","issue_url":"https://api.github.com/repos/woocommerce/woocommerce/issues/14331","id":293856500,"user":{"login":"mensmaximus","id":4742179,"avatar_url":"https://avatars3.githubusercontent.com/u/4742179?v=3","gravatar_id":"","url":"https://api.github.com/users/mensmaximus","html_url":"https://github.com/mensmaximus","followers_url":"https://api.github.com/users/mensmaximus/followers","following_url":"https://api.github.com/users/mensmaximus/following{/other_user}","gists_url":"https://api.github.com/users/mensmaximus/gists{/gist_id}","starred_url":"https://api.github.com/users/mensmaximus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mensmaximus/subscriptions","organizations_url":"https://api.github.com/users/mensmaximus/orgs","repos_url":"https://api.github.com/users/mensmaximus/repos","events_url":"https://api.github.com/users/mensmaximus/events{/privacy}","received_events_url":"https://api.github.com/users/mensmaximus/received_events","type":"User","site_admin":false},"created_at":"2017-04-13T10:48:16Z","updated_at":"2017-04-13T10:48:16Z","body":"The issue stems from $content. In case $value is 'parent' the variable $content contains '1' instead of 'view'."}}
{"actor":{"display_login":"mensmaximus"}}