Plugin Directory

Changeset 1843551


Ignore:
Timestamp:
03/20/2018 02:58:40 PM (8 years ago)
Author:
channelengine
Message:

Fix variant attributes

Location:
channelengine-woocommerce/trunk
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • channelengine-woocommerce/trunk/admin/class-channel-engine-product-feed.php

    r1843386 r1843551  
    135135
    136136                    $varmeta = $this->getOrEmpty($meta_lookup, $varId);
    137 
    138                     $varattrs = $this->getOrEmpty($attrs_lookup, $varId);
     137                    //$varattrs = $this->getOrEmpty($attrs_lookup, $varId);
    139138
    140139                    // featured image
     
    157156                    $product['parent_id'] = $id;
    158157                    $product['stock'] = $this->getStock($wcProductVar);
    159                     $product['attrs'] = $varattrs;
     158                    $product['attrs'] = $attrs;
    160159                    $product['meta'] = $varmeta;
    161160                    $product['type'] = $wcProductVar->get_type();
  • channelengine-woocommerce/trunk/admin/class-channel-engine.php

    r1843386 r1843551  
    7474
    7575        $apiConfig = Configuration::getDefaultConfiguration();
    76         $apiConfig->setHost('http://' . $this->settings->account_name . '.channelengine.local/api');
     76        $apiConfig->setHost('https://' . $this->settings->account_name . '.channelengine.net/api');
    7777        $apiConfig->setApiKey('apikey', $this->settings->api_key);
    7878
  • channelengine-woocommerce/trunk/vendor/composer/autoload_psr4.php

    r1843386 r1843551  
    1313    'Composer\\Installers\\' => array($vendorDir . '/composer/installers/src/Composer/Installers'),
    1414    'ChannelEngine\\Merchant\\ApiClient\\' => array($vendorDir . '/channelengine/merchant-api-client-php/lib'),
    15     'ChannelEngine\\ApiClient\\' => array($vendorDir . '/channelengine/api-client-php/lib'),
    1615);
  • channelengine-woocommerce/trunk/vendor/composer/autoload_static.php

    r1843386 r1843551  
    2828            'Composer\\Installers\\' => 20,
    2929            'ChannelEngine\\Merchant\\ApiClient\\' => 33,
    30             'ChannelEngine\\ApiClient\\' => 24,
    3130        ),
    3231    );
     
    5756            0 => __DIR__ . '/..' . '/channelengine/merchant-api-client-php/lib',
    5857        ),
    59         'ChannelEngine\\ApiClient\\' =>
    60         array (
    61             0 => __DIR__ . '/..' . '/channelengine/api-client-php/lib',
    62         ),
    6358    );
    6459
  • channelengine-woocommerce/trunk/vendor/composer/installed.json

    r1843386 r1843551  
    123123    },
    124124    {
    125         "name": "channelengine/api-client-php",
    126         "version": "2.3.0",
    127         "version_normalized": "2.3.0.0",
    128         "source": {
    129             "type": "git",
    130             "url": "https://github.com/channelengine/merchant-api-client-php.git",
    131             "reference": "15cf2cbe673cc62d5f18b04b0283071dbdb9b36a"
    132         },
    133         "dist": {
    134             "type": "zip",
    135             "url": "https://api.github.com/repos/channelengine/merchant-api-client-php/zipball/15cf2cbe673cc62d5f18b04b0283071dbdb9b36a",
    136             "reference": "15cf2cbe673cc62d5f18b04b0283071dbdb9b36a",
    137             "shasum": ""
    138         },
    139         "require": {
    140             "ext-curl": "*",
    141             "ext-json": "*",
    142             "ext-mbstring": "*",
    143             "php": ">=5.4"
    144         },
    145         "require-dev": {
    146             "friendsofphp/php-cs-fixer": "~1.12",
    147             "phpunit/phpunit": "~4.8",
    148             "satooshi/php-coveralls": "~1.0",
    149             "squizlabs/php_codesniffer": "~2.6"
    150         },
    151         "time": "2017-09-08T13:11:41+00:00",
    152         "type": "library",
    153         "installation-source": "dist",
    154         "autoload": {
    155             "psr-4": {
    156                 "ChannelEngine\\ApiClient\\": "lib/"
    157             }
    158         },
    159         "notification-url": "https://packagist.org/downloads/",
    160         "license": [
    161             "proprietary"
    162         ],
    163         "authors": [
    164             {
    165                 "name": "Swagger and contributors",
    166                 "homepage": "https://github.com/swagger-api/swagger-codegen"
    167             }
    168         ],
    169         "homepage": "http://swagger.io",
    170         "keywords": [
    171             "api",
    172             "php",
    173             "sdk",
    174             "swagger"
    175         ],
    176         "abandoned": "merchant-api-client-php"
    177     },
    178     {
    179125        "name": "guzzlehttp/promises",
    180126        "version": "v1.3.1",
Note: See TracChangeset for help on using the changeset viewer.