Page 1 of 2 12 LastLast
Results 1 to 10 of 1915

Hybrid View

  1. #1
    Join Date
    May 2021
    Location
    New York
    Posts
    16
    Plugin Contributions
    0

    Default Re: Edit Orders v4.0 Support Thread

    I was advised by diptimoy to post here, but currently our coupons are still not being calculated properly. The last bit of help you gave me to edit the code in the editorders plugin worked well. Was wondering if there's something else I can do to fix this. Basically, the tax is taking the subtotal with the coupon deducted into account, but the fee and total are not.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,940
    Plugin Contributions
    96

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by Spanky View Post
    I was advised by diptimoy to post here, but currently our coupons are still not being calculated properly. The last bit of help you gave me to edit the code in the editorders plugin worked well. Was wondering if there's something else I can do to fix this. Basically, the tax is taking the subtotal with the coupon deducted into account, but the fee and total are not.
    What is the relative sort-order of ot_coupon when comparing to the ot_shipping and ot_tax?

  3. #3
    Join Date
    May 2021
    Location
    New York
    Posts
    16
    Plugin Contributions
    0

    Default Re: Edit Orders v4.0 Support Thread

    I tried to reply with this but it appears to have not gone through? See the image attached.

    Click image for larger version. 

Name:	Capture.jpg 
Views:	53 
Size:	17.2 KB 
ID:	19581

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,940
    Plugin Contributions
    96

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by Spanky View Post
    I tried to reply with this but it appears to have not gone through? See the image attached.

    Click image for larger version. 

