Page 1 of 3 123 LastLast
Results 1 to 10 of 30
  1. #1
    Join Date
    Jun 2009
    Location
    Orange County, California
    Posts
    544
    Plugin Contributions
    18

    Default Product Images on Invoice, Email, etc [Support Thread]

    This is the official support thread for the following module:
    Product Images on Invoice, Email, etc
    Last edited by jackie.taferner; 17 Oct 2012 at 09:03 PM.

  2. #2
    Join Date
    Oct 2012
    Posts
    39
    Plugin Contributions
    0

    Default Re: Product Images on Invoice, Email, etc Support Thread

    is not working with edit orders and Ty Package Tracker can some one merge them for me orders.php

  3. #3
    Join Date
    Jun 2009
    Location
    Orange County, California
    Posts
    544
    Plugin Contributions
    18

    Default Re: Product Images on Invoice, Email, etc Support Thread

    Hi 21 yanks, try using a tool such as WinMerge to merge the changes with your existing orders.php: http://winmerge.org/

    All of this mod's edits are carefully commented with "JT mod - Product Image", so they should be easy to spot.

  4. #4
    Join Date
    Apr 2013
    Location
    north carolina
    Posts
    110
    Plugin Contributions
    0

    Default Re: Product Images on Invoice, Email, etc [Support Thread]

    Thank you jackie.taferner!
    I must say I'm not surprised this support thread is so short. Product Images on Invoice, Email, etc is the 15th plugin in the Zen Cart installation I'm currently working on, but one of very few that installed without a single glitch! What I'm even more impressed with is that it works retroactively - the test orders placed before I installed this plugin magically acquired images in their invoices, packing slips and customers' order history pages. On top of that, it's incredibly easy to install, just 5 files. I had to merge 3 of them with code modified by other plugins, but it was very easy - indeed the JT mod snippets are very easy to find and copy over.
    Thanks again,
    Magz
    Last edited by magz; 3 May 2013 at 10:46 PM.

  5. #5
    Join Date
    Jun 2009
    Location
    Orange County, California
    Posts
    544
    Plugin Contributions
    18

    Default Re: Product Images on Invoice, Email, etc [Support Thread]

    Thanks magz, glad to hear you find the mod useful and easy to install. We are happy to contribute to the community in any way we can.

  6. #6
    Join Date
    May 2008
    Posts
    182
    Plugin Contributions
    0

    Default Re: Product Images on Invoice, Email, etc [Support Thread]

    Where, for example, in the admin packing slip, can I change the link to the images folder?

    during ssl state, my site refers to https://stargate.terrassl.net/~candlewithcare so the image when opening the packing slip wants to link to http://stargate.terrassl.net/images and doesn't show.

    Is it this line?
    ' <td class="dataTableContent" valign="top" align="right"><img src="' . DIR_WS_CATALOG . DIR_WS_IMAGES . zen_get_products_image($order->products[$i]['id']) .'" align="left" width="' . SMALL_IMAGE_WIDTH . '" height="' . SMALL_IMAGE_HEIGHT . '" />' . $order->products[$i]['qty'] . '&nbsp;x</td>' . "\n" .

  7. #7
    Join Date
    May 2008
    Posts
    182
    Plugin Contributions
    0

    Default Re: Product Images on Invoice, Email, etc [Support Thread]

    Quote Originally Posted by CandleMan View Post
    Where, for example, in the admin packing slip, can I change the link to the images folder?

    during ssl state, my site refers to https://stargate.terrassl.net/~candlewithcare so the image when opening the packing slip wants to link to http://stargate.terrassl.net/images and doesn't show.

    Is it this line?
    ' <td class="dataTableContent" valign="top" align="right"><img src="' . DIR_WS_CATALOG . DIR_WS_IMAGES . zen_get_products_image($order->products[$i]['id']) .'" align="left" width="' . SMALL_IMAGE_WIDTH . '" height="' . SMALL_IMAGE_HEIGHT . '" />' . $order->products[$i]['qty'] . '&nbsp;x</td>' . "\n" .
    I changed the
    <img src="' . DIR_WS_CATALOG . DIR_WS_IMAGES . zen_get_products_image($order->products[$i]['id']) .'
    to
    <img src="https://stargate.terrassl.net/~candlewithcare/images/'. zen_get_products_image($order->products[$i]['id']) .'

    it now works
    www.candlewithcare.co.uk
    Luxury Scented
    Candles at great prices!

  8. #8
    Join Date
    Feb 2009
    Posts
    69
    Plugin Contributions
    0

    Default Re: Product Images on Invoice, Email, etc [Support Thread]

    Thank you for your great mod.
    1.How do I change how do I change format of "Date ordered" to Short format? For now it's Long format in English (example:Monday 16 September, 2013). Also it's possible to translate Long date format to other local language? Which file do I need to edit?

    2. How do I customize (edit) text of below section of invoice? I want to translate it.Which file do I need to edit
    Sub-Total: $12.00
    Shipping: $0.00
    Total: $12.00

    Please let me know.
    Quote Originally Posted by CandleMan View Post
    I changed the
    <img src="' . DIR_WS_CATALOG . DIR_WS_IMAGES . zen_get_products_image($order->products[$i]['id']) .'
    to
    <img src="https://stargate.terrassl.net/~candlewithcare/images/'. zen_get_products_image($order->products[$i]['id']) .'

    it now works

  9. #9
    Join Date
    Oct 2012
    Posts
    39
    Plugin Contributions
    0

    Default Re: Product Images on Invoice, Email, etc [Support Thread]

    i have installed this mod but for some reason the InvoiceImage sql is not working properly. i go to admin/confi/iamges/ then i have no option
    to change the size of the pics please help . thanks

  10. #10
    Join Date
    Jun 2012
    Location
    Florida
    Posts
    123
    Plugin Contributions
    5

    Default Re: Product Images on Invoice, Email, etc [Support Thread]

    Quote Originally Posted by 21yanks View Post
    i have installed this mod but for some reason the InvoiceImage sql is not working properly. i go to admin/confi/iamges/ then i have no option
    to change the size of the pics please help . thanks
    I just tried this again on a test server (and have it running on two production sites) it worked as expected.
    Make sure you have included the semicolon ; at the end of the command.

    I went to admin, under "Tools/Install SQL Patches" I pasted the following into the "SQL Query Executor" box:

    Code:
    INSERT INTO configuration 
    (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) 
    VALUES
    ('Image - On Invoice Height', 'IMAGE_ON_INVOICE_IMAGE_HEIGHT', '30', 'The pixel height of images on Invoice', 4, 49, NULL, now(), NULL, NULL),
    ('Image - On Invoice Width', 'IMAGE_ON_INVOICE_IMAGE_WIDTH', '30', 'The pixel width of images on Invoices', 4, 49, NULL, now(), NULL, NULL);
    Backup Files and Databases First. GitHub
    Suggestions, Plugins, etc. used at your own risk.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v154 Common Email Styling [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 36
    Last Post: 8 Nov 2022, 08:21 PM
  2. v154 Developer Override Email Address [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 24 Dec 2015, 09:56 PM
  3. v154 Email Downloads Support Thread
    By swguy in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 17 Jun 2015, 06:41 PM
  4. Invoice-to-PDF Mailer [support thread]
    By hayden in forum All Other Contributions/Addons
    Replies: 39
    Last Post: 17 Sep 2013, 10:10 AM
  5. Template support thread: Sliding Home Images
    By markz in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 29 Jul 2013, 07:49 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