Plugin Directory

Changeset 1040414


Ignore:
Timestamp:
12/08/2014 03:35:00 PM (11 years ago)
Author:
2kblater.com
Message:

1.0.10 isProductAvailable now only checks for new and free products to determine availability

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

Legend:

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

    r1008393 r1040414  
    541541    public function isProductAvailable($id)
    542542    {
    543         $meta = $this->getProductMeta($id);
    544         if (isset($meta['KbAmzOfferSummary.TotalNew'])
    545         && $meta['KbAmzOfferSummary.TotalNew'] > 0) {
    546             return true;
    547         } else if (isset($meta['KbAmzOfferSummary.TotalUsed'])
     543       
     544        /*else if (isset($meta['KbAmzOfferSummary.TotalUsed'])
    548545        && $meta['KbAmzOfferSummary.TotalUsed'] > 0) {
    549546            return true;
     
    553550        } else if (isset($meta['KbAmzOfferSummary.TotalRefurbished'])
    554551        && $meta['KbAmzOfferSummary.TotalRefurbished'] > 0) {
     552            return true;
     553        } */
     554       
     555        $meta = $this->getProductMeta($id);
     556        if (isset($meta['KbAmzOfferSummary.TotalNew'])
     557        && $meta['KbAmzOfferSummary.TotalNew'] > 0) {
    555558            return true;
    556559        } else {
  • 2kb-amazon-affiliates-store/trunk/plugin.php

    r1008393 r1040414  
    44 * Plugin URI: http://www.2kblater.com/?p=8318
    55 * Description: Amazon Affiliate Store Plugin With Cart, Checkout, Custom Themes. Easy to manage and setup. Sell wide range of physical and digital products imported from Amazon Affiliate API using 90 days cookie reference. This plugin is released with GPL2 license.
    6  * Version: 1.0.9
     6 * Version: 1.0.10
    77 * Author: 2kblater.com
    88 * Author URI: http://www.2kblater.com
     
    1616}
    1717
    18 define('KbAmazonVersion', '1.0.9');
    19 define('KbAmazonVersionNumber', 109);
     18define('KbAmazonVersion', '1.0.10');
     19define('KbAmazonVersionNumber', 1010);
    2020define('KbAmazonStoreFolderName',  pathinfo(dirname(__FILE__), PATHINFO_FILENAME));
    2121define('KbAmazonStorePluginPath',  dirname(__FILE__) . '/');
  • 2kb-amazon-affiliates-store/trunk/readme.txt

    r1008393 r1040414  
    33Requires at least: 4.0
    44Tested up to: 4.0
    5 Stable tag: 1.0.9
     5Stable tag: 1.0.10
    66License: GPLv2 or later
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3636
    3737== Changelog ==
     38= 1.0.10 =
     39isProductAvailable now only checks for new and free products to determine availability
    3840= 1.0.9 =
    3941kb_amz_list_products shortcode accept short code parameters with php code. Ex. [kb_amz_list_products attribute_value="<? date('Y-m-d', time() - 3600); ?>"].
  • 2kb-amazon-affiliates-store/trunk/template/admin/version.phtml

    r1008393 r1040414  
    11<div class="row" id="kb-amz-version">
    22    <div class="col-sm-12">
     3        <h4>1.0.10</h4>
     4        <ul style="list-style-type: disc;">
     5            <li>isProductAvailable now only checks for new and free products to determine availability</li>
     6        </ul>
    37        <h4>1.0.9</h4>
    48        <ul style="list-style-type: disc;">
Note: See TracChangeset for help on using the changeset viewer.