Skip to content

Commit 8b683ca

Browse files
feat(delivery-options): allow disabling of pickup location display toggle
* delivery options: allow disabling user selection of the pickup location display (map or list) via settings. Closes INT-1103 * build(deps): bump myparcelnl/pdk in the php-pdk group Bumps the php-pdk group with 1 update: [myparcelnl/pdk](https://github.com/myparcelnl/pdk). Updates `myparcelnl/pdk` from 2.62.0 to 2.63.0 - [Release notes](https://github.com/myparcelnl/pdk/releases) - [Changelog](https://github.com/myparcelnl/pdk/blob/main/CHANGELOG.md) - [Commits](myparcelnl/pdk@v2.62.0...v2.63.0) --- updated-dependencies: - dependency-name: myparcelnl/pdk dependency-version: 2.63.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: php-pdk ... Signed-off-by: dependabot[bot] <support@github.com> * test(snapshots): add pickup locations view setting in snapshots --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Freek van Rijt <freek.vanrijt@myparcel.nl>
1 parent 15ead8a commit 8b683ca

3 files changed

+9
-7
lines changed

composer.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/__snapshots__/SettingsMigrationTest__it_migrates_pre_v5.0.0_settings_with_data_set_empty__1.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"deliveryOptionsHeader": null,
5454
"deliveryOptionsPosition": null,
5555
"pickupLocationsDefaultView": null,
56+
"allowPickupLocationsViewSelection": true,
5657
"priceType": "included",
5758
"enableDeliveryOptions": true,
5859
"enableDeliveryOptionsWhenNotInStock": true,

tests/__snapshots__/SettingsMigrationTest__it_migrates_pre_v5.0.0_settings_with_data_set_filled__1.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
"deliveryOptionsHeader": "Kop",
7373
"deliveryOptionsPosition": "woocommerce_after_checkout_billing_form",
7474
"pickupLocationsDefaultView": "map",
75+
"allowPickupLocationsViewSelection": true,
7576
"priceType": "included",
7677
"enableDeliveryOptions": true,
7778
"enableDeliveryOptionsWhenNotInStock": true,

0 commit comments

Comments
 (0)