| @@ -8,8 +8,11 @@ | ||
| 8 | 8 | <symbol fill="none" id="flrt-icon-check-double" viewBox="0 0 24 24"> |
| 9 | 9 | <path d="M17.75 6.75L7.25 17.25L2 12" stroke="#3858E9" stroke-width="2.25" stroke-linecap="round" stroke-linejoin="round"/> |
| 10 | 10 | <path d="M22.75 6.75L12.25 17.25" stroke="#3858E9" stroke-width="2.25" stroke-linecap="round" stroke-linejoin="round"/> |
| 11 | 11 | </symbol> |
| 12 | + <symbol fill="none" id="flrt-icon-star" viewBox="0 0 24 24"> | |
| 13 | + <path d="M12.0012 16.9998L6.12321 20.5898L7.72121 13.8898L2.49121 9.40976L9.35621 8.85976L12.0012 2.49976L14.6462 8.85976L21.5122 9.40976L16.2812 13.8898L17.8792 20.5898L12.0012 16.9998Z" fill="#3858E9"/> | |
| 14 | + </symbol> | |
| 12 | 15 | </svg> |
| 13 | 16 | <div class="flrt-upgrade-to-pro-popup-modal-wrapper"> |
| 14 | 17 | <div class="flrt-upgrade-to-pro-popup-modal"> |
| 15 | 18 | <div class="flrt-upgrade-to-pro-popup-close-btn" id="flrt-close-modal-btn"> |
| @@ -40,9 +43,9 @@ | ||
| 40 | 43 | <div class="flrt-upgrade-to-pro-popup-checkmark-icon"><svg width="24" height="24"><use href="#flrt-icon-check-double"/></svg></div> |
| 41 | 44 | </td> |
| 42 | 45 | </tr> |
| 43 | 46 | <tr> |
| 44 | - <td class="flrt-upgrade-to-pro-popup-td"><?php echo '∞ ' . esc_html_x('Unlimited Filter Sets', 'benefits-landing', 'filter-everything'); ?></td> | |
| 47 | + <td class="flrt-upgrade-to-pro-popup-td"><span class="flrt-td-feature-flex"><span><?php echo esc_html_x('Instant filter counts', 'benefits-landing', 'filter-everything'); ?></span><span class="fetm-new-badge"><?php echo esc_html_x('New', 'benefits-landing', 'filter-everything'); ?></span><span class="wpc-icon-help-tip fetm-help-tip" data-tip="<?php echo esc_attr_x('Filter counts update instantly as visitors click — no page reload, no server request. Even faster than AJAX.', 'benefits-landing', 'filter-everything'); ?>">?</span></span></td> | |
| 45 | 48 | <td class="flrt-upgrade-to-pro-popup-td flrt-upgrade-to-pro-popup-center-col"> |
| 46 | 49 | <div class="flrt-upgrade-to-pro-popup-dash-icon"></div> |
| 47 | 50 | </td> |
| 48 | 51 | <td class="flrt-upgrade-to-pro-popup-td flrt-upgrade-to-pro-popup-center-col"> |
| @@ -49,9 +52,9 @@ | ||
| 49 | 52 | <div class="flrt-upgrade-to-pro-popup-checkmark-icon"><svg width="24" height="24"><use href="#flrt-icon-check-double"/></svg></div> |
| 50 | 53 | </td> |
| 51 | 54 | </tr> |
| 52 | 55 | <tr> |
| 53 | - <td class="flrt-upgrade-to-pro-popup-td"><?php echo esc_html_x('User-friendly mobile filters widget', 'benefits-landing', 'filter-everything'); ?></td> | |
| 56 | + <td class="flrt-upgrade-to-pro-popup-td"><?php echo '∞ ' . esc_html_x('Unlimited Filter Sets', 'benefits-landing', 'filter-everything'); ?></td> | |
| 54 | 57 | <td class="flrt-upgrade-to-pro-popup-td flrt-upgrade-to-pro-popup-center-col"> |
| 55 | 58 | <div class="flrt-upgrade-to-pro-popup-dash-icon"></div> |
| 56 | 59 | </td> |
| 57 | 60 | <td class="flrt-upgrade-to-pro-popup-td flrt-upgrade-to-pro-popup-center-col"> |
| @@ -66,9 +69,9 @@ | ||
| 66 | 69 | <td class="flrt-upgrade-to-pro-popup-td flrt-upgrade-to-pro-popup-center-col"> |
| 67 | 70 | <div class="flrt-upgrade-to-pro-popup-checkmark-icon"><svg width="24" height="24"><use href="#flrt-icon-check-double"/></svg></div> |
| 68 | 71 | </td> |
| 69 | 72 | </tr> |
| 70 | - <tr class="flrt-upgrade-to-pro-popup-tr-last"> | |
| 73 | + <tr> | |
| 71 | 74 | <td class="flrt-upgrade-to-pro-popup-td"><?php |
| 72 | 75 | echo $flrt_is_woo |
| 73 | 76 | ? esc_html_x('Accurate filtering of out-of-stock and variable products', 'benefits-landing', 'filter-everything') |
| 74 | 77 | : esc_html_x('Auto-hiding empty filters', 'benefits-landing', 'filter-everything'); |
| @@ -79,8 +82,17 @@ | ||
| 79 | 82 | <td class="flrt-upgrade-to-pro-popup-td flrt-upgrade-to-pro-popup-center-col"> |
| 80 | 83 | <div class="flrt-upgrade-to-pro-popup-checkmark-icon"><svg width="24" height="24"><use href="#flrt-icon-check-double"/></svg></div> |
| 81 | 84 | </td> |
| 82 | 85 | </tr> |
| 86 | + <tr class="flrt-upgrade-to-pro-popup-tr-last"> | |
| 87 | + <td class="flrt-upgrade-to-pro-popup-td"><?php echo esc_html_x('User-friendly mobile filters widget', 'benefits-landing', 'filter-everything'); ?></td> | |
| 88 | + <td class="flrt-upgrade-to-pro-popup-td flrt-upgrade-to-pro-popup-center-col"> | |
| 89 | + <div class="flrt-upgrade-to-pro-popup-dash-icon"></div> | |
| 90 | + </td> | |
| 91 | + <td class="flrt-upgrade-to-pro-popup-td flrt-upgrade-to-pro-popup-center-col"> | |
| 92 | + <div class="flrt-upgrade-to-pro-popup-checkmark-icon"><svg width="24" height="24"><use href="#flrt-icon-check-double"/></svg></div> | |
| 93 | + </td> | |
| 94 | + </tr> | |
| 83 | 95 | </tbody> |
| 84 | 96 | </table> |
| 85 | 97 | |
| 86 | 98 | <div class="flrt-upgrade-to-pro-popup-see-all-container"> |
| @@ -100,23 +112,49 @@ | ||
| 100 | 112 | . '<br>' |
| 101 | 113 | . esc_html__('Filter Everything PRO', 'filter-everything'); |
| 102 | 114 | ?> |
| 103 | 115 | </p> |
| 104 | - <p class="flrt-upgrade-to-pro-popup-subtitle"><?php echo esc_html__('Unlock all PRO features and capabilities', 'filter-everything'); ?></p> | |
| 116 | + <div class="flrt-upgrade-to-pro-popup-rating"> | |
| 117 | + <?php for ( $flrt_star = 0; $flrt_star < 5; $flrt_star++ ) : ?><svg width="18" height="18"><use href="#flrt-icon-star"/></svg><?php endfor; ?> | |
| 118 | + <span class="flrt-upgrade-to-pro-popup-rating-number">4.88</span> | |
| 119 | + </div> | |
| 120 | + <p class="flrt-upgrade-to-pro-popup-subtitle"><?php echo esc_html__('Get the full power of filtering, SEO tools, and improve conversions', 'filter-everything'); ?></p> | |
| 105 | 121 | |
| 106 | 122 | <div class="flrt-upgrade-to-pro-popup-pricing-row"> |
| 107 | - <span><?php echo esc_html__('Pay once', 'filter-everything'); ?></span> | |
| 123 | + <span><?php echo wp_kses( | |
| 124 | + __( 'Always<br />WP & Woo compatible', 'filter-everything'), | |
| 125 | + array( 'br' => array() ) | |
| 126 | + ); ?></span> | |
| 108 | 127 | <span class="flrt-upgrade-to-pro-popup-price-dot">•</span> |
| 109 | - <span class="flrt-upgrade-to-pro-popup-price-tag"><?php echo FLRT_PRO_PRICE; ?></span> | |
| 128 | + <?php | |
| 129 | + // Price from the notifications feed (Messages::pricing()) while a | |
| 130 | + // sale is on, otherwise the one this version shipped with. | |
| 131 | + $flrt_pricing = class_exists( 'FilterEverything\\Filter\\Messages' ) ? \FilterEverything\Filter\Messages::pricing() : null; | |
| 132 | + $flrt_price = $flrt_pricing ? $flrt_pricing['price'] : FLRT_PRO_PRICE; | |
| 133 | + ?> | |
| 134 | + <span class="flrt-upgrade-to-pro-popup-price-tag<?php echo ( $flrt_pricing && $flrt_pricing['was'] ) ? ' flrt-upgrade-to-pro-popup-price-tag--sale' : ''; ?>"> | |
| 135 | + <?php if ( $flrt_pricing && $flrt_pricing['was'] ) : ?> | |
| 136 | + <span class="flrt-upgrade-to-pro-popup-price-was"><s><?php echo esc_html( $flrt_pricing['was'] ); ?></s><?php if ( $flrt_pricing['off'] ) : ?> <span class="flrt-upgrade-to-pro-popup-price-off"><?php echo esc_html( $flrt_pricing['off'] ); ?></span><?php endif; ?></span> | |
| 137 | + <?php endif; ?> | |
| 138 | + <span class="flrt-upgrade-to-pro-popup-price-now"><?php echo esc_html( $flrt_price ); ?></span> | |
| 139 | + </span> | |
| 110 | 140 | <span class="flrt-upgrade-to-pro-popup-price-dot">•</span> |
| 111 | - <span><?php echo esc_html__('Lifetime updates', 'filter-everything'); ?></span> | |
| 141 | + <span><?php echo esc_html__('1-year updates & support', 'filter-everything'); ?></span> | |
| 112 | 142 | </div> |
| 113 | - | |
| 114 | - <div class="flrt-upgrade-to-pro-popup-support-text"><?php echo esc_html__('6 month of support included', 'filter-everything'); ?></div> | |
| 143 | + <?php if ( $flrt_pricing && $flrt_pricing['was'] && ! empty( $flrt_pricing['ends'] ) ) : ?> | |
| 144 | + <div class="flrt-upgrade-to-pro-popup-sale-note"><?php | |
| 145 | + /* translators: %s: date, e.g. September 30 */ | |
| 146 | + echo esc_html( sprintf( __( 'Sale price — ends %s', 'filter-everything' ), wp_date( 'F j', (int) $flrt_pricing['ends'] ) ) ); | |
| 147 | + ?></div> | |
| 148 | + <?php endif; ?> | |
| 149 | + <div class="flrt-upgrade-to-pro-popup-support-text"> | |
| 150 | + <?php echo esc_html__('Plugin keeps working after expiry', 'filter-everything'); ?> | |
| 151 | + </div> | |
| 115 | 152 | </div> |
| 116 | 153 | <a href="<?php echo esc_url(flrt_unlock_pro_link('popup_unlock_btn')); ?>" |
| 117 | 154 | class="flrt-upgrade-to-pro-popup-unlock-btn" |
| 118 | 155 | target="_blank"><?php echo esc_html__('Unlock PRO', 'filter-everything'); ?> <?php echo flrt_crown_icon(); ?></a> |
| 156 | + <div class="flrt-upgrade-to-pro-popup-under-button-text"><?php echo esc_html__('30-day money-back guarantee', 'filter-everything'); ?></div> | |
| 119 | 157 | </div> |
| 120 | 158 | </div> |
| 121 | 159 | </div> |
| 122 | 160 | </div> |