Page 5 of 8 FirstFirst ... 34567 ... LastLast
Results 41 to 50 of 76
  1. #41
    Join Date
    Mar 2005
    Location
    United Kingdom
    Posts
    608
    Plugin Contributions
    0

    Default Re: Catalog Invoice Support Thread

    Thanks for this Scott. Been testing for you and here is my feedback.

    If I want to turn off images should I hard code the setting in \invoice.php? The new override settings that work with admin\invoice.php won't be pulled through.

    The latest version works in PHP 7.4 but fails in PHP 8.0

    Code:
    [05-Feb-2023 14:11:26 Europe/London] PHP Fatal error: Uncaught Error: Undefined constant "TABLE_HEADING_PRICE_EXCLUDING_TAX" in /invoice.php:214
    Stack trace:
    #0 {main}
    thrown in /invoice.php on line 214
    
    [05-Feb-2023 14:11:26 Europe/London] Request URI: /store158/invoice.php?oID=31848, IP address: 77.108.141.0
    --> PHP Fatal error: Uncaught Error: Undefined constant "TABLE_HEADING_PRICE_EXCLUDING_TAX" in /invoice.php:214
    Stack trace:
    #0 {main}
    thrown in /invoice.php on line 214.
    I fixed this by adding entries to my \includes\languages\english\lang.invoice.php file but don't know if this is the best way or if the error was caused by some other issue I have.

    Code:
        'TABLE_HEADING_PRICE_EXCLUDING_TAX' => 'Price (excl)',
        'TABLE_HEADING_PRICE_INCLUDING_TAX' => 'Price (incl)',
        'TABLE_HEADING_TOTAL_EXCLUDING_TAX' => 'Total (excl)',
        'TABLE_HEADING_TOTAL_INCLUDING_TAX' => 'Total (incl)',
    You also have two old files in your latest update. I have ported the changes across my end but so this is just for other users.
    Firstly
    \includes\templates\custom\templates\tpl_account_default.php
    This is using
    @version $Id: Scott C Wilson 2019 Jan 14 Modified in v1.5.6b $
    and the latest version is
    @version $Id: lat9 2022 May 26 Modified in v1.5.8-alpha $
    Secondly
    \includes\templates\custom\templates\tpl_account_history_default.php
    Is based on
    @version $Id: Author: DrByte Sat Jan 9 13:13:41 2016 -0500 Modified in v1.5.5 $
    but the latest version is
    @version $Id: lat9 2022 Jul 23 Modified in v1.5.8-alpha2 $

  2. #42
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,291
    Plugin Contributions
    125

    Default Re: Catalog Invoice Support Thread

    Language file changes are correct - I'll add on the next update.

    The template changes are really just an example - you have to merge the changes into your own template files.
    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.

  3. #43
    Join Date
    Mar 2005
    Location
    United Kingdom
    Posts
    608
    Plugin Contributions
    0

    Default Re: Catalog Invoice Support Thread

    Quote Originally Posted by swguy View Post
    The template changes are really just an example - you have to merge the changes into your own template files.
    I understand that. It was more a notification for other users as they will see 1.5.8 ready and make assumptions. I got caught out by this when I started on this journey. Hard for someone who reads and writes code to understand

    For anyone trying to remove images changing line 44 in /invoice.php did the trick for me.

    Code:
    $show_product_images = $show_product_images ?? false;

  4. #44
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,291
    Plugin Contributions
    125

    Default Re: Catalog Invoice Support Thread

    css was referencing files that weren't included; this has been fixed in the latest update.
    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.

  5. #45
    Join Date
    Sep 2024
    Location
    Noord Holland
    Posts
    22
    Plugin Contributions
    0

    Default Re: Catalog Invoice Support Thread

    When I click on the invoice button and the customer has purchased 1 item, the invoice is mixed up. If multiple items have been purchased, everything will work fine.
    How is this possible, bug?

    Using zen cart version 1.5.8a

    Dirk

  6. #46
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,291
    Plugin Contributions
    125

    Default Re: Catalog Invoice Support Thread

    Can you be more specific about what you mean when you say everything is mixed up? Screenshot perhaps?
    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.

  7. #47
    Join Date
    Sep 2024
    Location
    Noord Holland
    Posts
    22
    Plugin Contributions
    0

    Default Re: Catalog Invoice Support Thread

    Click image for larger version. 

Name:	vb-1.jpg 
Views:	21 
Size:	24.9 KB 
ID:	20793Click image for larger version. 

Name:	vb-2.jpg 
Views:	20 
Size:	29.4 KB 
ID:	20794
    First is one item ordered and second one is two items.

    As you can see the layout is different (not everything is mixed up).
    Last edited by DirkS; 4 Nov 2024 at 07:35 PM.

  8. #48
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,291
    Plugin Contributions
    125

    Default Re: Catalog Invoice Support Thread

    This seems to be related to the order, not the number of items. No idea; does the regular admin orders page have the same layout?
    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.

  9. #49
    Join Date
    Sep 2024
    Location
    Noord Holland
    Posts
    22
    Plugin Contributions
    0

    Default Re: Catalog Invoice Support Thread

    Quote Originally Posted by swguy View Post
    This seems to be related to the order, not the number of items. No idea; does the regular admin orders page have the same layout?
    Yes it does.

  10. #50
    Join Date
    Sep 2024
    Location
    Noord Holland
    Posts
    22
    Plugin Contributions
    0

    Default Re: Catalog Invoice Support Thread

    I'm not a programmer or anything so I don't know how to solve this. Any help is welcome. I have already restored a backup of invoice.php to the admin folder with no results.

 

 
Page 5 of 8 FirstFirst ... 34567 ... LastLast

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 20
    Last Post: 23 Apr 2025, 08:49 AM
  2. v150 Product Images on Invoice, Email, etc [Support Thread]
    By jackie.taferner in forum All Other Contributions/Addons
    Replies: 29
    Last Post: 26 Aug 2022, 05:52 AM
  3. Invoice-to-PDF Mailer [support thread]
    By hayden in forum All Other Contributions/Addons
    Replies: 39
    Last Post: 17 Sep 2013, 10:10 AM
  4. SnapShot [support thread]
    By skipwater in forum All Other Contributions/Addons
    Replies: 32
    Last Post: 26 Oct 2012, 08:38 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