Skip to content

Commit bf87b2e

Browse files
authored
Merge pull request #56 from logeecom/dev
Release version 3.2.10
2 parents 05b7553 + 003fe83 commit bf87b2e

File tree

7 files changed

+23
-10
lines changed

7 files changed

+23
-10
lines changed
Binary file not shown.

PluginInstallation/CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
55

6+
## [v3.2.10](https://github.com/logeecom/pl_woocommerce_module/compare/v3.2.8...v3.2.9) - 2022-07-19
7+
### Changed
8+
- Added compatibility with the new checkout page.
9+
610
## [v3.2.9](https://github.com/logeecom/pl_woocommerce_module/compare/v3.2.8...v3.2.9) - 2022-05-30
711
### Changed
812
- Updated async process wakeup delay for manual sync.
@@ -197,4 +201,4 @@ and shipment status is in one of:
197201
* DELIVERED
198202

199203
## [v2.0.0](https://github.com/logeecom/pl_woocommerce_module/tree/v2.0.0) - 2019-03-11
200-
- First stable release of the new module
204+
- First stable release of the new module

src/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "packlink/woocommerce",
33
"description": "Packlink WooCommerce Integration",
4-
"version": "3.2.9",
4+
"version": "3.2.10",
55
"type": "library",
66
"repositories": [
77
{

src/packlink-pro-shipping.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
* Plugin Name: Packlink PRO Shipping
1010
* Plugin URI: https://en.wordpress.org/plugins/packlink-pro-shipping/
1111
* Description: Save up to 70% on your shipping costs. No fixed fees, no minimum shipping volume required. Manage all your shipments in a single platform.
12-
* Version: 3.2.9
12+
* Version: 3.2.10
1313
* Author: Packlink Shipping S.L.
1414
* Author URI: https://pro.packlink.es/
1515
* License: GPL
1616
* Text Domain: packlink-pro-shipping
1717
* Domain Path: /languages
1818
* WC requires at least: 3.0.0
19-
* WC tested up to: 6.5.0
19+
* WC tested up to: 6.6.1
2020
*/
2121

2222
use Packlink\WooCommerce\Plugin;

src/readme.txt

+7-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Contributors: packlink
33
Tags: woocommerce, shipment, shipping, packlink
44
Requires at least: 4.7
55
Requires PHP: 5.5
6-
Tested up to: 5.9.3
7-
Stable tag: 3.2.9
6+
Tested up to: 6.0.0
7+
Stable tag: 3.2.10
88
License: LICENSE-2.0
99
License URI: http://www.apache.org/licenses/LICENSE-2.0
1010

@@ -68,6 +68,11 @@ Click <a href="https://support-pro.packlink.com/hc/es-es/articles/210158585" tar
6868

6969
== Changelog ==
7070

71+
#### 3.2.10 - July 19, 2022
72+
73+
**Updates**
74+
- Added compatibility with the new checkout page.
75+
7176
#### 3.2.9 - May 30, 2022
7277

7378
**Updates**

src/resources/js/packlink-checkout.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ var Packlink = window.Packlink || {};
2424
Packlink.checkout.setDropOffAddress = setDropOffAddress;
2525
Packlink.checkout.setSelectedLocationId = setSelectedLocationId;
2626

27+
2728
function initialize() {
2829
modal = document.getElementById( 'pl-picker-modal' );
2930
closeButton = document.getElementById( 'pl-picker-modal-close' );
3031
updateButton = document.querySelector( "[name='calc_shipping']" );
31-
32+
let templates = document.getElementById("packlink-js-templates");
3233
[].forEach.call(
3334
document.getElementsByName( 'packlink_show_image' ),
3435
function (item) {
@@ -48,6 +49,8 @@ var Packlink = window.Packlink || {};
4849
function () {
4950
initLocationPicker();
5051
modal.style.display = 'block';
52+
document.body.appendChild(templates);
53+
5154
}
5255
);
5356
}

src/resources/views/shipping-method-drop-off.php

+4-3
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@
6060

6161
<?php if ( ! is_cart() ) : ?>
6262
<button type="button" id="packlink-drop-off-picker" class="button"><?php echo $button_label; ?></button>
63-
64-
<div id="pl-picker-modal" style="display: none;">
63+
<div id="packlink-js-templates">
64+
<div id="pl-picker-modal" style="display: none;">
6565
<location-picker>
6666
<div class="lp-content" data-lp-id="content">
6767
<div class="lp-locations">
@@ -84,7 +84,7 @@
8484
</svg>
8585
</div>
8686

87-
<location-picker-template>
87+
<location-picker-template>
8888
<div class="lp-template" id="template-container">
8989
<div data-lp-id="working-hours-template" class="lp-hour-wrapper">
9090
<div class="day" data-lp-id="day">
@@ -125,4 +125,5 @@
125125
</div>
126126
</div>
127127
</location-picker-template>
128+
</div>
128129
<?php endif; ?>

0 commit comments

Comments
 (0)