Page 4 of 4 FirstFirst ... 234
Results 31 to 36 of 36
  1. #31
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    8,118
    Plugin Contributions
    110

    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.

  2. #32
    Join Date
    Sep 2006
    Posts
    152
    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
    8,118
    Plugin Contributions
    110

    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.

  4. #34
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    8,118
    Plugin Contributions
    110

    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.

  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
    8,118
    Plugin Contributions
    110

    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.

 

 
Page 4 of 4 FirstFirst ... 234

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 16
    Last Post: 22 Mar 2021, 01:11 AM
  2. v150 Product Images on Invoice, Email, etc [Support Thread]
    By jackie.taferner in forum All Other Contributions/Addons
    Replies: 28
    Last Post: 8 Jan 2018, 03:57 PM
  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