• Hello!

    First – the good news… I installed your plugin yesterday after trying several other similar plugins and was pleasantly surprised to find I could control the exact layout of the PDF in HTML. It took some time to get everything laid out just as I wanted it, but your shortcodes made it sooooo easy to show specific pieces of order information. Great work!

    Now – the bad news… For whatever reason, no images are appearing in the PDF body. When I turn the header on, the logo appears, but the [item_product_image] shortcode does absolutely nothing. “Set default images directory” is Enabled. (Set TCPDF default images directory to WP upload directory).

    Here is a link to a PDF (some info redacted): https://drive.google.com/file/d/10MC9pRj0NgTL5O1EjndpH8IQVnROP5-M/view?usp=drive_link

    Can you help me diagnose what is preventing the images from loading in the PDF?

    Thanks!

    • This topic was modified 2 months, 1 week ago by lonestar82.
Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Taha

    (@tahaamin)

    Hello @lonestar82,

    Thank you for your kind words. I am happy to hear that our plugin is helping you.

    I have checked your request regarding the [item_product_image] shortcode. I need to consult with our development department about this and will update you as soon as possible.

    P.S. Please update the Google Drive link you shared, as it is currently locked and inaccessible.

    Have a nice day.
    Best regards,

    • This reply was modified 2 months, 1 week ago by Taha.
    Thread Starter lonestar82

    (@lonestar82)

    Hi @tahaamin,

    Thanks so much for checking on the shortcode for me.

    Sorry about the Google Drive link (shared a file on Google Drive before) – I’ve made it accessible now! ; )

    Plugin Support Taha

    (@tahaamin)

    Hello @lonestar82,

    The [item_product_image] shortcode must be placed inside the [each_item][/each_item] shortcode; otherwise, it will not work.

    Please try using the following structure and let me know if it resolves the issue:

    [each_item]
    <table>
    <tbody>
    <tr>
    <td>[item_product_image]</td>
    </tr>
    </tbody>
    </table>
    [/each_item]

    Best regards,

    Thread Starter lonestar82

    (@lonestar82)

    Hello @tahaamin,

    Thanks for the reply! I checked the HTML content I entered and the [item_product_image] shortcode was already inside the [each_item] [/each_item] shortcodes. Nevertheless, I replaced my existing [each_item] shortcodes with the structure you provided. There was no change in the results – no product images appeared. The [item_product_image] shortcode seems to be the only one that isn’t working inside the [each_item] shortcodes.

    Also, I am still experiencing issues when I add static images using <img> or the Add Media button. None of those images appear either in the final PDF.

    Plugin Support Taha

    (@tahaamin)

    Hello @lonestar82,

    That is strange. I have just tested it, and it is working well on my end. Have you tried changing your theme and deactivating other plugins?

    Please take a look at this video for reference. If the issue still persists, you can reach us via support ticket for more direct assistance.

    Best regards,

    Thread Starter lonestar82

    (@lonestar82)

    Hi @tahaamin,

    I cannot change themes or deactivate other plugins without disrupting sales on my site so I decided to start over on the invoice. I reset the section settings for General and also the document section. Upon generating a PDF for an order, it looked just as it did when I first installed the plugin. The [item_product_image] shortcode isn’t used in the default HTML content so I replaced [item_nr] with [item_product_image] as the sole change made. Here is the [each_item] portion of the HTML content I edited:

    [each_item]
    <table class="order-items">
    <tbody>
    <tr>
    <td style="width: 5%">[item_product_image]</td>
    <td style="width: 56%">[item_name]</td>
    <td style="width: 12%">[item_product_sku]</td>
    <td class="qty" style="width: 7%">[item_qty]</td>
    <td class="price" style="width: 10%">[item_single format="price"]</td>
    <td class="price" style="width: 10%">[item_total format="price"]</td>
    </tr>
    </tbody>
    </table>
    [/each_item]

    Upon re-generating the PDF, the images for the products still aren’t appearing.

    I’m using the GeneratePress theme which is up-to-date. WordPress and all plugins on my site are also up-to-date. Any advice?

    Plugin Support Taha

    (@tahaamin)

    Hello @lonestar82,

    I have just tested your code with the GeneratePress theme, and everything is working correctly on my end. As I mentioned before, the issue might be specific to your environment, possibly due to a conflict with other plugins.

    To proceed, I recommend the following:

    1. Test on a staging site if possible, to isolate the issue.
    2. If a staging site isn’t available, I can consult with our developer to identify any known plugin conflicts and provide you with a list to check on your end.

    Since I cannot replicate the issue, these steps will help us identify the root cause. Please let me know how you would like to proceed.

    Best regards,

    Thread Starter lonestar82

    (@lonestar82)

    Hi @tahaamin,

    Thanks for your reply. I would appreciate it if you could provide the list of plugins that have known conflicts. In the meantime, I will see if I can create a test site to replicate the issue and perhaps help someone else who may have this same combination of plugins.

    Plugin Support Taha

    (@tahaamin)

    Hello @lonestar82,

    If you haven’t made any progress on this issue. I would like to ask you to reach out to us via a support ticket so we can assist you more directly and efficiently in this case.

    I hope that is okay.

    Thread Starter lonestar82

    (@lonestar82)

    Hi @tahaamin,

    Since you didn’t provide a list of known plugins with conflicts as requested, I deleted your plugin and had my tech guy code an invoice/packing slip setup for me that does show product images along with all of the data from orders. You can consider this thread closed, but not resolved.

    Plugin Support Taha

    (@tahaamin)

    Hello @lonestar82,

    Thank you for the update. I think there may have been a slight misunderstanding in my previous message.

    I consulted with our development team, and they were not aware of any known conflicts with other plugins. My suggestion to contact us via a support ticket was so we could have investigated further within your specific environment, as the plugin was performing well on our end.

    Since you have decided to move away from the plugin, I will proceed to close this topic. If you still need our assistance in the future, please feel free to open a new support request.

    Best regards,

Viewing 11 replies - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.