Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 44
  1. #21
    Join Date
    Mar 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Catalog Invoice Support Thread

    how to use logo from admin on invoice instead of logo from shop front end
    just installed catalog invoice
    zencart 56
    php 7.2

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

    Default Re: Catalog Invoice Support Thread

    Copy the admin logo to the images folder under your template. (call it, say, includes/templates/YOUR_TEMPLATE/images/admin_logo.png or whatever the filetype is).
    In invoice.php on line 96, change HEADER_LOGO_IMAGE to the filename you used above ("admin_logo.png").

    You don't want to directly link to the image logo- that would reveal the name of your admin.
    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.

  3. #23
    Join Date
    Mar 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Catalog Invoice Support Thread

    thank you so much for quick reply
    replace code like that
    <td class="pageHeading" align="right"><?php echo zen_image($template->get_template_dir(admin_logo.png, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT); ?></td>
    </tr>
    very strange it is not show up admin_logo.pnp which i just made it . instead of showing zencart logo dont know where is it from this is link
    https://www.xxxx.com/shop56c/include...JTEz3omf5M.png

  4. #24
    Join Date
    Mar 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Catalog Invoice Support Thread

    it worked sorry my mistake browser cache problem thanks again

  5. #25
    Join Date
    Jan 2007
    Location
    Illinois, USA
    Posts
    312
    Plugin Contributions
    0

    Default Re: Catalog Invoice Support Thread

    the 1.5.7c upgrade removed the invoice option from the customer side. Anyone know of a fix?
    NTO: building a better network thru collaboration
    www.needtoorder.com | www.coffeewitheinstein.com

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

    Default Re: Catalog Invoice Support Thread

    Reinstall my plugin. :)
    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. #27
    Join Date
    Jan 2007
    Location
    Illinois, USA
    Posts
    312
    Plugin Contributions
    0

    Default Re: Catalog Invoice Support Thread

    I reinstalled and along with a blank "My Account" page, I get the following error:

    [25-Jun-2021 23:05:12 UTC] PHP Fatal error: Uncaught Error: Call to a member function isMobile() on null in /includes/templates/ntobs20/templates/tpl_account_default.php:16
    Stack trace:
    #0 /includes/templates/ntobs20/common/tpl_main_page.php(195): require()
    #1 /index.php(94): require('/home/feadmin/p...')
    #2 {main}
    thrown in /includes/templates/ntobs20/templates/tpl_account_default.php on line 16

    [25-Jun-2021 23:05:12 UTC] Request URI: /index.php?main_page=account, IP address: xxxxxx
    --> PHP Fatal error: Uncaught Error: Call to a member function isMobile() on null in /includes/templates/ntobs20/templates/tpl_account_default.php:16
    Stack trace:
    #0 /includes/templates/ntobs20/common/tpl_main_page.php(195): require()
    #1 /index.php(94): require('/home/...')
    #2 {main}
    thrown in /includes/templates/ntobs20/templates/tpl_account_default.php on line 16.
    NTO: building a better network thru collaboration
    www.needtoorder.com | www.coffeewitheinstein.com

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

    Default Re: Catalog Invoice Support Thread

    The template file provided was based on responsive_classic. If you don't use responsive_classic, make the relevant changes to your own template file.

    - Compare what I gave you to what's in responsive classic.
    - Apply those changes to your template file.
    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. #29
    Join Date
    Jan 2007
    Location
    Illinois, USA
    Posts
    312
    Plugin Contributions
    0

    Default Re: Catalog Invoice Support Thread

    Quote Originally Posted by swguy View Post
    The template file provided was based on responsive_classic. If you don't use responsive_classic, make the relevant changes to your own template file.

    - Compare what I gave you to what's in responsive classic.
    - Apply those changes to your template file.
    Thank you. So the only element I moved from your file to my template file was this line

    <!-- Invoice -->
    <td class="accountOrderViewButton alignRight"><?php echo '<a href="' . FILENAME_INVOICE . '.php?oID=' . $orders['orders_id'] . '" target="_blank">' . zen_image_button(BUTTON_IMAGE_INVOICE_SMALL, BUTTON_INVOICE_SMALL_ALT) . '</a>' . '&nbsp;&nbsp;'; ?></td>

    and it enabled the mod to function correctly.
    NTO: building a better network thru collaboration
    www.needtoorder.com | www.coffeewitheinstein.com

  10. #30
    Join Date
    Sep 2006
    Posts
    163
    Plugin Contributions
    1

    Default Re: Catalog Invoice Support Thread

    Quote Originally Posted by swguy View Post
    Catalog Invoice allows your customers to create their own invoices from past orders on their My Account page
    Is there a way to change the invoice link in the email sent out to the customer so that it uses this new invoice page?

    At present it goes to the entirely unsatisfactory account history page.

    I think the change has to go into classes/order.php somewhere a bit after line 1000 but I'm not sure what or where

 

 
Page 3 of 5 FirstFirst 12345 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