Skip to content

Commit

Permalink
fix: added skydropx slug back to shipping partners list
Browse files Browse the repository at this point in the history
  • Loading branch information
rjchow committed Mar 17, 2023
1 parent f484ceb commit bf3b88e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -83,6 +83,7 @@ const providers = {
},
Skydropx: {
name: 'Skydropx' as const,
slug: 'skydropx-cotizador-y-envios', // https://wordpress.org/plugins/skydropx-cotizador-y-envios/
url: 'https://wordpress.org/plugins/skydropx-cotizador-y-envios/',
'single-partner-layout': SkydropxSinglePartner,
},
Expand Down
Expand Up @@ -88,6 +88,7 @@ public function is_complete() {
* @return bool
*/
public function can_view() {
return true;
if ( Features::is_enabled( 'shipping-smart-defaults' ) ) {
if ( 'yes' === get_option( 'woocommerce_admin_created_default_shipping_zones' ) ) {
// If the user has already created a default shipping zone, we don't need to show the task.
Expand Down

0 comments on commit bf3b88e

Please sign in to comment.