Changeset 3192994
- Timestamp:
- 11/20/2024 10:31:04 AM (16 months ago)
- Location:
- shipbubble
- Files:
-
- 49 added
- 7 edited
-
tags/2.6.2 (added)
-
tags/2.6.2/admin (added)
-
tags/2.6.2/admin/css (added)
-
tags/2.6.2/admin/css/styles-wc.css (added)
-
tags/2.6.2/admin/index.php (added)
-
tags/2.6.2/admin/js (added)
-
tags/2.6.2/admin/js/ajax-create-shipment.js (added)
-
tags/2.6.2/admin/js/ajax-validate-address.js (added)
-
tags/2.6.2/admin/js/ajax-validate-auth.js (added)
-
tags/2.6.2/admin/woocommerce (added)
-
tags/2.6.2/admin/woocommerce/async-create-shipment.php (added)
-
tags/2.6.2/admin/woocommerce/async-validate-address.php (added)
-
tags/2.6.2/admin/woocommerce/enqueue-styles.php (added)
-
tags/2.6.2/admin/woocommerce/orders.php (added)
-
tags/2.6.2/admin/woocommerce/shipping-settings.php (added)
-
tags/2.6.2/admin/wordpress (added)
-
tags/2.6.2/admin/wordpress/async-validate-auth.php (added)
-
tags/2.6.2/admin/wordpress/index.php (added)
-
tags/2.6.2/admin/wordpress/settings-callback.php (added)
-
tags/2.6.2/admin/wordpress/settings-field-validation.php (added)
-
tags/2.6.2/admin/wordpress/settings-menu.php (added)
-
tags/2.6.2/admin/wordpress/settings-page.php (added)
-
tags/2.6.2/admin/wordpress/settings-register.php (added)
-
tags/2.6.2/includes (added)
-
tags/2.6.2/includes/constants.php (added)
-
tags/2.6.2/includes/core-methods.php (added)
-
tags/2.6.2/includes/endpoints.php (added)
-
tags/2.6.2/includes/index.php (added)
-
tags/2.6.2/index.php (added)
-
tags/2.6.2/languages (added)
-
tags/2.6.2/languages/index.php (added)
-
tags/2.6.2/license.txt (added)
-
tags/2.6.2/public (added)
-
tags/2.6.2/public/async-checkout-couriers.php (added)
-
tags/2.6.2/public/css (added)
-
tags/2.6.2/public/css/styles-wc.css (added)
-
tags/2.6.2/public/images (added)
-
tags/2.6.2/public/images/logo.svg (added)
-
tags/2.6.2/public/js (added)
-
tags/2.6.2/public/js/blockui (added)
-
tags/2.6.2/public/js/blockui/jquery.blockUI.js (added)
-
tags/2.6.2/public/js/couriers-on-checkout.js (added)
-
tags/2.6.2/public/js/sweetalert2.min.js (added)
-
tags/2.6.2/public/woocommerce (added)
-
tags/2.6.2/public/woocommerce/checkout.php (added)
-
tags/2.6.2/public/woocommerce/enqueue-styles.php (added)
-
tags/2.6.2/readme.txt (added)
-
tags/2.6.2/shipbubble.php (added)
-
tags/2.6.2/uninstall.php (added)
-
trunk/admin/js/ajax-validate-address.js (modified) (1 diff)
-
trunk/admin/woocommerce/async-validate-address.php (modified) (4 diffs)
-
trunk/public/css/styles-wc.css (modified) (2 diffs)
-
trunk/public/js/couriers-on-checkout.js (modified) (2 diffs)
-
trunk/public/woocommerce/checkout.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/shipbubble.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
shipbubble/trunk/admin/js/ajax-validate-address.js
r3137294 r3192994 190 190 phone: senderFields.phone.val(), 191 191 email: senderFields.email.val(), 192 address: `${senderFields.address.val()}, ${senderFields.state.val()}, ${senderFields.country.find('option:selected').text()}`, 192 address: senderFields.address.val(), 193 full_address: `${senderFields.address.val()}, ${senderFields.state.val()}, ${senderFields.country.find('option:selected').text()}`, 194 state: senderFields.state.val(), 193 195 store_category: senderFields.category.find('option:selected').val(), 194 196 pickup_country: senderFields.country.val(), -
shipbubble/trunk/admin/woocommerce/async-validate-address.php
r3137294 r3192994 47 47 48 48 if ( empty($data) || empty($data['name']) || empty($data['email']) || empty($data['phone']) || 49 empty($data[' address']) ) {49 empty($data['full_address']) ) { 50 50 51 51 $output = array('status' => 'failed', 'data' => 'some items are missing, please fill'); … … 61 61 sanitize_email($data['email']), 62 62 sanitize_text_field($data['phone']), 63 sanitize_text_field($data[' address']),63 sanitize_text_field($data['full_address']), 64 64 $keys['live_api_key'] 65 65 ); … … 77 77 $options['disable_other_shipping_methods'] = sanitize_text_field($data['disable_other_shipping_methods']); 78 78 $address = sanitize_text_field($data['address']); 79 $ address = explode(',', $address);80 $options['pickup_address'] = isset($address[0]) ? trim($address[0]) : '';81 $options['pickup_state'] = isset($address[1]) ? trim($address[1]) : '';79 $state = sanitize_text_field($data['state']); 80 $options['pickup_address'] = $address; 81 $options['pickup_state'] = $state; 82 82 $options['pickup_country'] = sanitize_text_field($data['pickup_country']); 83 83 … … 91 91 sanitize_email($data['email']), 92 92 sanitize_text_field($data['phone']), 93 sanitize_text_field($data[' address']),93 sanitize_text_field($data['full_address']), 94 94 $keys['sandbox_api_key'] 95 95 ); -
shipbubble/trunk/public/css/styles-wc.css
r3149400 r3192994 276 276 } 277 277 278 .container-delivery-card-list. loading {279 display: none; 280 } 281 282 . loading {278 .container-delivery-card-list.shipbubble-loading { 279 display: none; 280 } 281 282 .shipbubble-loading { 283 283 width: 100%; 284 284 } 285 285 286 . loading span {286 .shipbubble-loading span { 287 287 display: block; 288 288 background: #ebebeb; … … 294 294 } 295 295 296 . loading span:last-of-type {296 .shipbubble-loading span:last-of-type { 297 297 margin-bottom: 0px; 298 298 } 299 299 300 300 301 . loading span::before {301 .shipbubble-loading span::before { 302 302 position: absolute; 303 303 content: ""; -
shipbubble/trunk/public/js/couriers-on-checkout.js
r3167129 r3192994 176 176 `); 177 177 178 let newCourierList = $('<div class="container-delivery-card-list loading"></div');178 let newCourierList = $('<div class="container-delivery-card-list shipbubble-loading"></div'); 179 179 180 180 list.append(newCourierList); 181 181 182 let loaders = $(`<div class=" loading">182 let loaders = $(`<div class="shipbubble-loading"> 183 183 <span></span> 184 184 <span></span> … … 211 211 loaders.hide(); 212 212 213 newCourierList.removeClass(' loading');213 newCourierList.removeClass('shipbubble-loading'); 214 214 215 215 $.each(output.couriers, function (i, value) { -
shipbubble/trunk/public/woocommerce/checkout.php
r3156194 r3192994 121 121 122 122 $('html, body').animate({ 123 scrollTop: $(" tfoot tr.woocommerce-shipping-totals.shipping").offset().top123 scrollTop: $(".woocommerce-shipping-totals.shipping").offset().top 124 124 }, 1000); 125 125 -
shipbubble/trunk/readme.txt
r3167129 r3192994 5 5 Requires at least: 4.0 6 6 Tested up to: 6.5 7 Stable tag: 2.6. 17 Stable tag: 2.6.2 8 8 Requires PHP: 5.6 9 9 License: GPLv3 or later … … 70 70 71 71 == Changelog == 72 = 2.6.2 = 73 * Onboarding form themes support fix. 74 72 75 = 2.6.1 = 73 76 * checkout assist for pickup orders (fix). -
shipbubble/trunk/shipbubble.php
r3167129 r3192994 9 9 * Requires at least: 4.0 10 10 * Tested up to: 6.5 11 * Version: 2.6. 111 * Version: 2.6.2 12 12 * Requires PHP: 5.6 13 13 * Text Domain: shipbubble
Note: See TracChangeset
for help on using the changeset viewer.