Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Shipping calculator link not present for guest/non logged in customers #11435

@veljkho

Description

@veljkho

Describe the bug

For guests and not logged in customers, there's no visible link in the cart so they can change the shipping location and calculate the price.

To reproduce

Steps to reproduce the behavior:

  1. Make sure you have some shipping zone and method for United States - California
  2. Make sure you have set Shop country/region as the default customer location in WooCommerce settings
  3. Go to WooCommerce Settings and set the store's address to California
  4. As a guest/not logged in user, visit the cart page with some product added already
  5. Observe the issue, there's no link to change or add a new address to calculate shipping

Expected behavior

The link to change an address and/or add a new address to calculate shipping should be present

Screenshots

This is how the link for calculating shipping is visible when logged in
This is how the link for calculating shipping is not visible when not logged in or a guest

Environment

WordPress (please complete the following information):

  • WordPress version: 6.3.2
  • WooCommerce version: 8.2.1
  • WooCommerce Blocks version: 11.3.1
  • Site language: English
  • Any other plugins installed: Deactivated all such as MailPoet, WooCommerce Blocks..

Desktop (please complete the following information):

  • OS: macOS
  • Browser: latest Chrome and Firefox

Additional context

There's an open thread on Slack # checkout-blocks-support where we confirmed a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugThe issue/PR concerns a confirmed bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions