Skip to content

Commit

Permalink
Merge pull request #16 from luluhoc:fix/location-manual-bug
Browse files Browse the repository at this point in the history
manual send localization bug
  • Loading branch information
luluhoc committed May 10, 2024
2 parents d1caa2d + 67a765c commit cb54821
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "medusa-plugin-abandoned-cart",
"version": "2.0.52",
"version": "2.0.53",
"description": "Medusa plugin for abandoned cart tracking and recovery",
"author": "Lucjan Grzesik (https://github.com/luluhoc)",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions src/services/abandoned-cart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export default class AbandonedCartService extends TransactionBaseService {
const locale = this.getCartLocale(cart);

if (
!this.checkTypeOfOptions(this.options_) &&
(!this.checkTypeOfOptions(this.options_) && interval) &&
this.options_.localization
) {
const localeOptions = this.options_.localization[locale];
Expand Down Expand Up @@ -165,7 +165,7 @@ export default class AbandonedCartService extends TransactionBaseService {
dynamic_template_data: {
...cart,
subject: subject ?? "You left something in your cart",
header: header ?? "You left something in your cart",
header: header ?? "Still thinking about it?",
},
};

Expand Down

0 comments on commit cb54821

Please sign in to comment.