Skip to content

Commit

Permalink
Merge pull request #70 from logeecom/master
Browse files Browse the repository at this point in the history
Release version 3.4.1
  • Loading branch information
logeecom committed Feb 20, 2024
2 parents c09b522 + 9d96311 commit b78dcbb
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 8 deletions.
Binary file modified PluginInstallation/3.4.0/packlink-pro-shipping.zip
Binary file not shown.
Binary file not shown.
7 changes: 7 additions & 0 deletions PluginInstallation/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,16 @@ All notable changes to this project will be documented in this file.

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

## [v3.4.1](https://github.com/logeecom/pl_woocommerce_module/compare/v3.4.0...v3.4.1) - 2024-01-17
### Changed
- Fix rendering order page
- Fix updating 'Send with Packlink' button text

## [v3.4.0](https://github.com/logeecom/pl_woocommerce_module/compare/v3.3.4...v3.4.0) - 2024-01-11
### Changed
- Add compatability with WooCommerce block checkout enhancement
- Update compatible version of WooCommerce (8.5.0) and WordPress (6.4.2)


## [v3.3.4](https://github.com/logeecom/pl_woocommerce_module/compare/v3.3.3...v3.3.4) - 2023-11-21
### Changed
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "packlink/woocommerce-dev",
"description": "Packlink WooCommerce Integration",
"version": "3.4.0",
"version": "3.4.1",
"type": "library",
"require": {
"php": ">=5.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ public function load_scripts() {
* @return string
*/
protected function get_packlink_shipping_button( $post ) {
$orderId = (string) ($post instanceof \WP_Post) ? $post->ID : $post->get_id();
$orderId = (string) (($post instanceof \WP_Post) ? $post->ID : $post->get_id());
$src = Shop_Helper::get_plugin_base_url() . 'resources/images/logo.png';
$shipment_details = $this->get_order_shipment_details_service()->getDetailsByOrderId( $orderId );

Expand Down
2 changes: 1 addition & 1 deletion src/class-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ public function add_packlink_shipping_box( $page, $data ) {
'packlink-shipping-modal',
__( 'Packlink PRO Shipping', 'packlink-pro-shipping' ),
function ( $data ) use ( $controller ) {
$data_id = $data->get_id();
$data_id = ($data instanceof \WP_Post) ? $data->ID : $data->get_id();
$controller->render( $data_id );
},
$screen,
Expand Down
2 changes: 1 addition & 1 deletion src/composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "packlink/woocommerce",
"description": "Packlink WooCommerce Integration",
"version": "3.3.4",
"version": "3.4.1",
"type": "library",
"repositories": [
{
Expand Down
4 changes: 2 additions & 2 deletions src/packlink-pro-shipping.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
* Plugin Name: Packlink PRO Shipping
* Plugin URI: https://en.wordpress.org/plugins/packlink-pro-shipping/
* 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.
* Version: 3.4.0
* Version: 3.4.1
* Author: Packlink Shipping S.L.
* Author URI: https://pro.packlink.es/
* License: GPL
* Text Domain: packlink-pro-shipping
* Domain Path: /languages
* WC requires at least: 3.0.0
* WC tested up to: 8.4.0
* WC tested up to: 8.5.0
*/

use Packlink\WooCommerce\Plugin;
Expand Down
11 changes: 9 additions & 2 deletions src/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Contributors: packlink
Tags: woocommerce, shipment, shipping, packlink
Requires at least: 4.7
Requires PHP: 5.5
Tested up to: 6.3.2
Stable tag: 3.4.0
Tested up to: 6.4.2
Stable tag: 3.4.1
License: LICENSE-2.0
License URI: http://www.apache.org/licenses/LICENSE-2.0

Expand Down Expand Up @@ -68,10 +68,17 @@ Click <a href="https://support-pro.packlink.com/hc/es-es/articles/210158585" tar

== Changelog ==

#### 3.4.1 - January 17th, 2024

**Updates**
- Fix rendering order page
- Fix updating 'Send with Packlink' button

#### 3.4.0 - January 11th, 2024

**Updates**
- Add compatability with WooCommerce block checkout enhancement
- Update compatible version of WooCommerce (8.5.0) and WordPress (6.4.2)

#### 3.3.4 - November 21st, 2023

Expand Down

0 comments on commit b78dcbb

Please sign in to comment.