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

Update notice for default cart and checkout #11777

Closed
nielslange opened this issue Nov 15, 2023 · 0 comments · Fixed by #11861
Closed

Update notice for default cart and checkout #11777

nielslange opened this issue Nov 15, 2023 · 0 comments · Fixed by #11861
Assignees
Labels
block: cart Issues related to the cart block. block: checkout Issues related to the checkout block. type: cooldown Things that are queued for a cooldown period (assists with planning). type: enhancement The issue is a request for an enhancement. type: good first issue The issue is a good candidate for the first community contribution/for a newcomer to the team.

Comments

@nielslange
Copy link
Member

Is your feature request related to a problem? Please describe.

When a merchant adds the Cart or Checkout block to a page, but does not define the corresponding pages as the cart or checkout page via /wp-admin/admin.php?page=wc-settings&tab=advanced, the following notices are visible in the sidebar:

Current notice for Cart block:

Screenshot 2023-11-15 at 10 42 25
Current notice for Checkout block:

Screenshot 2023-11-15 at 10 41 46

Describe the solution you'd like

In p1699988291133359/1699592175.220079-slack-C02UBB1EPEF, @elizaan36 asked to replace the button in the <DefaultNotice> component with an inline link and to display an info notice instead of a warning notice.

Expected notice for Cart block:

Screenshot 2023-11-15 at 10 54 06
Expected notice for Checkout block:

Screenshot 2023-11-15 at 10 55 22

Describe alternatives you've considered

n/a

Additional context

n/a

@nielslange nielslange added type: enhancement The issue is a request for an enhancement. type: cooldown Things that are queued for a cooldown period (assists with planning). type: good first issue The issue is a good candidate for the first community contribution/for a newcomer to the team. block: cart Issues related to the cart block. block: checkout Issues related to the checkout block. labels Nov 15, 2023
@nielslange nielslange changed the title Replace button with link in DefaultNotice component Update notice for default cart and checkout Nov 15, 2023
@nielslange nielslange self-assigned this Nov 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
block: cart Issues related to the cart block. block: checkout Issues related to the checkout block. type: cooldown Things that are queued for a cooldown period (assists with planning). type: enhancement The issue is a request for an enhancement. type: good first issue The issue is a good candidate for the first community contribution/for a newcomer to the team.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant