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

Local Pickup Title shows twice #9789

Closed
masteradhoc opened this issue Jun 12, 2023 · 0 comments · Fixed by #9808
Closed

Local Pickup Title shows twice #9789

masteradhoc opened this issue Jun 12, 2023 · 0 comments · Fixed by #9808
Assignees
Labels
block: checkout Issues related to the checkout block. type: bug The issue/PR concerns a confirmed bug. type: community contribution

Comments

@masteradhoc
Copy link
Contributor

masteradhoc commented Jun 12, 2023

Describe the bug

In #8305 the string "Collection from" was added.

Thats a nice addition but leads together with the Title field in the local pickup option to a duplicated text. I had entered here a text (required field) and translated "Local Pickup" to a german Word "Abholung vor Ort"
image

In the Location i did set a Location but no Adress - just the name and pickup Details
image

Then it pretty much showed the same text duplicated "Collection from Local Pickup" (example in english) and the name of the the store.
image

PS: Same already is visible below the Shipping title...

To reproduce

Steps to reproduce the behavior:

  1. Go to /wp-admin/admin.php?page=wc-settings&tab=shipping&section=pickup_location
  2. Click on Enable Local Pickup & set a title "Local Pickup"
  3. Add a Pickup Location and set only Location Name and Pickup Details
  4. See the cart and the doubled text "Collection from Local Pickup (Name of Store)"

Versions

WooCommerce 7.7.2 & WooBlocks 10.4.0

Expected behavior

If no pickup adress is set then dont show the "Collection from" string.

Screenshots

see above

@masteradhoc masteradhoc added the type: bug The issue/PR concerns a confirmed bug. label Jun 12, 2023
@kmanijak kmanijak added the block: checkout Issues related to the checkout block. label Jun 13, 2023
@mikejolley mikejolley self-assigned this Jun 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
block: checkout Issues related to the checkout block. type: bug The issue/PR concerns a confirmed bug. type: community contribution
Projects
None yet
3 participants