• Building a site for a client who needs to manually assign different tax classes on a per-order basis, based on the physical store that they assign to fulfill the order. Because each physical store is located in areas with different tax rates, we’ve created multiple “Standard” tax rates.

    In the backend of each order, when we apply any specific single tax class (for example, Tax Class #5), WooCommerce automatically adds in and applies the tax class at the top of the list (Tax Class #1). All have 0 priority, and if regardless of when I alter the priority numbers, it just automatically populates any tax class toward the top of the Class list with the highest priority, even if it was not selected from the “Add Tax” window.

    How can I get the orders to recalculate correctly with only the tax class manually selected from the “Add Tax” option?

    System Status Info:

    
    ### WordPress Environment ###
    
    Home URL: http://pm.alakartsites.com
    Site URL: http://pm.alakartsites.com
    WC Version: 3.1.2
    Log Directory Writable: ✔
    WP Version: 4.8.1
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.18 (Unix) mod_hive/6.5 OpenSSL/1.0.1e-fips mod_fastcgi/2.4.6
    PHP Version: 5.6.31
    PHP Post Max Size: 32 MB
    PHP Time Limit: 45
    PHP Max Input Vars: 1000
    cURL Version: 7.53.0
    OpenSSL/1.0.2k
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.36
    Max Upload Size: 24 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.1.2
    WC Database Prefix: wp_
    woocommerce_sessions: ✔
    woocommerce_api_keys: ✔
    woocommerce_attribute_taxonomies: ✔
    woocommerce_downloadable_product_permissions: ✔
    woocommerce_order_items: ✔
    woocommerce_order_itemmeta: ✔
    woocommerce_tax_rates: ✔
    woocommerce_tax_rate_locations: ✔
    woocommerce_shipping_zones: ✔
    woocommerce_shipping_zone_locations: ✔
    woocommerce_shipping_zone_methods: ✔
    woocommerce_payment_tokens: ✔
    woocommerce_payment_tokenmeta: ✔
    
    ### Security ###
    
    Secure connection (HTTPS): ❌Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ✔
    
    ### Active Plugins (33) ###
    
    BackWPup: by Inpsyde GmbH – 3.4.1
    Beaver Builder Plugin (Agency Version): by The Beaver Builder Team – 1.10.7.1
    Beaver Themer: by The Beaver Builder Team – 1.0.1.2
    Ultimate Addon for Beaver Builder: by Brainstorm Force – 1.6.1
    Contact Form 7 Conditional Fields: by Jules Colle – 1.3.4
    Contact Form 7 IE DatePicker and Number Spinner Fix: by Benjamin Klein – 2.6
    Contact Form 7: by Takayuki Miyoshi – 4.8.1
    Easy Social Icons: by cybernetikz – 3.0.5
    Insert PHP Code Snippet: by xyzscripts.com – 1.2.1
    Instagram Feed: by Smash Balloon – 1.4.9
    Custom Login Page Customizer: by Hardeep Asrani – 1.1.0
    MailChimp for WordPress: by ibericode – 4.1.6
    Ninja Forms - Conditional Logic: by The WP Ninjas – 3.0.16
    Ninja Forms - PDF Form Submissions: by Never5 – 3.0.3
    Ninja Forms - Layout & Styles: by The WP Ninjas – 3.0.21
    Ninja Forms: by The WP Ninjas – 3.1.9
    Snapshot Pro: by WPMU DEV – 3.1.4
    The Events Calendar: by Modern Tribe
    Inc. – 4.5.10
    
    Widget Logic: by wpchefgadget
    alanft – 5.8.2
    
    WooCommerce Stripe Gateway: by WooCommerce – 3.2.2
    WooCommerce: by Automattic – 3.1.2
    WordPress Importer: by wordpressdotorg – 0.6.3
    WP Defender Pro: by WPMU DEV – 1.7
    WP File Manager: by mndpsingh287 – 1.6
    Hummingbird Pro: by WPMU DEV – 1.6.0
    WP Job Manager - Applications: by Automattic – 2.2.6
    WP Job Manager Field Editor: by Myles McNamara – 1.7.2
    WP Job Manager: by Automattic – 1.28.0
    WP Smush Pro: by WPMU DEV – 2.7.4.1
    WPMU DEV Dashboard: by WPMU DEV – 4.3.2
    YITH WooCommerce Ajax Product Filter Premium: by YITHEMES – 3.4.3
    YITH WooCommerce Ajax Search Premium: by YITHEMES – 1.5.5
    YITH Woocommerce Request A Quote Premium: by YITHEMES – 1.7.7
    
    ### 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)
    
    ### WC Pages ###
    
    Shop base: #1155 - /catering/order/
    Cart: #413 - /cart/
    Checkout: #414 - /checkout/
    My account: #415 - /my-account/
    
    ### Theme ###
    
    Name: Beaver Builder Child Theme
    Version: 1.0
    Author URL: http://www.fastlinemedia.com
    Child Theme: ✔
    Parent Theme Name: Beaver Builder Theme
    Parent Theme Version: 1.6.1
    Parent Theme Author URL: http://www.wpbeaverbuilder.com/?utm_medium=bb-pro&utm_source=bb-theme&utm_campaign=themes-admin-page
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: bb-theme-child/woocommerce/emails/customer-invoice.php version - is out of date. The core version is 2.5.0
    Outdated Templates: ❌Learn how to update
    

    Thanks for any help or suggestions!

    The page I need help with: [log in to see the link]

  • The topic ‘Manually assigning tax class?’ is closed to new replies.