generate_content(); } /* * Generate options fields */ private function generate_content() { add_thickbox(); echo '
' . esc_html__( 'Everything in the free version, plus powerful Pro features for growing stores.', 'advanced-woo-labels' ) . '
'; $features = array( array( 'name' => __( 'Themes, page builders support', 'advanced-woo-labels' ), 'tip' => __( 'We work hard to make labels compatible with almost all available themes. Also labels will be visible for all blocks created via such plugins like Elementor, WP Block Editor, Beaver Builder, Divi Builder, etc.', 'advanced-woo-labels' ), 'free' => true, ), array( 'name' => __( 'Unlimited number of labels', 'advanced-woo-labels' ), 'tip' => __( 'Show unlimited number of labels for each WooCommerce product. Optionally you can limit the maximal number of labels per product by special plugin settings.', 'advanced-woo-labels' ), 'free' => true, ), array( 'name' => __( 'Labels groups', 'advanced-woo-labels' ), 'tip' => __( 'Several labels on the same position for the same product combined in groups. Set group alignment, distance, max number of labels.', 'advanced-woo-labels' ), 'free' => true, ), array( 'name' => __( 'Labels positions and align', 'advanced-woo-labels' ), 'tip' => __( 'Display labels in two available positions: on product image or before product title. Align labels to the left, center or right relative to product content ( top, center, bottom additionally for product image ).', 'advanced-woo-labels' ), 'free' => true, ), array( 'name' => __( 'Labels display conditions', 'advanced-woo-labels' ), 'tip' => __( 'Use powerful display conditions to choose for what product/page/user labels must be visible. For example - show labels only for products with certain categories and attributes.', 'advanced-woo-labels' ), 'free' => true, ), array( 'name' => __( 'Text and text variables', 'advanced-woo-labels' ), 'tip' => __( 'Set any custom text for your labels. Use special text variables to show important product information like Price, Sale Price, Discount Percentage, etc.', 'advanced-woo-labels' ), 'free' => true, ), array( 'name' => __( 'Styling options', 'advanced-woo-labels' ), 'tip' => __( 'Create your unique label view by using styling options to change label background color, text color, font, margins, paddings, borders, shadows.', 'advanced-woo-labels' ), 'free' => true, ), array( 'name' => __( 'Different labels shapes', 'advanced-woo-labels' ), 'tip' => __( 'Choose from several predefined label templates.', 'advanced-woo-labels' ), 'free' => true, ), array( 'name' => __( 'Additional labels display conditions', 'advanced-woo-labels' ), 'tip' => __( 'Use even more label display conditions based on current page, user, product or date.', 'advanced-woo-labels' ), 'free' => false, ), array( 'name' => __( 'Additional text variables', 'advanced-woo-labels' ), 'tip' => __( 'Use some additional text variables to make labels text even more attractive and product-specific.', 'advanced-woo-labels' ), 'free' => false, ), array( 'name' => __( 'Image labels', 'advanced-woo-labels' ), 'tip' => __( 'Use one of predefined images as a product label or upload your custom one. Use png/jpg/gif or SVG images.', 'advanced-woo-labels' ), 'free' => false, ), array( 'name' => __( 'Animation options', 'advanced-woo-labels' ), 'tip' => __( 'Set unique animation for each label with different customizable parameters.', 'advanced-woo-labels' ), 'free' => false, ), array( 'name' => __( 'Emojis support', 'advanced-woo-labels' ), 'tip' => __( 'Use any emoji inside the text label. Mix them with text variables, plain text and other emojis.', 'advanced-woo-labels' ), 'free' => false, ), array( 'name' => __( 'Labels styles: borders and shadows', 'advanced-woo-labels' ), 'tip' => __( 'More label styling options: set label shadow and border ( size and color ).', 'advanced-woo-labels' ), 'free' => false, ), array( 'name' => __( 'Additional label shapes', 'advanced-woo-labels' ), 'tip' => __( 'New cool templates for your text labels to attract users\' attention.', 'advanced-woo-labels' ), 'free' => false, ), array( 'name' => __( 'Label custom links', 'advanced-woo-labels' ), 'tip' => __( 'Add any custom link inside your label. So now your product labels not just tell users some important information but can contain some useful links.', 'advanced-woo-labels' ), 'free' => false, ), array( 'name' => __( 'ACF plugin support', 'advanced-woo-labels' ), 'tip' => __( 'Advanced integration with Advanced Custom Fields plugin. Show value of any ACF field inside the label. Also set label display conditions based on ACF fields values.', 'advanced-woo-labels' ), 'free' => false, ), array( 'name' => __( 'WCFM, Dokan, MultiVendorX, WC Vendors plugins support', 'advanced-woo-labels' ), 'tip' => __( 'Built-in integration with WCFM Multivendor Marketplace, Dokan WooCommerce Multivendor Marketplace, WC Vendors and MultiVendorX plugins. Show vendor related data inside product labels and create special labels display conditions based on these data.', 'advanced-woo-labels' ), 'free' => false, ), ); $check = ''; $dash = '-'; echo '| ' . esc_html__( 'Feature', 'advanced-woo-labels' ) . ' | '; echo '' . esc_html__( 'Free', 'advanced-woo-labels' ) . ' | '; echo '' . esc_html__( 'Pro', 'advanced-woo-labels' ) . ' | '; echo '
|---|---|---|
| ' . esc_html( $feature['name'] ) . '' . esc_html( $feature['tip'] ) . ' | '; echo '' . ( $feature['free'] ? $check : $dash ) . ' | '; echo '' . $check . ' | '; echo '
'; echo ''; echo esc_html__( '30-day money-back guarantee, no questions asked', 'advanced-woo-labels' ); echo '
'; echo '
';
echo '';
echo '';
echo '
';
echo '';
echo '';
echo '
';
echo '';
echo '';
echo '
';
echo '';
echo '';
echo '
';
echo '';
echo '';
echo '
';
echo '';
echo '';
echo '
';
echo '';
echo '';
echo '
';
echo '';
echo '';
echo '