Skip to content

Commit

Permalink
Merge pull request #125 from iyzoer/master
Browse files Browse the repository at this point in the history
Bug fixes of generating ICML
  • Loading branch information
gwinn authored Mar 31, 2020
2 parents 8897973 + 3a57c25 commit dd7b4df
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 2019-03-31 3.6.1
* Исправлена ошибка генерации каталога товаров

## 2020-03-25 3.6.0
* Добавлена настройка передачи суммы оплаты

## 2019-10-07 3.5.4
* Добавлена возможность обработки одинаковых товарных позиций

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.6.0
3.6.1
4 changes: 4 additions & 0 deletions src/include/class-wc-retailcrm-icml.php
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,10 @@ private function get_wc_products_taxonomies($status_args) {
} elseif ($offer->get_type() == 'variable') {
foreach ($offer->get_children() as $child_id) {
$child_product = wc_get_product($child_id);
if (!$child_product) {
continue;
}

$this->setOffer($full_product_list, $product_attributes, $child_product, $offer);
}
}
Expand Down
2 changes: 2 additions & 0 deletions src/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ API-ключ должен быть для отдельного магазина
2. В появившихся списках справочников настройте соответствие способов доставки и оплаты, а так же статусов заказов. Отметьте галочку "Выгружать остатки", если хотите выгружать остатки из Retailcrm в магазин (подробнее смотрите в описании).

== Changelog ==
= 3.6.1 =
* Исправлена ошибка генерации каталога товаров

= 3.6.0 =
* Добавлена настройка передачи суммы оплаты в retailCRM
Expand Down
6 changes: 3 additions & 3 deletions src/retailcrm.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php
/**
* Version: 3.6.0
* Version: 3.6.1
* WC requires at least: 3.0
* WC tested up to: 3.9.3
* Plugin Name: WooCommerce RetailCRM
* Plugin Name: WooCommerce retailCRM
* Plugin URI: https://wordpress.org/plugins/woo-retailcrm/
* Description: Integration plugin for WooCommerce & RetailCRM
* Description: Integration plugin for WooCommerce & retailCRM
* Author: RetailDriver LLC
* Author URI: http://retailcrm.pro/
* Text Domain: retailcrm
Expand Down
2 changes: 1 addition & 1 deletion src/uninstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
*
* @link https://wordpress.org/plugins/woo-retailcrm/
* @version 3.6.0
* @version 3.6.1
*
* @package RetailCRM
*/
Expand Down

0 comments on commit dd7b4df

Please sign in to comment.