Page 85 of 85 FirstFirst ... 3575838485
Results 841 to 849 of 849
  1. #841
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,614
    Plugin Contributions
    123

    Default Re: Quantity Discounts for 1.3

    Turn off notices. These are low priority issues that don't really affect your site.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #842
    Join Date
    Aug 2006
    Location
    North Carolina
    Posts
    279
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Quote Originally Posted by swguy View Post
    Turn off notices. These are low priority issues that don't really affect your site.
    OK - they were the only errors I had left after my upgrade.
    Jeff Michaels,
    pres of Musical Creations Ltd.

  3. #843
    Join Date
    Mar 2008
    Location
    Belgium
    Posts
    115
    Plugin Contributions
    6

    Default Re: Quantity Discounts for 1.3

    Hi Scott,
    As a loyal user of quantity discounts I want give you a heads-up about a warning I found in the logs.

    Code:
    [08-Mar-2021 09:03:55 Europe/Brussels] Request URI: /index.php?main_page=checkout_process, IP address: *.*.*.*
    #1  ot_quantity_discount->__construct() called at [*/www/includes/classes/order_total.php:51]
    #2  order_total->__construct() called at [*/www/includes/modules/checkout_process.php:60]
    #3  require(*/www/includes/modules/checkout_process.php) called at [*/www/includes/modules/pages/checkout_process/header_php.php:14]
    #4  require(*/www/includes/modules/pages/checkout_process/header_php.php) called at [*/www/index.php:35]
    --> PHP Warning: Use of undefined constant MODULE_ORDER_TOTAL_QUANTITY_DISCOUNT_COUNTING_METHOD - assumed 'MODULE_ORDER_TOTAL_QUANTITY_DISCOUNT_COUNTING_METHOD' (this will throw an Error in a future version of PHP) in */www/includes/modules/order_total/ot_quantity_discount.php on line 117.
    I'm using v1.5.7c on PHP 7.4.15 and presume it's neglectable for now because "future versions" must be PHP 8.x.x
    Also the sale went along just fine.

    Is there a "quick fix" for it or does it require "thorough" editing?

  4. #844
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,614
    Plugin Contributions
    123

    Default Re: Quantity Discounts for 1.3

    a) Go to the Plugins area and be sure you have the latest copy of Quantity Discounts.
    b) Go to Admin > Modules > Order Total > Quantity Discounts, note your settings, then do a REMOVE and INSTALL of the module.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #845
    Join Date
    Mar 2008
    Location
    Belgium
    Posts
    115
    Plugin Contributions
    6

    Default Re: Quantity Discounts for 1.3

    The same admin warnings were given when I went to order total page, select the module, remove and confirmed remove.
    It's the most recent version: 1.14

    In the original file the troubled line in question is on 91
    Extra lines because I did edit in some extra custom discounts in line 51

    Once reinstalled without changing any files, no more warnings. I guess this falls under: "Did you try rebooting it?"

    Thanks!

  6. #846
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,614
    Plugin Contributions
    123

    Default Re: Quantity Discounts for 1.3

    You updated the module (presumably a while back) but didn't do a REMOVE/INSTALL - which was required because there were new config values added.
    That's what caused the warning -that's why I wanted you to do a remove and reinstall.

    I'm working on some infrastructure for the modules script to handle things like this better so a remove/reinstall isn't required.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #847
    Join Date
    Mar 2008
    Location
    Belgium
    Posts
    115
    Plugin Contributions
    6

    Default Re: Quantity Discounts for 1.3

    I updated Zen Cart from v1.5.3 starting last January. I missed the requirement of REMOVE/INSTALL going from v1.12.1 to v1.14 Learned something extra again.

  8. #848
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,614
    Plugin Contributions
    123

    Default Re: Quantity Discounts for 1.3

    Not Zen Cart - Quantity Discounts. But no worries - soon this step will be done automatically, and now you know what to do.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  9. #849
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,614
    Plugin Contributions
    123

    Default Re: Quantity Discounts for 1.3

    Updated for PHP8.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 
Page 85 of 85 FirstFirst ... 3575838485

Similar Threads

  1. v153 quantity discounts for attributes
    By delia in forum General Questions
    Replies: 1
    Last Post: 14 Oct 2014, 02:34 PM
  2. v150 Quantity Discounts for shipping 1.5
    By jpmill in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 7 Apr 2013, 05:28 PM
  3. v150 Quantity Discounts for 1.5?
    By mobishelf in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 21 Feb 2012, 12:40 AM
  4. Hide quantity discounts for general customers, show for groups only?
    By swamyg1 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 3
    Last Post: 16 Nov 2009, 09:22 PM
  5. Quantity Discounts for Sets?
    By mwlahn in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 30 Mar 2008, 07:39 AM

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