Skip to content

Commit

Permalink
Merge pull request #43 from logeecom/dev
Browse files Browse the repository at this point in the history
Release version 3.2.5
  • Loading branch information
logeecom authored Jun 27, 2022
2 parents 4d79bf4 + ab5ccbd commit 2ba088a
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 11 deletions.
4 changes: 4 additions & 0 deletions PluginInstallation/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ 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/).

## [3.2.5](https://github.com/packlink-dev/prestashop_module/compare/v3.2.4...v3.2.5)
# Changed
- Updated to Core version 3.3.10.

## [3.2.4](https://github.com/packlink-dev/prestashop_module/compare/v3.2.3...v3.2.4)
# Added
- Added carrier logos for Colis Prive and Shop2Shop shipping services.
Expand Down
2 changes: 1 addition & 1 deletion src/classes/BusinessLogicServices/ShopOrderService.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ public function getOrderAndShippingData($orderId)
$order->setCurrency($currency['iso_code']);
$order->setTotalPrice((float)$sourceOrder->total_paid_tax_incl);
$order->setBasePrice((float)$sourceOrder->total_paid_tax_excl);

$dropOffId = $this->getDropOffId($sourceOrder);
if ($dropOffId) {
$order->setShippingDropOffId($dropOffId);
Expand Down Expand Up @@ -269,6 +268,7 @@ private function getOrderItem($sourceOrderItem, $defaultParcel)
$product = new \Product((int)$sourceOrderItem['product_id']);
$languageId = (int)\Context::getContext()->language->id;


$orderItem->setQuantity((int)$sourceOrderItem['product_quantity']);

if (!empty($product->name)) {
Expand Down
4 changes: 2 additions & 2 deletions src/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "packlink/prestashop",
"description": "Packlink Shipping PrestaShop plugin",
"type": "library",
"version": "3.2.4",
"version": "3.2.5",
"repositories": [
{
"type": "vcs",
Expand All @@ -13,7 +13,7 @@
"minimum-stability": "dev",
"require": {
"php": ">=5.3",
"packlink/integration-core": "3.3.8",
"packlink/integration-core": "3.3.10",
"ext-json": "*",
"ext-curl": "*",
"ext-zip": "*",
Expand Down
14 changes: 7 additions & 7 deletions src/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/packlink.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function __construct()
$this->module_key = 'a7a3a395043ca3a09d703f7d1c74a107';
$this->name = 'packlink';
$this->tab = 'shipping_logistics';
$this->version = '3.2.4';
$this->version = '3.2.5';
$this->author = $this->l('Packlink Shipping S.L.');
$this->need_instance = 0;
$this->ps_versions_compliancy = array('min' => '1.6.0.14', 'max' => _PS_VERSION_);
Expand Down

0 comments on commit 2ba088a

Please sign in to comment.