Per class shipping not working
-
I have multiple shipping classes set up and linked to specific product types since many of the items ship separately. It seemed to be working fine a few days ago. When you go to the cart or checkout page it showed a separate section for each product type that had different shipping classes with an option to select the available shipping methods. Now it is merging them all into one section so the correct classes can’t be applied to specific items.
For instance, I offer a free shipping without tracking option for stickers. If you add a sticker and a t-shirt to the cart, it should show separate shipping options for each item. However it is combining the classes and showing free shipping for the whole order, which means the t-shirt doesn’t get charged shipping.
- This topic was modified 1 year, 12 months ago by aneresnyy.
The page I need help with: [log in to see the link]
-
Hello @aneresnyy,
Can you please navigate to
WooCommerce > Settings > Shipping
and check if the following option is selected for the shipping zone you’re testing with?
Link to image: https://d.pr/i/S12ltZLook forward to hearing back from you.
Yes, that option is selected for all my shipping zones. It was working correctly and then just stopped recently, but I had not made any changes to the settings during that period.
Hi @aneresnyy
Firstly, I apologize for the delayed response.
Can you please share with us a screenshot of your Shipping Settings for us to check this further?
If you don’t already have a screenshot service installed, you can try https://snipboard.io or https://skitch.com/. You can share the direct link to the image as a response to this topic.
Additionally, I’d like to understand your site properly, can you please share your System Status Report, that will help us further troubleshoot.
You can find it via
WooCommerce > Status
. SelectGet system report
and thenCopy for support
. Once you’ve done that, you can paste it into your reply here.Thanks!
https://snipboard.io/dYae6c.jpg
https://snipboard.io/CgG0zI.jpg
https://snipboard.io/KADSE1.jpg
### WordPress Environment ### WordPress address (URL): https://kteezwonderland.com Site address (URL): https://kteezwonderland.com WC Version: 7.1.0 REST API Version: ? 7.1.0 WC Blocks Version: ? 8.7.5 Action Scheduler Version: ? 3.5.2 Log Directory Writable: ? WP Version: 6.1.1 WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.33 PHP Post Max Size: 256 MB PHP Time Limit: 120 PHP Max Input Vars: 3000 cURL Version: 7.66.0 OpenSSL/1.1.1q-fips SUHOSIN Installed: – MySQL Version: 5.7.39-42-log Max Upload Size: 256 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 7.1.0 WC Database Prefix: jwu_ Total Database Size: 44.55MB Database Data Size: 37.99MB Database Index Size: 6.56MB jwu_woocommerce_sessions: Data: 0.03MB + Index: 0.02MB + Engine InnoDB jwu_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jwu_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jwu_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB jwu_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jwu_woocommerce_order_itemmeta: Data: 0.11MB + Index: 0.03MB + Engine InnoDB jwu_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB jwu_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jwu_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jwu_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jwu_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jwu_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jwu_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jwu_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jwu_acfw_store_credits: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jwu_actionscheduler_actions: Data: 1.02MB + Index: 0.64MB + Engine InnoDB jwu_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jwu_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jwu_actionscheduler_logs: Data: 0.30MB + Index: 0.25MB + Engine InnoDB jwu_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jwu_comments: Data: 0.05MB + Index: 0.09MB + Engine InnoDB jwu_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jwu_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB jwu_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB jwu_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB jwu_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB jwu_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jwu_jet_smart_filters_indexer: Data: 0.06MB + Index: 0.00MB + Engine InnoDB jwu_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jwu_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jwu_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jwu_options: Data: 7.03MB + Index: 0.16MB + Engine InnoDB jwu_postmeta: Data: 17.48MB + Index: 2.86MB + Engine InnoDB jwu_posts: Data: 10.31MB + Index: 0.30MB + Engine InnoDB jwu_redirection_404: Data: 0.02MB + Index: 0.05MB + Engine InnoDB jwu_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jwu_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB jwu_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB jwu_rtafar_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jwu_search_filter_cache: Data: 0.05MB + Index: 0.05MB + Engine InnoDB jwu_search_filter_term_results: Data: 0.02MB + Index: 0.05MB + Engine InnoDB jwu_termmeta: Data: 0.14MB + Index: 0.17MB + Engine InnoDB jwu_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jwu_term_relationships: Data: 0.08MB + Index: 0.06MB + Engine InnoDB jwu_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB jwu_usermeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB jwu_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB jwu_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB jwu_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB jwu_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jwu_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jwu_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jwu_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jwu_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB jwu_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB jwu_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB jwu_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jwu_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jwu_wc_product_meta_lookup: Data: 0.06MB + Index: 0.09MB + Engine InnoDB jwu_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jwu_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jwu_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jwu_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB jwu_woo_shippment_provider: Data: 0.09MB + Index: 0.00MB + Engine InnoDB jwu_wt_abandonment_coupon: Data: 0.02MB + Index: 0.00MB + Engine InnoDB jwu_wt_sc_coupon_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ### Post Type Counts ### attachment: 482 custom_css: 1 elementor_font: 1 elementor_library: 17 elementor_snippet: 2 jet-smart-filters: 6 jet-woo-builder: 4 nav_menu_item: 32 page: 11 post: 2 product: 116 product_variation: 529 revision: 752 search-filter-widget: 1 shop_coupon: 7 shop_order: 10 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (25) ### Akismet Anti-Spam: by Automattic – 5.0.2 Astra Pro: by Brainstorm Force – 3.9.3 Classic Editor: by WordPress Contributors – 1.6.2 Custom Adobe Fonts (Typekit): by Brainstorm Force – 1.0.18 Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5 Elementor Pro: by Elementor.com – 3.8.2 Elementor: by Elementor.com – 3.8.1 Facebook for WooCommerce: by Facebook – 3.0.5 JetSmartFilters: by Crocoblock – 3.0.2 JetWooBuilder For Elementor: by Crocoblock – 2.1.0 Jetpack: by Automattic – 11.5.1 Mailchimp for WooCommerce: by Mailchimp – 2.7.6 Mime Types Plus: by Katsushi Kawamori – 2.03 Printful Integration for WooCommerce: by Printful – 2.1.34 Printify Shipping Method: by Printify – 2.7 Redirection: by John Godley – 5.3.5 SiteGround Optimizer: by SiteGround – 7.2.9 Ultimate Addons for Elementor: by Brainstorm Force – 1.36.13 Advanced Shipment Tracking for WooCommerce: by zorem – 3.5.1 WooCommerce Conditional Shipping and Payments: by WooCommerce – 1.14.4 WooCommerce Payments: by Automattic – 5.1.2 WooCommerce PayPal Payments: by WooCommerce – 2.0.0 WooCommerce Shipping & Tax: by WooCommerce – 2.1.0 WooCommerce: by Automattic – 7.1.0 Smart Coupons for WooCommerce Pro: by WebToffee – 2.0.6 ### Inactive Plugins (3) ### Advanced Coupons for WooCommerce Free: by Rymera Web Co – 4.5.1.1 Better Find and Replace: by CodeSolz – 1.4.2 Yoast SEO: by Team Yoast – 19.11 ### 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) subscription (subscription) variable (variable) variable subscription (variable-subscription) 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: ? Enforce Approved Product Download Directories: – ### WC Pages ### Shop base: #5 - / Cart: #6 - /cart/ Checkout: #7 - /checkout/ My account: ? Page does not contain the [woocommerce_my_account] shortcode. Terms and conditions: #1170 - /terms/ ### Theme ### Name: Astra Version: 3.9.4 Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: – ### Subscriptions ### WCS_DEBUG: ? No Subscriptions Mode: ? Live Subscriptions Live URL: https://kteezwonderland.com Subscription Statuses: – WooCommerce Account Connected: ? Yes Active Product Key: ? No ### Store Setup ### Country / State: United States (US) — New York ### Payment Gateway Support ### WooCommerce Payments: products refunds multiple_subscriptions subscription_cancellation subscription_payment_method_change_admin subscription_payment_method_change_customer subscription_payment_method_change subscription_reactivation subscription_suspension subscriptions gateway_scheduled_payments tokenization add_payment_method ### WooCommerce PayPal Payments ### Onboarded: ? Shop country code: US WooCommerce currency supported: ? Advanced Card Processing available in country: ? Pay Later messaging available in country: ? Webhook status: – Vault enabled: ? Logging enabled: – Reference Transactions: – Used PayPal Checkout plugin: – Tracking enabled: – ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience settings Daily Cron: ? Next scheduled: 2022-12-06 11:02:14 -05:00 Options: ? Notes: 112 Onboarding: completed ### WooCommerce Payments ### Version: 5.1.2 Connected to WPCOM: Yes Blog ID: 203121508 Account ID: acct_1KW5KP2EKiFEpMsr ### Action Scheduler ### Complete: 1,626 Oldest: 2022-11-05 00:12:45 -0400 Newest: 2022-12-05 22:10:05 -0500 Failed: 2 Oldest: 2022-11-04 09:59:47 -0400 Newest: 2022-11-14 00:08:11 -0500 Pending: 2 Oldest: 2022-12-06 08:39:32 -0500 Newest: 2022-12-06 10:59:50 -0500 ### Status report information ### Generated at: 2022-12-05 22:46:14 -05:00
Hi there @aneresnyy,
Thank you for reaching back, with the site’s System Status Report (SSR).
Per class shipping not working
I am checking out the site at https://kteezwonderland.com/cart/, following the instructions to add a sticker and a t-shirt to the cart.
From what I gather, it all appears to be working as expected as, when I only have the sticker in the cart, I see the “Free shipping / NO TRACKING” option pre-selected, while, when having both the sticker and a t-shirt at checkout, I can see the “Flat rate w/ tracking” selected.
Kindly update us on the issue’s status, please; we will be standing by for your response.
I temporarily added a condition to hide the Free shipping option when another item is added to the cart so that is why you’re not seeing it. However the cart used to show a breakdown of each separate shipping class, even within the flat rate option. For example, if you have a t-shirt, hat and sticker added to the cart, it should show a breakdown of the flat rate price for each one individually instead of merging into one price.
This is important since most of my items ship separately and some also have an option for express shipping so it needs to be selectable and not applied to the whole order. It’s also important that I can offer the free shipping/no tracking option for stickers and right now that’s only visible if nothing else is in the cart.
Hi there @aneresnyy ??
I temporarily added a condition to hide the Free shipping option when another item is added to the cart so that is why you’re not seeing it.
Thanks for clarifying further. From what I gather, you are using
WooCommerce Conditional Shipping and Payments: by WooCommerce – 1.14.4
for that. Correct?A picture is worth a thousand words, as the saying goes, therefore, could you also share screenshots of the screens set up using
WooCommerce Conditional Shipping and Payments
, please?Additionally, I understand that the
Printify Shipping Method: by Printify – 2.7
plugin is used in tandem. Therefore, feel free to share screenshots of its settings also.Thank you. ??
The Printify shipping method is not currently active since I started using my own shipping classes, however it was working fine with it previously. I did try disabling all of my plugins (including Printify and Conditional Shipping) and switching to a default theme to see if there was a conflict causing the issue and it didn’t change anything.
https://snipboard.io/c9106S.jpg
https://snipboard.io/2dsLMf.jpgHi @aneresnyy
Thanks for your confirmation that you are using the premium plugin WooCommerce Conditional Shipping and Payments to achieve your requirement here.
If you have a valid subscription with us, can you please open a support request for us to investigate further about your issue?
Please include a link to this forum thread for us to check what has been done so far.
Thanks!
I do have a subscription, however I don’t think the issue is related to WooCommerce Conditional Shipping and Payments. As I mentioned before I tried disabling each plugin to try and find the cause. I have also been using that plugin for months and didn’t make any changes to the settings.
Hi,
I added a sticker and a sticker to the cart, and it is offering Free shipping option:
Link to image: https://snipboard.io/HwtQbd.jpg
Can you provide screenshots of your shipping options and shipping classes under WooCommerce > settings > shipping?
Looking forward to hearing from you.
The issue occurs when more than one type of shipping class is added to the cart. If there are only stickers are in the cart it works correctly.
https://snipboard.io/dYae6c.jpg
https://snipboard.io/CgG0zI.jpg
https://snipboard.io/KADSE1.jpg
It used to give a breakdown in the cart of each item separately since they don’t all ship together. So if you have a tote bag, t-shirt and sticker in the cart there should be 3 different sections visible in the cart listing each shipping price separately. That no longer appears and it’s all getting added together with no breakdown of the shipping charges..
Hi,
My apologies in my previous response I meant I added 1 sticker, and one t-shirt:
I added a sticker and a t-shirt to the cart, and it is offering Free shipping option:
Link to image:?https://snipboard.io/HwtQbd.jpg
You can perform a conflict test, this will help you identify the cause of the issue, please refer to this documentation below:
https://woocommerce.com/document/woocommerce-self-service-guide/#section-4
You can use the Meks Quick Plugin Disabler plugin, it will help to remember what plugins you currently have active so it’s easy to switch them back on. Link: https://www.ads-software.com/plugins/meks-quick-plugin-disabler/
Also, if you would not want to touch the live site for the test, you can configure a staging site, we recommend WP Staging for quickly spinning up a new test site.- This reply was modified 1 year, 11 months ago by Igor H.
I already disabled all the plugins and tested with a basic theme, just tried it again with the same results.
The problem with the free shipping is that it should ONLY apply to the sticker and not the entire order. So if there are items from 2 different shipping classes in the cart, there should be 2 sections from which to select each shipping method.
I think there is some confusion as to what the exact issue is, so here’s a mockup to clarify what I’m trying to fix.
Hello @aneresnyy,
apply to the sticker and not the entire order. So if there are items from 2 different shipping classes in the cart, there should be 2 sections from which to select each shipping method
That’s not how classes work, at least not from my testing. What you’re describing can be done with the per-product shipping extension.
When two products are in the cart and one is on a class that is set to 0, the customer should be charged for the items that doens’t have the free class. Can you please try to replicate the screenshot I have below?Front end.
Let us know if you still need help!
- The topic ‘Per class shipping not working’ is closed to new replies.