Plugin Directory

Changeset 2982472


Ignore:
Timestamp:
10/23/2023 08:38:27 AM (2 years ago)
Author:
ascendedcrow
Message:

Version = 1.0.28.2 =

Location:
shop-2-api/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • shop-2-api/trunk/assets/bol2api_category_mapping_scripts.js

    r2982442 r2982472  
    116116            // If the previous one was undefined then just add it to the wc_field_values
    117117            if (typeof (saved_bol_category_data[new_bol_cat_id]['wc_field_values']) !== "undefined") {
    118                 if (prev_bol_cat_id !== "" && prev_bol_cat_id !== 'undefined') {
     118                if (prev_bol_cat_id !== "" && prev_bol_cat_id !== 'undefined' && prev_bol_cat_id !== new_bol_cat_id) {
    119119                    if ('wc_field_values' in saved_bol_category_data[prev_bol_cat_id]) {
    120120                        saved_bol_category_data[prev_bol_cat_id]['wc_field_values'].remove(wc_cat_id);
     
    146146        if (Object.keys(saved_bol_category_data).includes(prev_bol_cat_id)) {
    147147            if (typeof (saved_bol_category_data[prev_bol_cat_id]['wc_field_values']) !== "undefined") {
    148                 saved_bol_category_data[prev_bol_cat_id]['wc_field_values'].remove(wc_cat_id);
     148                if (prev_bol_cat_id !== new_bol_cat_id) {
     149                    saved_bol_category_data[prev_bol_cat_id]['wc_field_values'].remove(wc_cat_id);
     150                }
    149151            }
    150152        }
  • shop-2-api/trunk/readme.txt

    r2982442 r2982472  
    33Plugin URI: https://wordpress.org/plugins/shop-2-api/
    44Tags: WooCommerce, Bol
    5 Stable Tag: 1.0.28.1
     5Stable Tag: 1.0.28.2
    66Requires at least: 5.0
    77Requires PHP: 7.2
  • shop-2-api/trunk/shop-2-api.php

    r2982442 r2982472  
    55Plugin URI: https://wordpress.org/plugins/shop-2-api/
    66Description: The plugin Shop2Api will sync products between e-Commerce platforms. The current supported e-Commerce platforms are WooCommerce to Bol.com, and we are working on Amazon, Shopify and others.  We added a koopblok service so that you can check if you lower your price can you get koopblok.
    7 Version: 1.0.28.1
     7Version: 1.0.28.2
    88Requires at least: 5.0
    99Requires PHP:      7.2
     
    3434define('SHOP2API_PLUGIN_URL', plugin_dir_url( __FILE__ ));
    3535define('SHOP2API_PLUGIN', plugin_basename( __FILE__ ));
    36 define ('VERSION', '1.0.28.1');
     36define ('VERSION', '1.0.28.2');
    3737
    3838// Register items in the project.
Note: See TracChangeset for help on using the changeset viewer.