Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 30
  1. #11
    Join Date
    Oct 2012
    Posts
    39
    Plugin Contributions
    0

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

    Wow Damn u ---> ; Did not see that lol. everything working properly, i also winmerge my files really loving the add on. thank you so much for your help Pottery ..

  2. #12
    Join Date
    Nov 2013
    Location
    Australia
    Posts
    6
    Plugin Contributions
    0

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

    Absolutely love this add on however the product images aren't showing up property in our html emails?

    There's just a square box with a broken image link image. Not sure where to even start to try and correct?

  3. #13
    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 LBLJEB View Post
    Absolutely love this add on however the product images aren't showing up property in our html emails?

    There's just a square box with a broken image link image. Not sure where to even start to try and correct?
    If you find the issue please let all know.

    I would start looking in the file:
    includes\classes\order.php

    The image is applied on line 909, so in that area I suspect the issue resides.
    Backup Files and Databases First. GitHub
    Suggestions, Plugins, etc. used at your own risk.

  4. #14
    Join Date
    Oct 2010
    Location
    Finland
    Posts
    26
    Plugin Contributions
    0

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

    I really like this mod too, but I have a same problem with the html emails as LBLJEB. HTML email image links are broken. Those image links do miss the store server part.
    Now the image path in HTML emails is:
    images/product_image.jpg

    it thould be:
    https :// www . google . com/store/images/product_image.jpg

    Would it work by modifying this file from the line 909:
    includes\classes\order.php
    by adding . HTTPS_SERVER . DIR_WS_HTTPS_CATALOG . before the zen_get_products_image?

    Like this?

    //JT mod - Product Image
    '<td class="product-details" align="left" valign="top" width="30">' . HTTPS_SERVER . DIR_WS_HTTPS_CATALOG . zen_get_products_image($this->products[$i]['id'], IMAGE_ON_INVOICE_IMAGE_WIDTH, IMAGE_ON_INVOICE_IMAGE_HEIGHT) . '</td>' . "\n" .
    //JT mod - Product Image

    * I don't have a testing server and my site is live. So thats why I ask before modifying those core files ;)

  5. #15
    Join Date
    Oct 2010
    Location
    Finland
    Posts
    26
    Plugin Contributions
    0

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

    Quote Originally Posted by Harri View Post
    I really like this mod too, but I have a same problem with the html emails as LBLJEB. HTML email image links are broken. Those image links do miss the store server part.
    Now the image path in HTML emails is:
    images/product_image.jpg

    it thould be:
    https :// www . google . com/store/images/product_image.jpg

    Would it work by modifying this file from the line 909:
    includes\classes\order.php
    by adding . HTTPS_SERVER . DIR_WS_HTTPS_CATALOG . before the zen_get_products_image?

    Like this?

    //JT mod - Product Image
    '<td class="product-details" align="left" valign="top" width="30">' . HTTPS_SERVER . DIR_WS_HTTPS_CATALOG . zen_get_products_image($this->products[$i]['id'], IMAGE_ON_INVOICE_IMAGE_WIDTH, IMAGE_ON_INVOICE_IMAGE_HEIGHT) . '</td>' . "\n" .
    //JT mod - Product Image

    * I don't have a testing server and my site is live. So thats why I ask before modifying those core files ;)
    That didn't work. Store url appeared before the <img src -tag. I think this image issue was caused because my store html email template didn't have a base href:
    <base href="$BASE_HREF" />
    Now it should work.

  6. #16
    Join Date
    Dec 2008
    Posts
    36
    Plugin Contributions
    0

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

    i tried to install the sql patch but it fails and i go the following error

    Error Failed: 1
    Error ERROR: Cannot insert configuration_key "" because it already exists
    Warning Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.

    I have never installed this module before. why it said it already exist? how can I solve this problem? many thanks!!!

  7. #17
    Join Date
    Dec 2008
    Posts
    36
    Plugin Contributions
    0

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

    I manually insert the sql via phpmyadmin and it now works! thx!

  8. #18
    Join Date
    Apr 2010
    Location
    County Down, Northern Ireland
    Posts
    302
    Plugin Contributions
    0

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

    Have installed the above add on to www.irishshopper.ie ZenCart 1.51 but cannot find the settings in Configuration/Images to adjust the size of the image which appears on the invoice.

    Instructions state

    Image sizes are controlled by setting located in:
    Admin > Configuration > Images > 'Image - On Invoice Height'
    Admin > Configuration > Images > 'Image - On Invoice Width'

    Image sizes that are appearing are far far too big but don't appear at all on some browsers.

    Any suggestions on how to fix this ?

  9. #19
    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 irishshopper View Post
    Have installed the above add on to www.irishshopper.ie ZenCart 1.51 but cannot find the settings in Configuration/Images to adjust the size of the image which appears on the invoice.

    Instructions state

    Image sizes are controlled by setting located in:
    Admin > Configuration > Images > 'Image - On Invoice Height'
    Admin > Configuration > Images > 'Image - On Invoice Width'

    Image sizes that are appearing are far far too big but don't appear at all on some browsers.

    Any suggestions on how to fix this ?
    Did you run the install part from the provided script file "InvoiceImage.sql" (there is also a removal part, only run if you want to remove the database change)
    Code:
    -- Paste the following into 'SQL Query Executor' in Admin: (Tools\Install SQL Patches).
    
    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.

  10. #20
    Join Date
    Apr 2010
    Location
    County Down, Northern Ireland
    Posts
    302
    Plugin Contributions
    0

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

    Yes this was run OK and gave from memory a message at top of screen like

    3 tables installed or something similar

 

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