Plugin Directory

Changeset 3232191


Ignore:
Timestamp:
01/30/2025 05:27:17 PM (14 months ago)
Author:
amitwpdeveloper
Message:

1.4.9 update

Location:
woo-additional-fees-on-checkout-wordpress/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • woo-additional-fees-on-checkout-wordpress/trunk/assets/css/admin-style.css

    r2891885 r3232191  
    6666    background: white;
    6767    padding: 15px;
    68     margin-left: 12%;
    6968    position:relative;
    7069    width: 70%;
  • woo-additional-fees-on-checkout-wordpress/trunk/classes/wps-ext-cst-admin-settings.php

    r2891885 r3232191  
    33{
    44    public static function register_admin_settings(){
    5         add_settings_section("wps-ext-cst-option-section", "Additional Fees Settings", null, "wps-ext-cst-options");
     5        add_settings_section("wps-ext-cst-option-section", "Additional Fees Settings<p class='error'>You are using Basic, Free version, get the Premium, Exclusive version @ <b>19 USD</b> only, for limited time.</p>", null, "wps-ext-cst-options");
    66
    77        register_setting("wps-ext-cst-option-section", "ext_cst_status");
     
    8686                                            <option>No</option>
    8787                                        </select>
    88                                         <p class="error">Available with premium version.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
     88                                        <p class="error">Available with premium version @ <b>19 USD only</b>, for limited time.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
    8989                                    </td>
    9090                                </tr>
     
    9696                                            <option value="no">No</option>
    9797                                        </select>
    98                                         <p class="error">Available with premium version.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
     98                                        <p class="error">Available with premium version @ <b>19 USD only</b>, for limited time.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
    9999                                    </td>
    100100                                </tr>
     
    113113                                        </select>
    114114                                        <p style="font-size:12px; font-style: italic;">If you want to charge additional fees for each product quantity into cart then choose <b>Multiplied By Product Quantity.</b> otherwise choose One Time Only.</p>
    115                                         <p class="error">Available with premium version.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
     115                                        <p class="error">Available with premium version @ <b>19 USD only</b>, for limited time.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
    116116                                    </td>
    117117                                </tr>
     
    123123                                            <option value="disable">Disable</option>
    124124                                        </select>
    125                                         <p class="error">Available with premium version.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
     125                                        <p class="error">Available with premium version @ <b>19 USD only</b>, for limited time.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
    126126                                    </td>
    127127                                </tr>
     
    147147                                        <label>Maximum</label>
    148148                                        <input type="number" name="cart_total_amount_max" class="small-text" id="cart_total_amount_max" value="<?php echo $cart_total_amount_max; ?>"/>
    149                                         <p class="error">Available with premium version.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
     149                                        <p class="error">Available with premium version @ <b>19 USD only</b>, for limited time.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
    150150                                    </td>
    151151                                </tr>
     
    158158                                        <label>Maximum</label>
    159159                                        <input type="number" name="cart_no_product_max" class="small-text" id="cart_no_product_max" value="<?php echo $cart_no_product_max; ?>"/>
    160                                         <p class="error">Available with premium version.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
     160                                        <p class="error">Available with premium version @ <b>19 USD only</b>, for limited time.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
    161161                                    </td>
    162162                                </tr>
     
    182182                                            ?>
    183183                                        </select>
    184                                         <p class="error">Available with premium version.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
     184                                        <p class="error">Available with premium version @ <b>19 USD only</b>, for limited time.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
    185185                                    </td>
    186186                                </tr>
     
    332332                                                            </select>
    333333                                                            <p>If you want to charge additional fees for each product quantity into cart then choose <b>Multiplied By Product Quantity.</b> otherwise choose One Time Only.</p>
    334                                                             <p class="error">Available with premium version.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
     334                                                            <p class="error">Available with premium version @ <b>19 USD only</b>, for limited time.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
    335335                                                        </td>
    336336                                                    </tr>
     
    342342                                                                <option value="disable">Disable</option>
    343343                                                            </select>
    344                                                             <p class="error">Available with premium version.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
     344                                                            <p class="error">Available with premium version @ <b>19 USD only</b>, for limited time.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
    345345                                                        </td>
    346346                                                    </tr>
     
    367367                                                            <label>Maximum</label>
    368368                                                            <input type="number" class="small-text" />
    369                                                             <p class="error">Available with premium version.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
     369                                                            <p class="error">Available with premium version @ <b>19 USD only</b>, for limited time.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
    370370                                                        </td>
    371371                                                    </tr>
     
    378378                                                            <label>Maximum</label>
    379379                                                            <input type="number" class="small-text" value=""/>
    380                                                             <p class="error">Available with premium version.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
     380                                                            <p class="error">Available with premium version @ <b>19 USD only</b>, for limited time.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
    381381                                                        </td>
    382382                                                    </tr>
     
    402402                                                                ?>
    403403                                                            </select>
    404                                                             <p class="error">Available with premium version.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
     404                                                            <p class="error">Available with premium version @ <b>19 USD only</b>, for limited time.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
    405405                                                        </td>
    406406                                                    </tr>
     
    427427                                                                ?>
    428428                                                            </select>
    429                                                             <p class="error">Available with premium version.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
     429                                                            <p class="error">Available with premium version @ <b>19 USD only</b>, for limited time.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
    430430                                                        </td>
    431431                                                    </tr>
     
    442442                                                                ?>
    443443                                                            </select>
    444                                                             <p class="error">Available with premium version.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
     444                                                            <p class="error">Available with premium version @ <b>19 USD only</b>, for limited time.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
    445445                                                        </td>
    446446                                                    </tr>
     
    452452                                                                <option value="yes">Yes</option>
    453453                                                            </select>
    454                                                             <p class="error">Available with premium version.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
     454                                                            <p class="error">Available with premium version @ <b>19 USD only</b>, for limited time.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
    455455                                                        </td>
    456456                                                    </tr>
     
    462462                                                                <option value="yes">Yes</option>
    463463                                                            </select>
    464                                                             <p class="error">Available with premium version.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
     464                                                            <p class="error">Available with premium version @ <b>19 USD only</b>, for limited time.<a target="_blank;" href="https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/"><br/>Buy Now</a>.</p>
    465465                                                        </td>
    466466                                                    </tr>
  • woo-additional-fees-on-checkout-wordpress/trunk/classes/wps-ext-cst-admin.php

    r3208205 r3232191  
    11<?php
     2
    23class WPS_EXT_CST_Admin
    34{
     
    56    {
    67        add_action( 'wp_ajax_wps_generate_new_fees', array($this,'wps_generate_new_fees' ));
    7     }
     8        add_action( 'admin_notices', array($this,'show_premium_buy_notice' ));
     9        add_action( 'admin_init', array($this,'show_premium_buy_notice_dismissed' ));
     10    }
     11    public function show_premium_buy_notice() {
     12        $user_id = get_current_user_id();
     13        if ( !get_user_meta( $user_id, 'wps_premium_buy_notice' ) ){
     14            echo '<div class="notice notice-success is-dismissible" style="display:flex;">
     15                    <img src="https://wpsuperiors-media.s3.amazonaws.com/wp-content/uploads/2025/01/30163651/limited.png" />
     16                    <span style="padding-top:4%; font-size:20px;">WooCommerce Additional Fees On Checkout PREMIUM plugin at <b style="font-weight:700;">19 USD</b> only.
     17                    <a class="button button-primary" href="?wps-dismissed" style="margin-top:-5px;">Click To Grab</a></span>
     18                </div>';
     19        }
     20    }
     21
     22    public function show_premium_buy_notice_dismissed() {
     23        $user_id = get_current_user_id();
     24        if ( isset( $_GET['wps-dismissed'] ) ){
     25            add_user_meta( $user_id, 'wps_premium_buy_notice', 'true', true );
     26            wp_redirect( "https://www.wpsuperiors.com/shop/woo-additional-fees-on-checkout/", 301 );
     27            exit();
     28        }
     29    }
     30
    831    public static function init(){
    932        add_action( 'admin_menu', array( 'WPS_EXT_CST_Admin', 'add_menu_extra_fee_option' ) );
  • woo-additional-fees-on-checkout-wordpress/trunk/readme.txt

    r3208205 r3232191  
    5959
    6060<strong>N.B:</strong> Please activate WooCommerce before you activate WooCommerce Additional Fees plugin, and both Free and Premium version will not activate at the same time. Please deactivate one version before you going to activate another version.
    61 Not all the features are avaiable at the free version, to get the full features please check it out [Pro version](https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/).
     61Not all the features are avaiable at the free version, to get the full features please check it out [Pro version @19 USD](https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/).
    6262
    6363
     
    124124
    125125== Changelog ==
    126 = 1.4.8 - 15th Dec, 2025 =
    127 *Fixed Sanitization Issue*
     126= 1.4.9 - 30th Jan, 2025 =
     127*WooCommerce & WordPress compatiability update*
     128*Template version update*
    128129
    129130= 1.4.7 - 20th Nov, 2024 =
  • woo-additional-fees-on-checkout-wordpress/trunk/woo-additional-fees-checkout-free.php

    r3208205 r3232191  
    44Plugin URI: https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/
    55Description: Create an additional field on checkout page to apply an extra cost or fees. *Do not activate FREE and PREMIUM at the same time.*
    6 Version: 1.4.8
     6Version: 1.4.9
    77Author: WPSuperiors
    88Author URI: https://www.wpsuperiors.com/woocommerce-additional-fees-on-checkout/
    99* WC requires at least: 3.5.0
    10 * WC tested up to: 9.4.3
     10* WC tested up to: 9.6.0
    1111*/
    1212if ( ! defined( 'ABSPATH' ) ) {
     
    8181    return $located;
    8282}
     83
     84
     85
     86   
     87
  • woo-additional-fees-on-checkout-wordpress/trunk/woocommerce/checkout/review-order.php

    r2811248 r3232191  
    1313 * @see https://docs.woocommerce.com/document/template-structure/
    1414 * @package WooCommerce/Templates
    15  * @version 3.8.0
     15 * @version 5.2.0
    1616 */
    1717
Note: See TracChangeset for help on using the changeset viewer.