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.

[WC Admin] Don't hide Enable the shipping calculator on the cart page settings when the Cart block is used #11415

@ralucaStan

Description

@ralucaStan

Describe the bug

In #11184 we removed the shipping calculator settings from the Block Settings bar to enable merchants to set up the shipping calculator in the WC Admin only.

Currently, the option Enable the shipping calculator on the cart page is shown only when merchants don't use the cart block. This means that there is no way to control the appearance of the inner calculator block when merchants use the Cart block.

To reproduce

Steps to reproduce the behavior:

  1. Use cart and checkout blocks
  2. Go to your shop on this page /wp-admin/admin.php?page=wc-settings&tab=shipping&section=options
  3. Notice that Enable the shipping calculator on the cart page is missing
  4. go to the cart page and transform the block to the classic cart
  5. Notice that Enable the shipping calculator on the cart page is present

Expected behavior

Always show the Enable the shipping calculator on the cart page option, no matter of what is used for the cart page.

Screenshots

If applicable, add screenshots to help explain your problem.
Screenshot 2023-10-23 at 19 21 42

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: highThe issue/PR is high priority—it affects lots of customers substantially, but not critically.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