• Resolved froggies1

    (@froggies1)


    Hi WooCommerce Team,

    I’m reporting what appears to be a core WooCommerce Checkout bug affecting shipping method rendering.

    The issue has been confirmed NOT related to my theme (Flatsome) and NOT related to AJAX blocking (verified by hosting).

    ❗ 

    ISSUE SUMMARY

    Shipping works perfectly on the Cart page, but does NOT appear at all on the Checkout page.

    • No shipping section
    • No shipping methods
    • No error messages
    • The Checkout totals simply show without any shipping row

    It looks like the Checkout does not initialize the shipping calculation AJAX, even though all conditions for shipping are met.

    🧪 

    STEPS TO REPRODUCE

    1. Add a physical product to cart
    2. Go to /cart → Shipping methods load normally
    3. Proceed to /checkout →
      ❌ Shipping block completely missing
      ❌ No shipping method selector
      ❌ No AJAX request triggered to calculate shipping
      ✔ Billing fields load
      ✔ Payment methods load

    ✔️ 

    TROUBLESHOOTING COMPLETED (VERY IMPORTANT)

    1. Checkout Page Recreated

    • Deleted original Checkout page
    • Created new page → added [woocommerce_checkout]
    • Assigned in WooCommerce → Settings → Advanced
    • Page loads correctly (no 404)
    • ❌ Shipping still missing

    2. Shipping Configuration Verified

    • Zone: Singapore
    • Method: Flat Rate (SGD 3.90)
    • Product is NOT virtual
    • No shipping classes
    • No conditional logic
    • No other shipping plugins
      ➡️ Shipping works in Cart → confirms the shipping zone logic is correct

    3. THEME-INDEPENDENT (CRITICAL)

    • Switched to Storefront
    • Issue persists identically
    • Flatsome support explicitly stated:
      “Same issue happens with Storefront, so it’s not theme-related. It’s a WooCommerce issue.”

    ➡️ Confirms the problem is in WooCommerce core or checkout logic.

    4. Plugin Conflict Test

    • Disabled ALL plugins except WooCommerce
    • Issue persists
      ➡️ Not caused by 3rd-party plugins

    5. AJAX VERIFIED WORKING (CRITICAL)

    Hosting (SiteGround) manually checked server logs and confirmed:

    • No ModSecurity blocks
    • No firewall blocks
    • No 403/404 AJAX drops
    • No blocked admin-ajax.php calls
    • They also offered to disable the whole cache layer temporarily → no change
      ➡️ AJAX is not blocked at server level
      ➡️ But WooCommerce is not triggering shipping AJAX in Checkout

    6. Cache Cleared Everywhere

    • Browser cache
    • SiteGround cache (Purge SG Cache)
    • WooCommerce transients cleared
    • No effect

    7. No custom code & no template overrides

    • No code in functions.php
    • No overrides in /woocommerce/checkout folder
    • No Scripts Manager modifications
      ➡️ Environment is clean

    8. Endpoints Verified

    • /checkout loads normally
    • No 404 on endpoints
    • WooCommerce → Status → Tools → Regenerated tables
      ➡️ Endpoint system is functioning

    📌 

    TECHNICAL OBSERVATION

    Since:

    • shipping loads correctly in Cart
    • shipping zone matches the address
    • AJAX is not blocked
    • Checkout template is default (tested with Storefront)
    • no plugins interfere
    • no virtual products
    • correct country matching

    The issue appears to be:

    Shipping block in Checkout is not being generated at all due to a WooCommerce internal condition returning false.

    Specifically, this looks like a failure in one of these mechanisms:

    • needs_shipping()
    • WC_Checkout::get_value() shipping address logic
    • show_shipping() logic
    • wc_shipping_enabled() returning false only in checkout
    • or shipping initialization action not firing:
      • woocommerce_review_order_before_shipping
      • woocommerce_review_order_after_shipping

    No hooks seem to run because the whole block is missing from the markup.

    🙏 

    REQUEST

    Please treat this as a high-priority bug.

    The store cannot launch without working Checkout shipping.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Frank Remmy (woo-hc)

    (@frankremmy)

    Hi @froggies1,

    Thank you for providing such a thorough and detailed report on the shipping method rendering issue at checkout. Your extensive troubleshooting and testing, including theme and plugin conflicts and server-level AJAX confirmation has gone a long way.

    I tested the checkout myself and was able to reproduce the same shipping issue you described. I also noticed that your shipping settings are being managed through the Flatsome theme: https://share.zight.com/9ZunjRxY, which could be contributing to the behavior.

    To help us narrow this down, could you please:

    • Set up a staging environment (a safe copy of your site where we can test without affecting live customers).
    • Switch temporarily to the Storefront theme and check if the shipping issue persists there.
    • Deactivate all plugins except WooCommerce to rule out conflicts.
    • Try changing the shipping address on the checkout page to a different zone to see if the shipping block triggers. This might help identify if the problem is strictly address related.
    • Share your System Status Report, that’ll also shed more light. You can generate that via WooCommerce → Status → Get system report, then paste it in Pastebin or Gist and link it here.

    This will allow us to confirm whether the issue is theme‑related, plugin‑related, or something deeper in WooCommerce itself.

    Once we have the system report and results from the staging tests, we’ll be able to advise on the next steps more precisely.

    Looking forward to your response.

    Thread Starter froggies1

    (@froggies1)

    Thank you very much problem solved. The big was caused by a snipped code plug-in.

    can close the ticket.

    Thank you once again

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for the update. I’m glad to hear the issue has been resolved and that it was just the snippet code plugin causing the problem.

    I’ll go ahead and close the ticket as requested.

    If you found my assistance helpful, I would really appreciate it if you could leave a five-star review: https://wordpress.org/support/plugin/woocommerce/reviews/#new-post Your feedback helps us continue providing the best support possible.

    Thank you once again, and have a great day!

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

You must be logged in to reply to this topic.