Name:	Capture.jpg 
Views:	53 
Size:	17.2 KB 
ID:	19581
    I'll note that the ot_coupon's sort-order causes its calculations to be performed prior to that of ot_shipping, so if your coupon(s) include free-shipping, the associated order's calculations will be off.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,940
    Plugin Contributions
    96

    Default Re: Edit Orders v4.0 Support Thread

    I've just submitted v4.6.0 of Edit Orders for the Zen Cart moderators' review; I'll post back here when it's available for download.

    This release contains changes associated with the following GitHub issues:

    #45: Remove Ty Package Tracker integration, now provided by a separate plugin.
    #189: Drop support for Zen Cart versions prior to 1.5.6.
    #190: Refactoring for zc156+ and restructuring.
    #191: Eliminate product-price input fields when pricing method is Auto or AutoSpecials.
    #193: Correct MySQL error when tax isn't set.
    #195: Make EO more 'screen-reader friendly'.
    #198: Correct order-update when an order-total's value is taxed.
    #200: eo_get_new_product now returns all products and products_description fields.
    #201: eo_get_country now returns its input value, if that value is an array.
    #202: Correct PHP notice issued during product addition if ot_loworder_fee or ot_cod_fee is active.

  6. #6
    Join Date
    Jun 2012
    Location
    California
    Posts
    259
    Plugin Contributions
    0

    Default Re: Edit Orders v4.0 Support Thread

    So I gave up, deleted my ZC installation and did a new installation of 1.5.7c.
    Installed EO 4.6.0 but now I am getting the following error log when I attempt to access a customer order:

    "Request URI: /*******/index.php?cmd=edit_orders&page=1&oID=7952&action=edit,
    #1 require(/home2/*******/public_html/*******) called at [/home2/*******/public_html/*******/index.php:11]
    --> PHP Warning: Use of undefined constant DISPLAY_PRICE_WITH_TAX_ADMIN - assumed 'DISPLAY_PRICE_WITH_TAX_ADMIN' (this will throw an Error in a future version of PHP) in /home2/*******/public_html/******* on line 79.

    Request URI: /*******/index.php?cmd=edit_orders&page=1&oID=7952&action=edit, IP address: 107.204.159.118
    #1 require(/home2/*******/public_html/*******) called at [/home2/*******/public_html/*******/index.php:11]
    --> PHP Warning: Use of undefined constant DISPLAY_PRICE_WITH_TAX - assumed 'DISPLAY_PRICE_WITH_TAX' (this will throw an Error in a future version of PHP) in /home2/*******/public_html/******* on line 79.
    "

    I have looked but I cannot figure out which file these two constants would be defined in.
    I know the settings can be changed in Cofiguration:Store but according to this error they are not defined at all
    Can someone assist with this?

    Thank You

  7. #7
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    568
    Plugin Contributions
    0

    Default Re: Edit Orders v4.0 Support Thread

    catalog/youradmin/includes/languages/english/edit_orders.php has the definitions, around line 76?

  8. #8
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,915
    Plugin Contributions
    13

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by wsworx View Post
    So I gave up, deleted my ZC installation and did a new installation of 1.5.7c.
    Installed EO 4.6.0 but now I am getting the following error log when I attempt to access a customer order:

    "Request URI: /*******/index.php?cmd=edit_orders&page=1&oID=7952&action=edit,
    #1 require(/home2/*******/public_html/*******) called at [/home2/*******/public_html/*******/index.php:11]
    --> PHP Warning: Use of undefined constant DISPLAY_PRICE_WITH_TAX_ADMIN - assumed 'DISPLAY_PRICE_WITH_TAX_ADMIN' (this will throw an Error in a future version of PHP) in /home2/*******/public_html/******* on line 79.

    Request URI: /*******/index.php?cmd=edit_orders&page=1&oID=7952&action=edit, IP address: 107.204.159.118
    #1 require(/home2/*******/public_html/*******) called at [/home2/*******/public_html/*******/index.php:11]
    --> PHP Warning: Use of undefined constant DISPLAY_PRICE_WITH_TAX - assumed 'DISPLAY_PRICE_WITH_TAX' (this will throw an Error in a future version of PHP) in /home2/*******/public_html/******* on line 79.
    "

    I have looked but I cannot figure out which file these two constants would be defined in.
    I know the settings can be changed in Cofiguration:Store but according to this error they are not defined at all
    Can someone assist with this?

    Thank You
    https://github.com/zencart/zencart/b...ql#L2350-L2351

    it looks like you have a bad install of ZC 157c...
    Last edited by carlwhat; 17 Jun 2021 at 05:41 PM.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  9. #9
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,940
    Plugin Contributions
    96

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by lat9 View Post
    I've just submitted v4.6.0 of Edit Orders for the Zen Cart moderators' review; I'll post back here when it's available for download.

    This release contains changes associated with the following GitHub issues:

    #45: Remove Ty Package Tracker integration, now provided by a separate plugin.
    #189: Drop support for Zen Cart versions prior to 1.5.6.
    #190: Refactoring for zc156+ and restructuring.
    #191: Eliminate product-price input fields when pricing method is Auto or AutoSpecials.
    #193: Correct MySQL error when tax isn't set.
    #195: Make EO more 'screen-reader friendly'.
    #198: Correct order-update when an order-total's value is taxed.
    #200: eo_get_new_product now returns all products and products_description fields.
    #201: eo_get_country now returns its input value, if that value is an array.
    #202: Correct PHP notice issued during product addition if ot_loworder_fee or ot_cod_fee is active.
    Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=1513

  10. #10
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,531
    Plugin Contributions
    127

    Default Re: Edit Orders v4.0 Support Thread

    One of my custom discounts disappears on order edit in Zen Cart 1.5.7c / EO 4.6.0. Any ideas? I have custom *fees* which are retained correctly over order edits but the discount vanishes from the orders_total table and from the Total.
    That Software Guy. My Store: Zen Cart Support
    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 1 of 2 12 LastLast

Similar Threads

  1. v150 Super Orders v4.0 Support Thread for ZC v1.5.x
    By DivaVocals in forum Addon Admin Tools
    Replies: 817
    Last Post: 29 Apr 2026, 07:53 PM
  2. v150 Orders Status History -- Updated By [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 34
    Last Post: 29 Jul 2019, 07:05 PM
  3. Edit Orders v3.0 for ZC 1.3.9 [Support Thread]
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 656
    Last Post: 18 Apr 2016, 06:28 PM
  4. v139h Super Orders v3.0 Support Thread (for ZC v1.3.9)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1018
    Last Post: 28 Apr 2014, 11:38 PM
  5. RE: Super Orders v3.0 Support Thread
    By Johnnyd in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 22 Jun 2011, 09:28 AM

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