Changeset 3321576
- Timestamp:
- 07/03/2025 07:23:34 AM (9 months ago)
- Location:
- cartlink-generator
- Files:
-
- 13 added
- 3 edited
-
tags/1.0.3 (added)
-
tags/1.0.3/assets (added)
-
tags/1.0.3/assets/admin-scripts.js (added)
-
tags/1.0.3/assets/admin-styles.css (added)
-
tags/1.0.3/cartlink-generator.php (added)
-
tags/1.0.3/includes (added)
-
tags/1.0.3/includes/admin-page.php (added)
-
tags/1.0.3/includes/ajax-functions.php (added)
-
tags/1.0.3/includes/hooks.php (added)
-
tags/1.0.3/includes/utilities.php (added)
-
tags/1.0.3/readme.txt (added)
-
tags/1.0.3/templates (added)
-
tags/1.0.3/templates/admin-page.php (added)
-
trunk/cartlink-generator.php (modified) (3 diffs)
-
trunk/includes/hooks.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cartlink-generator/trunk/cartlink-generator.php
r3265731 r3321576 3 3 * Plugin Name: CartLink Generator for WooCommerce 4 4 * 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.15 * Version: 1.0.3 6 6 * Author: Guaven Labs 7 7 * Text Domain: cartlink-generator … … 10 10 * Requires Plugins: woocommerce 11 11 * WC requires at least: 8.0 12 * WC tested up to: 9. 812 * WC tested up to: 9.9 13 13 */ 14 14 … … 18 18 define( 'GUAVEN_CARTLINK_GENERATOR_PATH', plugin_dir_path( __FILE__ ) ); 19 19 define( 'GUAVEN_CARTLINK_GENERATOR_URL', plugin_dir_url( __FILE__ ) ); 20 define( 'GUAVEN_CARTLINK_GENERATOR_VERSION', '1.0. 2.1');20 define( 'GUAVEN_CARTLINK_GENERATOR_VERSION', '1.0.3.0'); 21 21 22 22 -
cartlink-generator/trunk/includes/hooks.php
r3265731 r3321576 47 47 48 48 $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 49 57 wp_redirect($where_to_redirect); 50 58 exit; -
cartlink-generator/trunk/readme.txt
r3265731 r3321576 8 8 WC tested up to: 9.8 9 9 Requires Plugins: woocommerce 10 Stable tag: 1.0. 2.110 Stable tag: 1.0.3 11 11 License: GPLv2 or later 12 12 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 97 97 == Changelog == 98 98 99 = 1.0.3 = 100 * Added new feature: preserve query string in URL sharing (UTM params f.i.). 101 99 102 = 1.0.2.1 = 100 103 * Fixing "Fixed Adjustment is always zero" bug.
Note: See TracChangeset
for help on using the changeset viewer.