Skip to content

Commit

Permalink
fix accent + search per words
Browse files Browse the repository at this point in the history
  • Loading branch information
livca-smile committed Nov 23, 2023
1 parent 885056f commit 6d21513
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Block/Checkout/LayoutProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ private function getStores(): array
'directionUrl' => $this->map->getDirectionUrl($address->getCoordinates()),
'setStoreData' => $this->getSetStorePostData($retailer),
'addressData' => $address->getData(),
'postCode' => $address->getPostcode(),
'city' => $address->getCity(),
];

// phpcs:ignore Magento2.Performance.ForeachArrayMerge.ForeachArrayMerge
Expand Down
2 changes: 2 additions & 0 deletions view/frontend/web/css/source/_module.less
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,10 @@ body.checkout-index-index {
border-bottom: 1px solid #c2c2c2;
height: @fulltext-search-wrapper-height;
padding: @fulltext-search-wrapper-padding;
margin-bottom: 42px;

.form {
position: relative;
display: flex;
padding: 10px 0 5px;
align-items: center;
Expand Down
6 changes: 3 additions & 3 deletions view/frontend/web/js/view/checkout/shipping/store-delivery.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ define([
var type = quote.shippingAddress().getType();
if (type === 'store-delivery') {
selectShippingMethodAction({
carrier_code: this.getCarrierCode(),
carrier_code: this.getCarrierCode(),
carrier_title: this.getCarrierTitle(),
method_code: this.getMethodCode(),
method_title: this.getMethodTitle(),
Expand Down Expand Up @@ -67,15 +67,15 @@ define([
return this.methodCode;
},

getMethodTitle: function() {
getMethodTitle: function() {
return this.methodTitle;
},

getCarrierCode: function() {
return this.carrierCode;
},

getCarrierTitle: function() {
getCarrierTitle: function() {
return this.carrierTitle;
},

Expand Down

0 comments on commit 6d21513

Please sign in to comment.