Page 59 of 188 FirstFirst ... 949575859606169109159 ... LastLast
Results 581 to 590 of 1873
  1. #581
    Join Date
    Aug 2014
    Location
    Indonesia
    Posts
    7
    Plugin Contributions
    0

    Default Re: Edit Orders v4.0 Support Thread

    Hello Everybody.
    how to add new inputs and can be displayed on the packing slips and invoices?

    I want to add a phone number section that can be edited on "the delivery section"
    so the phone number into a billing and shipping is different

    What files should I change / add?

    thx

  2. #582
    Join Date
    Jun 2010
    Posts
    145
    Plugin Contributions
    0

    Default Re: Super Orders + Edit Orders

    Quote Originally Posted by lat9 View Post
    That's a known issue. See the quoted correction.
    Just had this issue too and fixed it using your instructions - thanks! :)

  3. #583
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,346
    Plugin Contributions
    94

    Default Re: Super Orders + Edit Orders

    No problem, there's a bunch of pages to be read to find that!

  4. #584
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Super Orders + Edit Orders

    Quote Originally Posted by lat9 View Post
    No problem, there's a bunch of pages to be read to find that!
    Hot tip for all who installed this mod (and other plugins):

    Simply subscribe to this thread with instant email notifications and you won't be left in the dark. All you need to do is read the latest updates

    To subscribe click on 'Thread Tools' on the header bar of this thread.

  5. #585
    Join Date
    Dec 2008
    Location
    Rimini, Italy, Italy
    Posts
    67
    Plugin Contributions
    0

    Default Re: Super Orders + Edit Orders (VAT problem)

    Hi everybody,
    ZC 1.5.1 + Super Orders 4.1.4

    I have no problems in VAT calculation when inserting new orders, but problems come while editing exixting orders.
    Here's some exmple pic:

    This is the order right after its creation:

    Click image for larger version. 

Name:	2ordineappenafatto.png 
Views:	49 
Size:	11.6 KB 
ID:	14412
    Click image for larger version. 

Name:	3ordineappenafattoinmodifica.png 
Views:	63 
Size:	14.9 KB 
ID:	14413


    1 item, net price is 1.64, gross price is 2.00, VAT is 22%, gross shipping is 7.00, net shipping is 5.7377

    Following is the same order after editing it by modifying gross shipping to 8,00

    Click image for larger version. 

Name:	4ordinemodificatototalebuonoivasbagliata.png 
Views:	49 
Size:	14.8 KB 
ID:	14414

    Total is ok, but not VAT (it should be 1.80, not 2.12)

    And now the "surprise":

    Click image for larger version. 

Name:	5ordinemodificatoivagiustatotalesbagliato.png 
Views:	49 
Size:	15.4 KB 
ID:	14415

    I just put net shipping in shipping box instead of gross shipping: now VAT is OK, but Total is wrong.

    Any idea about that?
    Thanks in advance

  6. #586
    Join Date
    Oct 2005
    Location
    Finland
    Posts
    186
    Plugin Contributions
    1

    Default Re: Super Orders + Edit Orders (VAT problem)

    Seems like there is a bug in Edit Orders 4.1.4 in the file admin/includes/functions/extra_functions/edit_orders_functions.php

    Line 1025 - 1028:
    Code:
    				$check = $db->Execute(
    					'SELECT `p`.`products_quantity` FROM `' . TABLE_PRODUCTS . '` ' .
    				 	'WHERE `p`.`products_id` = \'' . (int)$query->fields['products_id'] . '\''
    				);
    Which probably instead should be (a p isn't defined):
    Code:
    				$check = $db->Execute(
    					'SELECT `products_quantity` FROM `' . TABLE_PRODUCTS . '` ' .
    				 	'WHERE `products_id` = \'' . (int)$query->fields['products_id'] . '\''
    				);
    Else it trows an error like:
    PHP Fatal error: 1054:Unknown column 'p.products_quantity' in 'field list' :: SELECT `p`.`products_quantity` FROM `products` WHERE `p`.`products_id` = '32' ==> (as called by) /public_html/admin/includes/functions/extra_functions/edit_orders_functions.php on line 1028 <== in /public_html/includes/classes/db/mysql/query_factory.php on line 155

  7. #587
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,346
    Plugin Contributions
    94

    Default Re: Super Orders + Edit Orders (VAT problem)

    Quote Originally Posted by rued View Post
    Seems like there is a bug in Edit Orders 4.1.4 in the file admin/includes/functions/extra_functions/edit_orders_functions.php

    Line 1025 - 1028:
    Code:
    				$check = $db->Execute(
    					'SELECT `p`.`products_quantity` FROM `' . TABLE_PRODUCTS . '` ' .
    				 	'WHERE `p`.`products_id` = \'' . (int)$query->fields['products_id'] . '\''
    				);
    Which probably instead should be (a p isn't defined):
    Code:
    				$check = $db->Execute(
    					'SELECT `products_quantity` FROM `' . TABLE_PRODUCTS . '` ' .
    				 	'WHERE `products_id` = \'' . (int)$query->fields['products_id'] . '\''
    				);
    Else it trows an error like:
    Known issue; see post #577.

  8. #588
    Join Date
    Oct 2005
    Location
    Finland
    Posts
    186
    Plugin Contributions
    1

    Default Re: Super Orders + Edit Orders (VAT problem)

    Quote Originally Posted by lat9 View Post
    Known issue; see post #577.
    Hehe ... this tread is 59 pages, I surely didn't bother or take time to go trough it (as search didn't give me anything for some reason), I just fixed it. :)

  9. #589
    Join Date
    Mar 2009
    Posts
    169
    Plugin Contributions
    2

    Default Re: Super Orders + Edit Orders (VAT problem)

    Just wanted to ask a rather basic question...

    I noticed that older versions of Edit Orders installs data into the SQL - but when going through the files of Edit Orders 4 I don't see anything that adds new columns or tables. I assume this version doesn't require SQL changes for installation? Or am I missing it...

  10. #590
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,346
    Plugin Contributions
    94

    Default Re: Super Orders + Edit Orders (VAT problem)

    Quote Originally Posted by yaseent View Post
    Just wanted to ask a rather basic question...

    I noticed that older versions of Edit Orders installs data into the SQL - but when going through the files of Edit Orders 4 I don't see anything that adds new columns or tables. I assume this version doesn't require SQL changes for installation? Or am I missing it...
    v4.1.4 installs some items in the configuration menu (Configuration->Edit Orders) via the file /YOUR_ADMIN/includes/classes/eo_plugin.php.

 

 

Similar Threads

  1. v150 Super Orders v4.0 Support Thread for ZC v1.5.x
    By DivaVocals in forum Addon Admin Tools
    Replies: 804
    Last Post: 18 Apr 2025, 12:04 AM
  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

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