Plugin Directory

Changeset 1920092


Ignore:
Timestamp:
08/05/2018 07:59:01 PM (8 years ago)
Author:
2kblater.com
Message:

v2.1.3

Location:
2kb-amazon-affiliates-store/trunk
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • 2kb-amazon-affiliates-store/trunk/KbAmazonImporter.php

    r1360010 r1920092  
    430430     * @return array|null
    431431     */
    432     public function find($asin, $responseGroup = false)
     432    public function find($asin, $responseGroup = false, $country = null)
    433433    { 
    434434        if (!$responseGroup) {
     
    439439       
    440440        $firstAsin = is_array($asin) ? $asin[key($asin)] : $asin;
    441         $country   = getKbAmz()->getProductCountry($firstAsin);
     441        if (!$country) {
     442            $country   = getKbAmz()->getProductCountry($firstAsin);
     443        }
    442444       
    443445        $key = is_array($asin) ? implode(' ', $asin) : $asin . serialize($responseGroup);
     
    454456            $amazonApi = getKbAmazonApi($country);
    455457            $result    = $amazonApi->responseGroup(implode(',', $responseGroup))
    456                                    ->lookup($asin, array('Condition' => 'New', 'Availability' => 'Available'));
     458                                   ->lookup($asin/*, array('Condition' => 'New', 'Availability' => 'Available')*/);
    457459            $country   = $amazonApi->country();
    458460           
  • 2kb-amazon-affiliates-store/trunk/plugin.php

    r1810362 r1920092  
    44 * Plugin URI: http://www.2kblater.com/?p=8318
    55 * Description: Amazon Affiliate Store Plugin With Variants, Cart, Checkout, Custom Themes, Variants and Versions. Easy to manage and setup. Sell wide range of physical and digital products imported from Amazon Affiliate API using 90 days cookie reference.
    6  * Version: 2.1.2
     6 * Version: 2.1.3
    77 * Author: 2kblater.com
    88 * Author URI: http://www.2kblater.com
     
    2020}
    2121
    22 define('KbAmazonVersion', '2.1.2');
    23 define('KbAmazonVersionNumber', 212);
     22define('KbAmazonVersion', '2.1.3');
     23define('KbAmazonVersionNumber', 213);
    2424define('KbAmazonStoreFolderName',  pathinfo(dirname(__FILE__), PATHINFO_FILENAME));
    2525define('KbAmazonStorePluginPath',  dirname(__FILE__) . '/');
  • 2kb-amazon-affiliates-store/trunk/readme.txt

    r1810362 r1920092  
    33Requires at least: 4.0
    44Tested up to: 4.8
    5 Stable tag: 2.1.1
     5Stable tag: 2.1.3
    66License: GPLv2 or later
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    464610. /assets/screenshot-10.jpg
    4747== Changelog ==
     48= 2.1.3 =
     49Country update
    4850= 2.1.2 =
    4951 Modal stuck after install fix
  • 2kb-amazon-affiliates-store/trunk/template/admin/version.phtml

    r1810362 r1920092  
    11<div class="row" id="kb-amz-version">
    22    <div class="col-sm-12">
     3        <h4>2.1.3</h4>
     4        <ul style="list-style-type: disc;">
     5            <li>
     6                Country update
     7            </li>
     8        </ul>
    39        <h4>2.1.2</h4>
    410        <ul style="list-style-type: disc;">
Note: See TracChangeset for help on using the changeset viewer.