dustinallan
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Tax Calculation not updating with shipping address entered.Hey there,
I’m not doing anything with multi-site. Those caching plug-ins are just put there in the Must-Use folder by Blue Host.
Anyway, I disabled all the plugins and even switched themes to the storefront theme to test as you suggested. The checkout details started updating properly once the theme was changed. And stopped once again when I switched back. I think it’s safe to assume the theme is the culprit.
The developer of the theme I’m using hasn’t responded yet…but I found a workaround in the meanwhile. I found a snippet of code to put in the functions.php file that got it functioning properly. The snippet was actually targeting the country fields, but it wasn’t tough to figure out how to get it to target the state fields instead.
Since we know the issue isn’t with Woocommerce, I think it’s safe to close this ticket.
Thanks for all your help!
Dustin
Forum: Plugins
In reply to: [WooCommerce] Tax Calculation not updating with shipping address entered.Hi @fernashes
Unfortunately disabling those plugins, in addition to clearing the cache in the browser did not resolve the issue.
For the Must-Use plug-ins, I renamed them and then created an empty file for each one with the original file name. Would this effectively disable them?
Question. If it was a caching issue, preventing the page (or part of the page) from refreshing, wouldn’t that prevent the ‘Ship to a different address” checkbox from refreshing the tax/checkout details as well? Since toggling the checkbox does cause the checkout details to refresh and calculate properly, that leads me to believe there’s a trigger on the shipping state field specifically that is not firing as it should.
I’ve brought this up to the developers of the theme I’m using as well. I know there are template files in woocommerce that can be overridden in themes. I don’t know if that could or would cause this issue. I searched their forums, but didn’t find anything.
Any other ideas….or a direction to send me in?
Thanks!
DustinForum: Plugins
In reply to: [WooCommerce] Tax Calculation not updating with shipping address entered.Hi again @fernashes,
Great. I will look into those as soon as I have a chance. And I will certainly let you know how it goes.
Thanks again!
Forum: Plugins
In reply to: [WooCommerce] Tax Calculation not updating with shipping address entered.Hi Hannah,
Thanks for looking into this! I really appreciate it!
Any address combination that has Shipping State set to Ohio should have tax being calculated. Which it actually does do every time after the Place Order button is selected. But of course, I need it to calculate before the customer checks out.
So, if you add an item to the cart, go to checkout, the tax shows as $0. As it should because there is no shipping address yet.
Enter a Billing Address of:
First Name: Joe
Last Name: Shmoe
Country: United States
Street Address: 1234 Long Rd
City: Monroe
State: Ohio
Zip: 45036
The “Ship to a different address” checkbox is selected by defaultEnter a Shipping Address of:
First Name: Bob
Last Name: Smith
Country: United States
Street Address: 123 Some Rd
City: Cincinnati
State: Ohio
Zip: 45140After those two addresses are entered, the Tax line still reads $0.00
If I proceed to enter my card info (still reading tax = 0) and click on Place Order, the order summary will show that tax has been calculated and charged. This is bad obviously because the customer is being charged for something they were not told they would be.
If I uncheck the “Ship to a different address” the tax DOES calculate and display the appropriate amount. This is bad too though…because it does not allow the customer to ship to a different address if they wish….or, even if they’re shipping to the same address, they might not uncheck that box, and instead just re-enter the same address again manually…which would not trigger the updating of the tax line.
I’m not sure what cross-site scripting is…or what the ramifications of that would/could be.
Hopefully this helps. Thank you again!
Below is the Woocommerce system report that you requested:
### WordPress Environment ### WordPress address (URL): https://floofbeans.com Site address (URL): https://floofbeans.com WC Version: 3.6.3 Log Directory Writable: ? WP Version: 5.2.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.5 PHP Post Max Size: 80 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.64.0 OpenSSL/1.0.2r SUHOSIN Installed: – MySQL Version: 5.7.23-23 Max Upload Size: 40 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 3.6.3 WC Database Prefix: 677_ Total Database Size: 25.02MB Database Data Size: 24.32MB Database Index Size: 0.70MB 677_woocommerce_sessions: Data: 0.07MB + Index: 0.00MB 677_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB 677_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB 677_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB 677_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB 677_woocommerce_order_itemmeta: Data: 0.01MB + Index: 0.01MB 677_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB 677_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB 677_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB 677_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB 677_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB 677_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB 677_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB 677_woocommerce_log: Data: 0.00MB + Index: 0.00MB 677_adspop_products: Data: 0.02MB + Index: 0.02MB 677_adspop_recentsales: Data: 0.05MB + Index: 0.00MB 677_adsupsell: Data: 0.02MB + Index: 0.02MB 677_adsupsell_products: Data: 0.02MB + Index: 0.03MB 677_adsw_activities: Data: 0.06MB + Index: 0.01MB 677_adsw_ali_meta: Data: 0.03MB + Index: 0.00MB 677_adsw_search_analytics: Data: 0.00MB + Index: 0.01MB 677_ads_facebook_attributes: Data: 0.02MB + Index: 0.00MB 677_ads_facebook_processes: Data: 0.02MB + Index: 0.00MB 677_ads_googlemerchant_category: Data: 0.33MB + Index: 0.14MB 677_ads_googlemerchant_category_relation: Data: 0.02MB + Index: 0.03MB 677_commentmeta: Data: 0.02MB + Index: 0.02MB 677_comments: Data: 0.02MB + Index: 0.01MB 677_failed_jobs: Data: 0.00MB + Index: 0.00MB 677_links: Data: 0.00MB + Index: 0.00MB 677_mailchimp_carts: Data: 0.00MB + Index: 0.00MB 677_msp_suppliers: Data: 0.00MB + Index: 0.00MB 677_options: Data: 22.85MB + Index: 0.11MB 677_pb_templates: Data: 0.00MB + Index: 0.00MB 677_postmeta: Data: 0.50MB + Index: 0.13MB 677_posts: Data: 0.24MB + Index: 0.05MB 677_queue: Data: 0.00MB + Index: 0.00MB 677_social_users: Data: 0.00MB + Index: 0.00MB 677_termmeta: Data: 0.00MB + Index: 0.01MB 677_terms: Data: 0.00MB + Index: 0.01MB 677_term_relationships: Data: 0.00MB + Index: 0.01MB 677_term_taxonomy: Data: 0.00MB + Index: 0.01MB 677_tm_taskmeta: Data: 0.00MB + Index: 0.01MB 677_tm_tasks: Data: 0.00MB + Index: 0.00MB 677_usermeta: Data: 0.02MB + Index: 0.02MB 677_users: Data: 0.00MB + Index: 0.01MB 677_wc_download_log: Data: 0.00MB + Index: 0.00MB 677_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB 677_wc_webhooks: Data: 0.00MB + Index: 0.00MB 677_yith_wcwl: Data: 0.00MB + Index: 0.00MB 677_yith_wcwl_lists: Data: 0.00MB + Index: 0.01MB ### Post Type Counts ### attachment: 170 custom_css: 2 customize_changeset: 17 jetpack_migration: 2 jp_img_sitemap: 1 jp_sitemap: 1 jp_sitemap_master: 1 jp_vid_sitemap: 1 nav_menu_item: 20 page: 17 post: 1 product: 13 product_variation: 40 revision: 1 scheduled-action: 5 shop_coupon: 1 shop_order: 3 wpcf7_contact_form: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (24) ### VaultPress: by Automattic – 1.9.10 Ads Recent Sales Pop-Up AliDropship Plugin: by Artem Yuriev [email protected] – 0.4.3 Reviews Page: by Maxim Doronin – 1.0.4 Ads UpSell AliDropship Plugin: by Artem Yuriev [email protected] – 0.2.0 Akismet Anti-Spam: by Automattic – 4.1.2 AliDropship Social Tools: by Denis Zharov – 1.0.1 AliDropship Woo Plugin: by Vitaly Kukin & Yaroslav Nevskiy & Pavel Shishkin & Denis Zharov – 1.4.12 Classic Editor: by WordPress Contributors – 1.5 Contact Form 7: by Takayuki Miyoshi – 5.1.3 Easy WP SMTP: by wpecommerce alexanderfoxc – 1.3.9.1 Facebook for WooCommerce: by Facebook – 1.9.12 – Not tested with the active version of WooCommerce GDPR Banner: by Worcester Web Studio – 1.1.0.5 Google Analytics Dashboard for WP (GADWP): by ExactMetrics – 5.3.8 Jetpack by WordPress.com: by Automattic – 7.3.1 Mailchimp for WooCommerce: by Mailchimp – 2.1.16 – Not tested with the active version of WooCommerce MOJO Marketplace: by Mike Hansen – 1.4.5 Nextend Social Login: by Nextendweb – 3.0.20 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.16.14 WooCommerce PayPal Checkout Gateway: by WooCommerce – 1.6.14 WooCommerce Stripe Gateway: by WooCommerce – 4.1.16 WooCommerce Services: by Automattic – 1.20.0 WooCommerce: by Automattic – 3.6.3 – 3.6.4 is available WP-Optimize: by David Anderson Ruhani Rabin Team Updraft – 2.3.3 WP Super Cache: by Automattic – 1.6.5 ### Inactive Plugins (4) ### Dropship Me: by Vitaly Kukin – 1.0.1 My Suppliers: by Pavel Shishkin Denis Zharov Vitaly Kukin Victoria Kudryashova – 1.2.1 PromoBanner: by Maxim Doronin – 1.0.3 YITH WooCommerce Wishlist: by YITH – 2.2.10 ### Dropin Plugins (3) ### advanced-cache.php: advanced-cache.php db-error.php: db-error.php maintenance.php: maintenance.php ### Must Use Plugins (4) ### Endurance Browser Cache: by Mike Hansen – 0.4 Endurance Page Cache: by Mike Hansen – 1.5 Endurance PHP Edge: by Mike Hansen – 0.2 SSO: by Garth Mortensen Mike Hansen – 0.3 ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: ? ### WC Pages ### Shop base: #9 - /shop/ Cart: #10 - /cart/ Checkout: #11 - /checkout/ My account: #12 - /my-account/ Terms and conditions: #31 - /terms-and-conditions/ ### Theme ### Name: Floof Beans Version: 1.0.0 Author URL: https://floofbeans.com/ Child Theme: ? Parent Theme Name: DavinciWoo Parent Theme Version: 1.0.7 Parent Theme Author URL: https://yellowduck.me/ WooCommerce Support: ? ### Templates ### Overrides: davinciwoo/woocommerce/archive-product.php davinciwoo/woocommerce/cart/cart-empty.php davinciwoo/woocommerce/cart/cart-shipping.php davinciwoo/woocommerce/cart/cart-totals.php davinciwoo/woocommerce/cart/cart.php davinciwoo/woocommerce/cart/cross-sells.php davinciwoo/woocommerce/cart/mini-cart.php davinciwoo/woocommerce/cart/proceed-to-checkout-button.php davinciwoo/woocommerce/cart/shipping-calculator.php davinciwoo/woocommerce/checkout/cart-errors.php davinciwoo/woocommerce/checkout/form-billing.php davinciwoo/woocommerce/checkout/form-checkout.php davinciwoo/woocommerce/checkout/form-coupon.php davinciwoo/woocommerce/checkout/form-login.php davinciwoo/woocommerce/checkout/form-shipping.php davinciwoo/woocommerce/checkout/payment-method.php davinciwoo/woocommerce/checkout/payment.php davinciwoo/woocommerce/checkout/review-order.php davinciwoo/woocommerce/content-product.php davinciwoo/woocommerce/content-product_cat.php davinciwoo/woocommerce/content-single-product.php davinciwoo/woocommerce/content-widget-product.php davinciwoo/woocommerce/content-widget-reviews.php floof-beans/woocommerce/emails/customer-completed-order.php floof-beans/woocommerce/emails/customer-processing-order.php davinciwoo/woocommerce/global/form-login.php davinciwoo/woocommerce/global/quantity-input.php davinciwoo/woocommerce/global/wrapper-end.php davinciwoo/woocommerce/global/wrapper-start.php davinciwoo/woocommerce/loop/loop-end.php davinciwoo/woocommerce/loop/loop-start.php davinciwoo/woocommerce/loop/orderby.php davinciwoo/woocommerce/loop/pagination.php davinciwoo/woocommerce/loop/rating.php davinciwoo/woocommerce/myaccount/form-edit-account.php davinciwoo/woocommerce/myaccount/form-edit-address.php davinciwoo/woocommerce/myaccount/form-login.php davinciwoo/woocommerce/myaccount/form-lost-password.php davinciwoo/woocommerce/myaccount/form-reset-password.php davinciwoo/woocommerce/myaccount/lost-password-confirmation.php davinciwoo/woocommerce/myaccount/my-account.php davinciwoo/woocommerce/myaccount/my-address.php davinciwoo/woocommerce/myaccount/orders.php davinciwoo/woocommerce/order/order-details-customer.php davinciwoo/woocommerce/product-searchform.php davinciwoo/woocommerce/single-product/add-to-cart/simple.php davinciwoo/woocommerce/single-product/add-to-cart/variable.php davinciwoo/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php davinciwoo/woocommerce/single-product/meta.php davinciwoo/woocommerce/single-product/product-attributes.php davinciwoo/woocommerce/single-product/product-image.php davinciwoo/woocommerce/single-product/product-thumbnails.php davinciwoo/woocommerce/single-product/rating.php davinciwoo/woocommerce/single-product/related.php davinciwoo/woocommerce/single-product/tabs/additional-information.php davinciwoo/woocommerce/single-product/tabs/description.php davinciwoo/woocommerce/single-product/tabs/tabs.php davinciwoo/woocommerce/single-product/up-sells.php davinciwoo/woocommerce/single-product-reviews.php davinciwoo/woocommerce/single-product.php ### Action Scheduler ### Complete: 4 Oldest: 2019-05-03 21:39:53 -0400 Newest: 2019-05-24 21:42:01 -0400 Pending: 1 Oldest: 2019-05-31 21:42:02 -0400 Newest: 2019-05-31 21:42:02 -0400 Canceled: 0 Oldest: – Newest: – In-progress: 0 Oldest: – Newest: – Failed: 0 Oldest: – Newest: –
- This reply was modified 5 years, 9 months ago by Steven Stern (sterndata).
- This reply was modified 5 years, 9 months ago by Andrew Nevins. Reason: Removed email address