Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(checkout): MCU-427 Display modal before switching currencies #1668

Merged
merged 1 commit into from
Jun 30, 2020

Conversation

mjhmatt
Copy link
Contributor

@mjhmatt mjhmatt commented May 7, 2020

What?

Before switching currencies in the case of a cart containing a gift certificate/promotion we will need to notify the customer as they may be removed from cart once the currency is changed.

Tickets / Documentation

https://jira.bigcommerce.com/browse/MCU-427

Screenshots (if appropriate)

Screen Shot 2020-05-07 at 4 07 54 pm
Screen Shot 2020-05-07 at 3 51 57 pm

@bigcommerce/checkout

@bigbot
Copy link

bigbot commented May 7, 2020

Autotagging @bigcommerce/storefront-team @davidchin

@bookernath
Copy link
Contributor

@mjhmatt please rebase

@mjhmatt mjhmatt force-pushed the MCU-427 branch 4 times, most recently from 6a3eb56 to 5377e15 Compare June 2, 2020 09:02
package.json Outdated Show resolved Hide resolved
templates/components/common/currency-selector.html Outdated Show resolved Hide resolved
config.json Outdated Show resolved Hide resolved
assets/js/theme/global/currency-selector.js Outdated Show resolved Hide resolved
assets/js/theme/global/currency-selector.js Outdated Show resolved Hide resolved
assets/js/theme/global/currency-selector.js Outdated Show resolved Hide resolved
assets/js/theme/global/currency-selector.js Show resolved Hide resolved
assets/js/theme/global/currency-selector.js Show resolved Hide resolved
assets/js/theme/global/currency-selector.js Show resolved Hide resolved
@mjhmatt mjhmatt force-pushed the MCU-427 branch 4 times, most recently from 4dfc3a0 to 6cb9cb6 Compare June 8, 2020 06:11
davidchin
davidchin previously approved these changes Jun 9, 2020
Copy link
Contributor

@davidchin davidchin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good, nice work! 👍

bookernath
bookernath previously approved these changes Jun 9, 2020
@@ -22,7 +22,7 @@ export default class Global extends PageManager {
} = this.context;
cartPreview(secureBaseUrl, cartId);
quickSearch();
currencySelector();
currencySelector(this.context.cartId);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍹 as cartId is already destructured above, you could just reference cartId

@mjhmatt mjhmatt dismissed stale reviews from bookernath and davidchin via 389bdf3 June 9, 2020 02:08
@mjhmatt mjhmatt force-pushed the MCU-427 branch 3 times, most recently from dc3c467 to d0b70f0 Compare June 15, 2020 01:26
@junedkazi
Copy link
Contributor

@mjhmatt @davidchin is this good to go ?

@mjhmatt mjhmatt force-pushed the MCU-427 branch 2 times, most recently from e178995 to f582f77 Compare June 18, 2020 08:40
@mjhmatt
Copy link
Contributor Author

mjhmatt commented Jun 22, 2020

Sorry for the delay. Yes @junedkazi this is finished now, was just waiting to finalise the backend PR.

@junedkazi junedkazi merged commit e295303 into bigcommerce:master Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants