Plugin Directory

Changeset 3321576


Ignore:
Timestamp:
07/03/2025 07:23:34 AM (9 months ago)
Author:
Elvin.Haci
Message:

1.0.3 stable

Location:
cartlink-generator
Files:
13 added
3 edited

Legend:

Unmodified
Added
Removed
  • cartlink-generator/trunk/cartlink-generator.php

    r3265731 r3321576  
    33 * Plugin Name: CartLink Generator for WooCommerce
    44 * Description: Create dynamic cart links with pre-filled products, quantities, and custom prices, perfect for businesses interacting via chat to reduce purchase steps and drive faster conversions.
    5  * Version: 1.0.2.1
     5 * Version: 1.0.3
    66 * Author: Guaven Labs
    77 * Text Domain: cartlink-generator
     
    1010 * Requires Plugins: woocommerce
    1111 * WC requires at least: 8.0
    12  * WC tested up to: 9.8
     12 * WC tested up to: 9.9
    1313 */
    1414
     
    1818define( 'GUAVEN_CARTLINK_GENERATOR_PATH', plugin_dir_path( __FILE__ ) );
    1919define( 'GUAVEN_CARTLINK_GENERATOR_URL', plugin_dir_url( __FILE__ ) );
    20 define( 'GUAVEN_CARTLINK_GENERATOR_VERSION', '1.0.2.1');
     20define( 'GUAVEN_CARTLINK_GENERATOR_VERSION', '1.0.3.0');
    2121
    2222
  • cartlink-generator/trunk/includes/hooks.php

    r3265731 r3321576  
    4747
    4848        $where_to_redirect = defined('CARTGENERATOR_REDIRECT_TO_CART_INSTEAD_OF_CHECKOUT') ? wc_get_cart_url() : wc_get_checkout_url();
     49       
     50        // Construct the new URL with preserved parameters
     51        if(!empty($_GET["uid"])){
     52            $query_params = $_GET;
     53            unset($query_params['uid']); // Remove the 'uid' parameter
     54            $where_to_redirect = add_query_arg($query_params, $where_to_redirect);
     55        }
     56       
    4957        wp_redirect($where_to_redirect);
    5058        exit;
  • cartlink-generator/trunk/readme.txt

    r3265731 r3321576  
    88WC tested up to: 9.8
    99Requires Plugins: woocommerce
    10 Stable tag: 1.0.2.1
     10Stable tag: 1.0.3
    1111License: GPLv2 or later
    1212License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    9797== Changelog ==
    9898
     99= 1.0.3 =
     100* Added new feature: preserve query string in URL sharing (UTM params f.i.).
     101
    99102= 1.0.2.1 =
    100103* Fixing "Fixed Adjustment is always zero" bug.
Note: See TracChangeset for help on using the changeset viewer.