Skip to content

Commit

Permalink
Merge pull request #67 from YotpoLtd/v1.4.4
Browse files Browse the repository at this point in the history
v1.4.4: Fixed unexpected `)` in `CouponManagement`
  • Loading branch information
pniel-cohen authored Sep 14, 2023
2 parents f0963b8 + 1da5587 commit 3bc08bb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Model/Api/Swell/Session/CouponManagement.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function postCoupon()
$couponCode = $this->_yotpoHelper->prepareCouponCodeValue(
(string) $quote->getCouponCode(), // Existing quote coupon(s)
(string) $this->_yotpoHelper->getRequest()->getParam('swell_coupon_codes', ''), // Coupon(s) to remove
(string) $this->_yotpoHelper->getRequest()->getParam('coupon_code', ''), // Coupon(s) to add
(string) $this->_yotpoHelper->getRequest()->getParam('coupon_code', '') // Coupon(s) to add
);
$quote->setCouponCode($couponCode)->setTotalsCollectedFlag(false)->collectTotals()->save();
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "yotpo/magento2-module-yotpo-loyalty",
"description": "Magento 2 module for integration with Yotpo",
"type": "magento2-module",
"version": "1.4.3",
"version": "1.4.4",
"repositories": [{
"type": "git",
"url": "https://github.com/YotpoLtd/magento2-module-yotpo-loyalty"
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="Yotpo_Loyalty" setup_version="1.4.3">
<module name="Yotpo_Loyalty" setup_version="1.4.4">
<sequence>
<module name="Magento_Catalog" />
</sequence>
Expand Down

0 comments on commit 3bc08bb

Please sign in to comment.