-
Notifications
You must be signed in to change notification settings - Fork 4
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
Replace WCS&T tax onboarding with Woo Tax onboarding. #1462
base: master
Are you sure you want to change the base?
Changes from 5 commits
de7716a
877af64
a14424f
1bed100
92aacad
fea8a05
9792e1d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,7 +112,7 @@ export const Tax: React.FC< TaxProps > = ( { onComplete, query, task } ) => { | |
updateAndPersistSettingsForGroup( 'tax', { | ||
tax: { | ||
...taxSettings, | ||
wc_connect_taxes_enabled: 'no', | ||
woo_tax_taxes_enabled: 'no', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Currently, the Tax task uses In order to support the new option, we'll need to override the default Tax task class, here's ab example of how we did it for Products task: https://github.com/Automattic/wc-calypso-bridge/pull/963/files. |
||
}, | ||
} ); | ||
updateAndPersistSettingsForGroup( 'general', { | ||
|
@@ -138,7 +138,7 @@ export const Tax: React.FC< TaxProps > = ( { onComplete, query, task } ) => { | |
updateAndPersistSettingsForGroup( 'tax', { | ||
tax: { | ||
...taxSettings, | ||
wc_connect_taxes_enabled: 'yes', | ||
woo_tax_taxes_enabled: 'yes', | ||
}, | ||
} ), | ||
updateAndPersistSettingsForGroup( 'general', { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you're already aware, but just precaution that background_installer only supports wp.org listed plugins, in case we're releasing this prior making the plugin public.