Plugin Directory

Changeset 495465


Ignore:
Timestamp:
01/26/2012 07:48:26 AM (14 years ago)
Author:
moshthepitt
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • dukapress/tags/2.3.5/php/dp-products.php

    r458263 r495465  
    208208        //Out of stock disabled button
    209209        $disabled_add_to_cart = '';
    210         if (!$available_in_stock) {
     210        if ($dp_shopping_cart_settings['dp_shop_inventory_soldout'] === 'yes' && $all_custom_fields['currently_in_stock'][0] < 1) {
    211211            $disabled_add_to_cart = 'disabled="disabled"';
    212212        }
Note: See TracChangeset for help on using the changeset viewer.