class-wcml-setup-attributes-ui.php
4 weeks ago
class-wcml-setup-footer.php
4 weeks ago
class-wcml-setup-header.php
4 weeks ago
class-wcml-setup-introduction-ui.php
1 year ago
class-wcml-setup-multi-currency-ui.php
10 months ago
class-wcml-setup-notice.php
4 weeks ago
class-wcml-setup-step.php
4 weeks ago
class-wcml-setup-store-pages-ui.php
4 weeks ago
class-wcml-setup-introduction-ui.php
33 lines
| 1 | <?php |
| 2 | |
| 3 | class WCML_Setup_Introduction_UI extends WCML_Setup_Step { |
| 4 | |
| 5 | const SLUG = 'introduction'; |
| 6 | |
| 7 | public function get_model() { |
| 8 | return [ |
| 9 | 'strings' => [ |
| 10 | 'step_id' => 'introduction_step', |
| 11 | 'heading' => __( "Let's make your WooCommerce store multilingual", 'woocommerce-multilingual' ), |
| 12 | 'description' => [ |
| 13 | |
| 14 | 'title' => __( 'To get started, we need to set up the following:', 'woocommerce-multilingual' ), |
| 15 | 'step1' => __( "Create store pages in all your site's languages", 'woocommerce-multilingual' ), |
| 16 | 'step2' => __( 'Choose which product attributes you want to translate', 'woocommerce-multilingual' ), |
| 17 | 'step3' => __( 'Set your translation options', 'woocommerce-multilingual' ), |
| 18 | 'step4' => __( 'Decide if you want to add multiple currencies to your store', 'woocommerce-multilingual' ), |
| 19 | |
| 20 | ], |
| 21 | 'continue' => __( "Let's continue", 'woocommerce-multilingual' ), |
| 22 | 'later' => __( "I'll do the setup later", 'woocommerce-multilingual' ), |
| 23 | ], |
| 24 | 'later_url' => \WCML\Utilities\AdminUrl::getSetupLater(), |
| 25 | 'continue_url' => $this->next_step_url, |
| 26 | ]; |
| 27 | } |
| 28 | |
| 29 | public function get_template() { |
| 30 | return '/setup/introduction.twig'; |
| 31 | } |
| 32 | } |
| 33 |