Plugin Directory

Changeset 1892365


Ignore:
Timestamp:
06/13/2018 06:19:14 PM (8 years ago)
Author:
DPDplugins
Message:

Fixed product visibility check to not show disabled products that can not be purchased.

Location:
dpd-cart
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • dpd-cart/branches/2.0/dpd-api.php

    r1892343 r1892365  
    1818        if(is_array($products)){
    1919        foreach ($products as $key => $product) {
    20             if (!$product['visibility']) {
     20            if ($product['visibility'] != 1) {
    2121                unset($products[$key]);
    2222            }
  • dpd-cart/branches/2.0/dpd-cart-plugin.php

    r1892363 r1892365  
    44Plugin URI: https://getdpd.com
    55Description: Integrate your DPD cart and checkout with your Wordpress blog.  Adds a store page, product pages, and a tool to insert DPD buttons in to pages and posts.
    6 Version: 2.0.3
     6Version: 2.0.4
    77Author: DPDplugins
    88Author URI: https://blog.getdpd.com
  • dpd-cart/trunk/dpd-api.php

    r1892346 r1892365  
    1818        if(is_array($products)){
    1919        foreach ($products as $key => $product) {
    20             if (!$product['visibility']) {
     20            if ($product['visibility'] != 1) {
    2121                unset($products[$key]);
    2222            }
  • dpd-cart/trunk/dpd-cart-plugin.php

    r1892363 r1892365  
    44Plugin URI: https://getdpd.com
    55Description: Integrate your DPD cart and checkout with your Wordpress blog.  Adds a store page, product pages, and a tool to insert DPD buttons in to pages and posts.
    6 Version: 2.0.3
     6Version: 2.0.4
    77Author: DPDplugins
    88Author URI: https://blog.getdpd.com
Note: See TracChangeset for help on using the changeset viewer.