Skip to content

Commit

Permalink
Merge pull request #179 from getbread/pg-1554-missing-item-url-checkout
Browse files Browse the repository at this point in the history
Fix for missing item URl on checkout and prequalification
  • Loading branch information
KiprotichMaritim authored Nov 10, 2022
2 parents 52ab06d + 9a0e04e commit 03cdaf6
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Offers Bread Pay financing and checkout tools for your Magento store",
"license": "MIT",
"minimum-stability": "stable",
"version": "2.1.6",
"version": "2.1.7",
"require": {
"php": "~7.0.13||~7.1.0||~7.1.3||~7.2.0||~7.3.0||~7.4.0||~8.0.0||~8.1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Bread_BreadCheckout" setup_version="2.1.6">
<module name="Bread_BreadCheckout" setup_version="2.1.7">
<sequence>
<module name="Magento_Checkout"/>
<module name="Magento_Sales"/>
Expand Down
3 changes: 2 additions & 1 deletion view/frontend/templates/breadcheckout/cartview.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
unitPrice: {
currency: currentCurrencyCode,
value: items[i]['price']
}
},
itemUrl: items[i].detailUrl
};

itemsObject.push(item);
Expand Down
3 changes: 2 additions & 1 deletion view/frontend/templates/breadcheckout/minicart.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
unitPrice: {
currency: currentCurrencyCode,
value: items[i].price
}
},
itemUrl: items[i].detailUrl
};

itemsObject.push(item);
Expand Down
3 changes: 2 additions & 1 deletion view/frontend/templates/breadcheckout/price.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
unitPrice: {
currency: currentCurrencyCode,
value: items[i].price
}
},
itemUrl: items[i].detailUrl
};

itemsObject.push(item);
Expand Down
7 changes: 4 additions & 3 deletions view/frontend/web/js/button-config-platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,14 @@ define(
unitPrice: {
currency: window.checkoutConfig.payment.breadcheckout.breadConfig.currencyCode,
value: items[i].price
}
},
itemUrl: items[i].detailUrl
};

itemsObject.push(item);
}
}
this.config.items = itemsObject;
this.config.items = itemsObject;
},

init: function () {
Expand Down

0 comments on commit 03cdaf6

Please sign in to comment.