Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 44
  1. #31
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,622
    Plugin Contributions
    123

    Default Re: Catalog Invoice Support Thread

    In includes/classes/order.php look for the line saying

    EMAIL_TEXT_INVOICE_URL . ' ' . zen_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $zf_insert_id, 'SSL', false) . "\n\n";

    it's on line 1069 in 1.5.7c. Just adjust that to point to FILENAME_INVOICE instead.
    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. #32
    Join Date
    Sep 2006
    Posts
    163
    Plugin Contributions
    1

    Default Re: Catalog Invoice Support Thread

    Quote Originally Posted by swguy View Post
    In includes/classes/order.php look for the line saying

    EMAIL_TEXT_INVOICE_URL . ' ' . zen_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $zf_insert_id, 'SSL', false) . "\n\n";

    it's on line 1069 in 1.5.7c. Just adjust that to point to FILENAME_INVOICE instead.
    Sadly, that's one of the things I'd tried (and failed with) before asking.

    It generates a link to [siteurl]/index.php?main_page=invoice&oID=123456 instead of to [siteurl]/invoice.php&oID=123456

  3. #33
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,622
    Plugin Contributions
    123

    Default Re: Catalog Invoice Support Thread

    Yep, you're right.

    Instead of
    zen_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $zf_insert_id, 'SSL', false)

    use something like

    HTTPS_SERVER . DIR_WS_CATALOG . 'invoice.php?order_id='.$zf_insert_id
    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.

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

    Default Re: Catalog Invoice Support Thread

    There was a bug in file inclusion in invoice.php that has been fixed.
    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. #35
    Join Date
    Feb 2019
    Location
    Birmingham UK
    Posts
    12
    Plugin Contributions
    0

    Default Re: Catalog Invoice Support Thread

    Great plug-in, essential for my daughter's (very) small wholesale business where all her stockists pay by invoice.

    Zencart v 1.5.7c

    Minor bug, I noticed that invoice "date added" was showing DATE_TIME_FORMAT instead of date added.
    This has apparently affected some other plugins.
    The lines below have been removed from includes/languages/english.php in 1.5.7

    define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime()
    define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');

    Adding them cured it.

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

    Default Re: Catalog Invoice Support Thread

    Thanks. Will update next time.
    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. #37
    Join Date
    Mar 2005
    Location
    United Kingdom
    Posts
    608
    Plugin Contributions
    0

    Default Re: Catalog Invoice Support Thread

    Has anyone yet ported the changes from the new 1.5.8 version of
    HTML Code:
    /admin/invoice.php
    over to
    HTML Code:
    /invoice.php
    The latest version in the plugin is based on
    Code:
    @version $Id: DrByte 2020 May 20 Modified in v1.5.7 $
    and the version in 1.5.8 has changed substantially
    Code:
    @version $Id: Scott C Wilson 2022 Sep 17 Modified in v1.5.8 $
    I tried to port the changes over but there have been too many revisions in the area where the revised code needs to be inserted.

    Help needed please :)

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

    Default Re: Catalog Invoice Support Thread

    I will update this mod shortly.
    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. #39
    Join Date
    Mar 2005
    Location
    United Kingdom
    Posts
    608
    Plugin Contributions
    0

    Default Re: Catalog Invoice Support Thread

    Thank you. I will buy you a cup of coffee.

  10. #40
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,622
    Plugin Contributions
    123

    Default Re: Catalog Invoice Support Thread

    OK an update has been submitted for 1.5.8.

    https://www.zen-cart.com/downloads.php?do=file&id=2111

    The CSS needs some tweaking; I'll do that as soon as I can.
    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 4 of 5 FirstFirst ... 2345 LastLast

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 19
    Last Post: 23 Jan 2023, 08:04 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