Skip to content

Commit

Permalink
fix: setup wizard issue if no wc installed
Browse files Browse the repository at this point in the history
  • Loading branch information
sabbir1991 committed Dec 11, 2019
1 parent c6d8c73 commit 09dec8f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions templates/admin-setup-wizard/step-no-wc-introduction.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
<form method="post" id="dokan-admin-setup-wizard">
<h1><?php esc_html_e( 'Welcome to the world of Dokan!', 'dokan-lite' ); ?></h1>
<p><?php echo wp_kses( __( 'Thank you for choosing Dokan to power your online marketplace! This quick setup wizard will help you configure the basic settings. <strong>It’s completely optional and shouldn’t take longer than three minutes.</strong>', 'dokan-lite' ), [ 'strong' => [] ] ); ?></p>
<p><?php echo wp_kses( __( 'hanks for choosing Dokan to power your online marketplace! This quick setup wizard will help you configure the basic settings.
<strong>This setup wizard is completely optional and shouldn\'t take longer than three minutes.</strong>', 'dokan-lite' ), [ 'strong' => [] ] ); ?></p>
<p>
<?php
printf(
esc_html__( 'In order to use Dokan you need to install %s. THIS TEXT SHOULD BE UPDATED', 'dokan-lite' ),
esc_html__( 'Should you choose to skip the setup wizard, you can always setup Dokan manually or come back here and complete the setup via the Wizard.', 'dokan-lite' )
);
?>
</p>
<p>
<?php
printf(
esc_html__( 'Please note that %s is necessary for Dokan to work and it will be automatically installed if you haven\'t already done so.', 'dokan-lite' ),
'<a href="https://wordpress.org/plugins/woocommerce" target="_blank" rel="noopener">WooCommerce</a>'
);
?>
Expand Down

0 comments on commit 09dec8f

Please sign in to comment.