mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 13:44:42 +08:00
New Settings UI: Map storeCountry and currency to WooCommerce settings
This commit is contained in:
parent
4484386e49
commit
a06a74004c
11 changed files with 97 additions and 22 deletions
|
@ -12,7 +12,7 @@ const AcdcFlow = ( {
|
|||
storeCountry,
|
||||
storeCurrency,
|
||||
} ) => {
|
||||
if ( isFastlane && isPayLater && storeCountry === 'us' ) {
|
||||
if ( isFastlane && isPayLater && storeCountry === 'US' ) {
|
||||
return (
|
||||
<div className="ppcp-r-welcome-docs__wrapper">
|
||||
<div className="ppcp-r-welcome-docs__col">
|
||||
|
@ -123,7 +123,7 @@ const AcdcFlow = ( {
|
|||
);
|
||||
}
|
||||
|
||||
if ( isPayLater && storeCountry === 'uk' ) {
|
||||
if ( isPayLater && storeCountry === 'UK' ) {
|
||||
return (
|
||||
<div className="ppcp-r-welcome-docs__wrapper">
|
||||
<div className="ppcp-r-welcome-docs__col">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue