PluginProbe
Tiered Pricing Table for WooCommerce / 6.4.0
Tiered Pricing Table for WooCommerce v6.4.0
8.0.2 7.1.7 7.1.5 7.1.4 7.1.1 6.5.0 6.4.0 6.1.0 trunk 1.0 1.1 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.3.1 2.3.2 2.3.3 All 91 releases
tier-pricing-table / views / admin / banners / premium-thanking-banner.php

premium-thanking-banner.php in Tiered Pricing Table for WooCommerce 6.4.0, at views/admin/banners/premium-thanking-banner.php

48 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if ( ! defined( 'ABSPATH' ) ) {
2 exit;
3 }
4
5 /**
6 * Available variables
7 *
8 * @var string $accountUrl
9 * @var string $contactUsUrl
10 * @var string $documentationUrl
11 */
12 ?>
13 <div class="tpt-alert">
14
15 <div class="tpt-alert__text">
16 <div class="tpt-alert__inner">
17 <span style="margin-left: 6px;">
18 <?php esc_html_e( 'Tiered Pricing Table', 'tier-pricing-table' ); ?>
19 </span>
20 <span class="tpt-badge tpt-badge--premium"><?php esc_html_e( 'Premium', 'tier-pricing-table' ); ?></span>
21 <?php
22 if ( ! tpt_fs()->can_use_premium_code() ) {
23 ?>
24 <br>
25 <small style="color:red;"><?php esc_html_e( 'License is invalid or expired. Please check your account.', 'tier-pricing-table' ); ?></small>
26 <?php
27 }
28 ?>
29 </div>
30 </div>
31
32 <div class="tpt-alert__buttons">
33 <div class="tpt-alert__inner">
34 <a class="tpt-button tpt-button--accent" style="display: inline-flex; align-items: center;" href="<?php echo esc_attr( $accountUrl ); ?>">
35 <svg style="width: 16px; height: 16px; stroke: currentColor; fill: none; margin-right: 6px;" xmlns="http://www.w3.org/2000/svg" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg>
36 <?php esc_html_e( 'My Account', 'tier-pricing-table' ); ?>
37 </a>
38 <a class="tpt-button tpt-button--default" style="display: inline-flex; align-items: center;" href="<?php echo esc_attr( $contactUsUrl ); ?>">
39 <svg style="width: 16px; height: 16px; stroke: currentColor; fill: none; margin-right: 6px;" xmlns="http://www.w3.org/2000/svg" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"/><polyline points="22,6 12,13 2,6"/></svg>
40 <?php esc_html_e( 'Contact Support', 'tier-pricing-table' ); ?>
41 </a>
42 <a class="tpt-button tpt-button--default" target="_blank" style="display: inline-flex; align-items: center;" href="<?php echo esc_attr( $documentationUrl ); ?>">
43 <svg style="width: 16px; height: 16px; stroke: currentColor; fill: none; margin-right: 6px;" xmlns="http://www.w3.org/2000/svg" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"/><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"/></svg>
44 <?php esc_html_e( 'Documentation', 'tier-pricing-table' ); ?>
45 </a>
46 </div>
47 </div>
48 </div>