Skip to content

Commit

Permalink
Merge pull request #349 from Codeinwp/feat/pro/393
Browse files Browse the repository at this point in the history
Added personalization preview menu in dashboard
  • Loading branch information
selul authored Sep 6, 2024
2 parents 5206e13 + 85f4212 commit d431642
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion classes/admin.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,10 @@ function product_meta() {
<a id="ppom-all-addons" class="mr-3" href="<?php echo esc_url($addons); ?>">+ <?php esc_html_e( 'All Addons', 'woocommerce-product-addon' ); ?></a>
<a id="ppom-all-addons" class="mr-3" href="<?php echo esc_url($changelog_url); ?>"><?php esc_html_e( 'Changelog', 'woocommerce-product-addon' ); ?></a>
<a class="mr-3" href="<?php echo esc_url( admin_url( '/admin.php?page=ti-about-woocommerce_product_addon' ) ); ?>"><?php esc_html_e('About Us', 'woocommerce-product-addon'); ?></a>
<a href="<?php echo esc_url($ppom_settings_url); ?>"><?php esc_html_e('General Settings', 'woocommerce-product-addon'); ?></a>
<a href="<?php echo esc_url($ppom_settings_url); ?>"><?php esc_html_e('General Settings', 'woocommerce-product-addon'); ?></a>
<?php if ( ppom_pro_is_installed() && class_exists( 'PPOM_Pro\Addons\Texter\Texter' ) ) : ?>
<a class="ml-3" href="<?php echo esc_url( add_query_arg( 'post_type', 'nm_ppom_texter', admin_url( 'edit.php' ) ) ); ?>"><?php esc_html_e( 'Manage Personalization Preview', 'woocommerce-product-addon' ); ?></a>
<?php endif; ?>
</div>
</div>
<?php
Expand Down
2 changes: 1 addition & 1 deletion classes/freemium.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public function get_pro_fields() {
'icon' => '<i class="fa fa-font" aria-hidden="true"></i>',
],
[
'title' => __( 'Texter', 'woocommerce-product-addon' ),
'title' => __( 'Personalization Preview', 'woocommerce-product-addon' ),
'icon' => '<i class="fa fa-keyboard-o" aria-hidden="true"></i>',
],
[
Expand Down
4 changes: 2 additions & 2 deletions inc/arrays.php
Original file line number Diff line number Diff line change
Expand Up @@ -671,8 +671,8 @@ function ppom_array_get_addons_details() {

$addons = array(
array(
'title' => __( 'Texter', 'woocommerce-product-addon' ),
'desc' => __( 'PPOM Texter Addon is the best and simple solution for web2print business using WooCommerce. Now define a fixed position and area for Text in your Templates like on Mug, T-shirt or Visiting Cards with preset font family, size. The client will fill the text with his all of its attributes and send to cart. It’s like a smart Product Designer. Multiple templates can also be attached to one product.', 'woocommerce-product-addon' ),
'title' => __( 'Personalization Preview', 'woocommerce-product-addon' ),
'desc' => __( 'PPOM Personalization Preview Addon is the best and simple solution for web2print business using WooCommerce. Now define a fixed position and area for Text in your Templates like on Mug, T-shirt or Visiting Cards with preset font family, size. The client will fill the text with his all of its attributes and send to cart. It’s like a smart Product Designer. Multiple templates can also be attached to one product.', 'woocommerce-product-addon' ),
'actions' => array(
array(
'title' => __( 'Docs', 'woocommerce-product-addon' ),
Expand Down

0 comments on commit d431642

Please sign in to comment.