Plugin Directory

Changeset 2775742


Ignore:
Timestamp:
08/25/2022 05:48:58 PM (4 years ago)
Author:
heimanj
Message:

Updating to 1.8.1 (adding maximum-qty support for items)

Location:
swidget-for-cmp
Files:
20 added
3 edited

Legend:

Unmodified
Added
Removed
  • swidget-for-cmp/trunk/readme.txt

    r2771143 r2775742  
    55Requires at least: 4.1.0 
    66Tested up to: 5.8.1 
    7 Stable tag: 1.7 
     7Stable tag: 1.8 
    88Requires PHP: 5.2 
    99License: GPLv2 or later 
     
    167167== Changelog ==
    168168
     169= 1.8.1 =
     170
     171* Removed "Max Displayed Qty" option (in favor of item-specific settings)
     172
     173= 1.8.0 =
     174
     175* Added "Max Displayed Qty" option
     176
    169177= 1.7.0 =
    170178
    171 * Added gift card balance-check shortcode
     179* Added `swcardbalance` shortcode and functionality
    172180
    173181= 1.6.0 =
  • swidget-for-cmp/trunk/settingsPage.php

    r2738219 r2775742  
    88    "sw_date_format" => array("Date Format (see <a href='https://momentjs.com/docs/#/parsing/string-format/' target='_new'>this guide</a> for possible tokens to use)", "text"),
    99    "sw_low_qty"  => array("Low Qty", "number"),
     10    //"sw_max_display_qty"  => array("Max Displayed Qty", "number"),
    1011    "sw_radio_cutoff" => array("Radio Button Cutoff for Timed Items (max before change to dropdown)", "number"),
    1112    "sw_display_product_name"  => array("Display Product Name?", "yn"),
  • swidget-for-cmp/trunk/swidget-cmp.php

    r2771143 r2775742  
    55GitHub Plugin URI: CMP-Studio/swidget-cmp
    66Description: Siriusware Widget for Carnegie Museusms of Pittsburgh
    7 Version: 1.7.0
     7Version: 1.8.1
    88Author: Carnegie Museums of Pittsburgh
    99Author URI: http://www.carnegiemuseums.org
     
    2626const SWCMP_AS_ARRAY = false;
    2727const SWCMP_AS_JSON = true;
    28 const SWCMP_DEBUGMODE = false;
     28const SWCMP_DEBUGMODE = true;
    2929
    3030
     
    9696    "sw_date_format" => "dateFormat",
    9797    "sw_low_qty" => "lowQty",
     98    //"sw_max_display_qty" => "maxDisplayQty",
    9899    "sw_radio_cutoff" => "radioCutoff",
    99100    "sw_display_product_name" => "displayName",
     
    378379    $cart = intval($co_atts["cart"]);
    379380    if (!$cart) {
     381        echo "<!-- get cart for site $site ? -->\n";
    380382        $cart = swcmp_get_cart($site);
    381383    }
Note: See TracChangeset for help on using the changeset viewer.