Skip to content

Release 0.1.0 - #7

Merged
pixelhed merged 14 commits into
mainfrom
feature/store-pickup-luma-0.1.0
Nov 25, 2026
Merged

pixelhed merged 14 commits into
mainfrom
feature/store-pickup-luma-0.1.0

Conversation

@pixelhed

Copy link
Copy Markdown
Contributor

First release, 0.1.0. Requires pixelperfectat/magento2-module-store-pickup ^0.1, now on Packagist. The changelog lists what the release does.

Scaffold the module with the shared tooling and ship the active pickup
locations of the current store view to window.checkoutConfig.ppStorePickup,
including the address lines the checkout components display.

Closes #1
#2)

While a pickup rate is selected the shipping step fills the address from the
location and hides it: the inline form keeps first name, last name and phone,
and customers with saved addresses get a small contact form instead of the
address list. Switching back restores the typed values or re-selects the
saved address. Billing can no longer be the same as shipping, so the payment
step asks for it.

Closes #2
The typed address was kept in its own localStorage namespace and never
cleared. It now sits in an extra key of the checkout-data section, which
Magento clears on order placement and on login/logout; switching back to
delivery still clears it at once, and the reload recovery keeps working.
The marked location address posts save_in_address_book 0 (core sets 1 for
customers on the inline form), and the location match compares trimmed
strings so a numeric postcode or extra spaces still match.
Luma refills the form from its checkout data, which holds the location
while pickup is applied. The snapshot now also stores the location address
that was written, so the typed values come back on page load even when that
location has been deactivated in the meantime; without a snapshot a guest's
form is cleared of an active location's address. The form callbacks also
wait for the street lines to exist.
Like Luma's own address data, the typed-address snapshot is keyed by the
store code, so store views sharing one base URL never apply each other's
snapshot. Clearing works as before; the key is dropped once empty.
Opening hours and notes use a class from the module stylesheet instead of
inline style attributes, so they render under a strict CSP.
Require magento/module-customer and magento/module-ui; drop
magento/module-quote, which nothing in src/ uses.
The module needs the native Luma checkout rendered by a Luma-based theme on
the store view; the Hyvä Checkout setting alone is not enough. The reload
clearing covers guests and customers without saved addresses, and the
snapshot is kept per store view.
The core module is on Packagist now, so the dev stability flag goes and the README no longer calls the module unreleased.
@pixelhed
pixelhed merged commit 869f5b0 into main Nov 25, 2026
4 checks passed
@pixelhed
pixelhed deleted the feature/store-pickup-luma-0.1.0 branch November 25, 2026 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant