Changeset 3347404
- Timestamp:
- 08/20/2025 08:51:10 AM (7 months ago)
- Location:
- shipbubble
- Files:
-
- 58 added
- 4 edited
-
tags/2.9.2 (added)
-
tags/2.9.2/admin (added)
-
tags/2.9.2/admin/css (added)
-
tags/2.9.2/admin/css/styles-wc.css (added)
-
tags/2.9.2/admin/index.php (added)
-
tags/2.9.2/admin/js (added)
-
tags/2.9.2/admin/js/ajax-create-shipment.js (added)
-
tags/2.9.2/admin/js/ajax-validate-address.js (added)
-
tags/2.9.2/admin/js/ajax-validate-auth.js (added)
-
tags/2.9.2/admin/settings (added)
-
tags/2.9.2/admin/settings/js (added)
-
tags/2.9.2/admin/settings/js/settings.js (added)
-
tags/2.9.2/admin/settings/settings-menu.php (added)
-
tags/2.9.2/admin/settings/templates (added)
-
tags/2.9.2/admin/settings/templates/api-keys.php (added)
-
tags/2.9.2/admin/settings/templates/local-pickup.php (added)
-
tags/2.9.2/admin/settings/templates/sender-details.php (added)
-
tags/2.9.2/admin/woocommerce (added)
-
tags/2.9.2/admin/woocommerce/async-create-shipment.php (added)
-
tags/2.9.2/admin/woocommerce/async-validate-address.php (added)
-
tags/2.9.2/admin/woocommerce/enqueue-styles.php (added)
-
tags/2.9.2/admin/woocommerce/orders.php (added)
-
tags/2.9.2/admin/woocommerce/shipping-settings.php (added)
-
tags/2.9.2/admin/wordpress (added)
-
tags/2.9.2/admin/wordpress/async-validate-auth.php (added)
-
tags/2.9.2/admin/wordpress/index.php (added)
-
tags/2.9.2/admin/wordpress/settings-callback.php (added)
-
tags/2.9.2/admin/wordpress/settings-field-validation.php (added)
-
tags/2.9.2/admin/wordpress/settings-menu.php (added)
-
tags/2.9.2/admin/wordpress/settings-page.php (added)
-
tags/2.9.2/admin/wordpress/settings-register.php (added)
-
tags/2.9.2/includes (added)
-
tags/2.9.2/includes/constants.php (added)
-
tags/2.9.2/includes/core-methods.php (added)
-
tags/2.9.2/includes/endpoints.php (added)
-
tags/2.9.2/includes/index.php (added)
-
tags/2.9.2/index.php (added)
-
tags/2.9.2/languages (added)
-
tags/2.9.2/languages/index.php (added)
-
tags/2.9.2/license.txt (added)
-
tags/2.9.2/public (added)
-
tags/2.9.2/public/async-checkout-couriers.php (added)
-
tags/2.9.2/public/css (added)
-
tags/2.9.2/public/css/styles-wc.css (added)
-
tags/2.9.2/public/images (added)
-
tags/2.9.2/public/images/logo.svg (added)
-
tags/2.9.2/public/js (added)
-
tags/2.9.2/public/js/blockui (added)
-
tags/2.9.2/public/js/blockui/jquery.blockUI.js (added)
-
tags/2.9.2/public/js/couriers-on-checkout.js (added)
-
tags/2.9.2/public/js/shipbubble-local-pickup.js (added)
-
tags/2.9.2/public/js/sweetalert2.min.js (added)
-
tags/2.9.2/public/woocommerce (added)
-
tags/2.9.2/public/woocommerce/checkout.php (added)
-
tags/2.9.2/public/woocommerce/enqueue-styles.php (added)
-
tags/2.9.2/readme.txt (added)
-
tags/2.9.2/shipbubble.php (added)
-
tags/2.9.2/uninstall.php (added)
-
trunk/public/js/couriers-on-checkout.js (modified) (1 diff)
-
trunk/public/js/shipbubble-local-pickup.js (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/shipbubble.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
shipbubble/trunk/public/js/couriers-on-checkout.js
r3338635 r3347404 1547 1547 } 1548 1548 1549 $("form.woocommerce-checkout").on('checkout_place_order', function(e) {1550 // Check both radio buttons and hidden inputs1551 var isShipbubbleSelected =1552 $('input[name="shipping_method[0]"][value="shipbubble_shipping_services"]').is(':checked') || // Radio button1553 $('input[name="shipping_method[0]"][value="shipbubble_shipping_services"][type="hidden"]').length > 0; // Hidden input1554 1555 if (isShipbubbleSelected) {1556 // Skip the confirmation prompt if shipbubble is selected1557 return true;1558 } else {1559 // Show the confirmation prompt if any other shipping method is selected1560 if (!confirm("You've chosen pickup. For home delivery options, click 'Get Delivery Prices'. To proceed with pickup, click 'OK'.")) {1561 console.log("Submission Stopped");1562 return false;1563 }1564 }1565 });1549 // $("form.woocommerce-checkout").on('checkout_place_order', function(e) { 1550 // // Check both radio buttons and hidden inputs 1551 // var isShipbubbleSelected = 1552 // $('input[name="shipping_method[0]"][value="shipbubble_shipping_services"]').is(':checked') || // Radio button 1553 // $('input[name="shipping_method[0]"][value="shipbubble_shipping_services"][type="hidden"]').length > 0; // Hidden input 1554 // 1555 // if (isShipbubbleSelected) { 1556 // // Skip the confirmation prompt if shipbubble is selected 1557 // return true; 1558 // } else { 1559 // // Show the confirmation prompt if any other shipping method is selected 1560 // if (!confirm("You've chosen pickup. For home delivery options, click 'Get Delivery Prices'. To proceed with pickup, click 'OK'.")) { 1561 // console.log("Submission Stopped"); 1562 // return false; 1563 // } 1564 // } 1565 // }); 1566 1566 1567 1567 // Handle radio button changes -
shipbubble/trunk/public/js/shipbubble-local-pickup.js
r3338635 r3347404 197 197 jQuery.unblockUI() 198 198 } 199 ); 199 ).fail(function () { 200 console.error('Failed to update local pickup address.'); 201 jQuery.unblockUI(); 202 }) 200 203 } 201 204 -
shipbubble/trunk/readme.txt
r3338635 r3347404 5 5 Requires at least: 4.0 6 6 Tested up to: 6.5 7 Stable tag: 2.9. 17 Stable tag: 2.9.2 8 8 Requires PHP: 5.6 9 9 License: GPLv3 or later … … 70 70 71 71 == Changelog == 72 = 2.9.2 = 73 * Pickup location JS fix 2 74 72 75 = 2.9.1 = 73 76 * Pickup location JS fix -
shipbubble/trunk/shipbubble.php
r3338635 r3347404 8 8 * Tags: logistics, deliveries, shipping rates, multiple couriers, post purchase experience 9 9 * Requires at least: 4.0 10 * Tested up to: 6. 511 * Version: 2.9. 110 * Tested up to: 6.8 11 * Version: 2.9.2 12 12 * Requires PHP: 5.6 13 13 * Text Domain: shipbubble
Note: See TracChangeset
for help on using the changeset viewer.