Changeset 3232731
- Timestamp:
- 01/31/2025 02:34:47 PM (14 months ago)
- Location:
- woo-checkout-on-popup-free/trunk
- Files:
-
- 3 edited
-
includes/admin/wcp-settings.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
wcp-index.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woo-checkout-on-popup-free/trunk/includes/admin/wcp-settings.php
r1865792 r3232731 7 7 add_action( 'woocommerce_settings_tabs_wcp_checkout', array( $this, 'settings_tab' ) ); 8 8 add_action( 'woocommerce_update_options_wcp_checkout', array( $this, 'process_admin_options' ) ); 9 add_action( 'admin_notices', array($this,'show_premium_buy_notice' )); 10 add_action( 'admin_init', array($this,'show_premium_buy_notice_dismissed' )); 9 11 12 } 13 public function show_premium_buy_notice() { 14 $user_id = get_current_user_id(); 15 if ( !get_user_meta( $user_id, 'wps_premium_buy_notice_checkoutpopup2' ) ){ 16 echo '<div class="notice notice-success is-dismissible" style="display:flex;"> 17 <img src="https://wpsuperiors-media.s3.amazonaws.com/wp-content/uploads/2025/01/30163651/limited.png" /> 18 <span style="padding-top:4%; font-size:20px;">WooCommerce Checkout On Popup PREMIUM plugin at <b style="font-weight:700;">19 USD</b> only. 19 <a class="button button-primary" href="?wps-dismissed2" style="margin-top:-5px;">Click To Grab</a></span> 20 </div>'; 21 } 22 } 23 24 public function show_premium_buy_notice_dismissed() { 25 $user_id = get_current_user_id(); 26 if ( isset( $_GET['wps-dismissed2'] ) ){ 27 add_user_meta( $user_id, 'wps_premium_buy_notice_checkoutpopup2', 'true', true ); 28 wp_redirect( "https://www.wpsuperiors.com/woocommerce-checkout-on-popup/", 301 ); 29 exit(); 30 } 10 31 } 11 32 public function add_settings_tab( $tabs ){ -
woo-checkout-on-popup-free/trunk/readme.txt
r3193275 r3232731 71 71 = Where I Can Buy Premium Version ? = 72 72 73 Go here, [WooCommerce Checkout On Popup ](https://www.wpsuperiors.com/shop/woocommerce-checkout-on-popup/)73 Go here, [WooCommerce Checkout On Popup @ 19 USD](https://www.wpsuperiors.com/woocommerce-checkout-on-popup) 74 74 75 75 = Need to customize anything? = … … 104 104 105 105 == Changelog == 106 = 1.2.2 - 31st Jan, 2025 = 107 *WooCommerce compatibility update* 108 *Minor fixing* 109 106 110 = 1.2.1 - 20th Nov, 2024 = 107 111 *WooCommerce 8.4.1 compatibility update* -
woo-checkout-on-popup-free/trunk/wcp-index.php
r3193281 r3232731 4 4 Plugin URI: https://www.wpsuperiors.com/woocommerce-checkout-on-popup/ 5 5 Description: Boost you store sell by made the checkout process easy and fast using Popup. 6 Version: 1.2. 16 Version: 1.2.2 7 7 Author: WPSuperiors 8 8 Author URI: https://wpsuperiors.com/ … … 10 10 Domain Path: /languages/ 11 11 * WC requires at least: 3.4.0 12 * WC tested up to: 9. 4.212 * WC tested up to: 9.6.0 13 13 */ 14 14 if ( ! defined( 'ABSPATH' ) ) { … … 57 57 '<a href="' . admin_url( 'admin.php?page=wc-settings&tab=wcp_checkout' ) . '">Settings</a>', 58 58 '<a href="https://www.wpsuperiors.com/woocommerce-checkout-on-popup-details/" target="_blank;">Documentation</a>', 59 '<a href="https://www.wpsuperiors.com/woocommerce-checkout-on-popup/" target="_blank;">Get The Premium </a>'59 '<a href="https://www.wpsuperiors.com/woocommerce-checkout-on-popup/" target="_blank;">Get The Premium @ 19 USD</a>' 60 60 ); 61 61
Note: See TracChangeset
for help on using the changeset viewer.