Results 1 to 10 of 3589

Threaded View

  1. #19
    Join Date
    Nov 2005
    Location
    France
    Posts
    595
    Plugin Contributions
    8

    Default Re: Stock by Attribute v4.0 addon for v1.5.0-1.5.6

    I'm getting the following Warning when I use this module with PHP7.3
    Use of undefined constant PRODUCTS_OPTIONS_TYPE_SELECT_SBA
    The warning relates to /includes/classes/observers/class.products_with_attributes_stock.php on line 264

    On a standard define, i would have done something like

    if (!defined('PRODUCTS_OPTIONS_TYPE_SELECT_SBA')) {
    define('PRODUCTS_OPTIONS_TYPE_SELECT_SBA', '6');
    }

    but, PRODUCTS_OPTIONS_TYPE_SELECT_SBA is a database stored configuration value, so how do I add a !defined line to cover this?

    I'm also getting the same warning for PRODINFO_ATTRIBUTE_DYNAMIC_STATUS on line 439
    Last edited by strelitzia; 24 Sep 2019 at 12:56 AM.

 

 

Similar Threads

  1. Problems with addon: Dynamic Drop Downs for Stock By Attribute
    By Dunk in forum All Other Contributions/Addons
    Replies: 56
    Last Post: 30 Apr 2014, 07:55 PM
  2. MySQL Problem with Product with Attribute Stock addon
    By rtwingfield in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 20 Sep 2011, 03:35 PM
  3. Hide Zero Quantity Attributes with attribute-stock addon
    By leevil123 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 11 Feb 2010, 05:06 PM
  4. Replies: 4
    Last Post: 22 Jan 2010, 10:43 PM
  5. Price Products in the grid by 'Stock by Attribute' addon?
    By Salixia in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 27 Oct 2009, 06:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR