WordPress.org

Forums

WooCommerce Print Invoice & Delivery Note
logo/product thumbnails not showing up unless right click open in new windows (9 posts)

  1. steventt234
    Member
    Posted 11 months ago #

    woocommerce latest, wordpress latest, woocommerce-delivery-notes latest

    The spinning thing gone, after the fix.

    But I am not able to see the picture [logo / product thumbnails ] still when I click the print button,

    I can right click on the print button [delivery note/ invoice], and the click open in new windows.

    Thtats the only way I can see all the picture displayed correctly

    https://wordpress.org/plugins/woocommerce-delivery-notes/

  2. piffpaffpuff
    Member
    Plugin Author

    Posted 11 months ago #

    Do you print in the front-end or in the admin?

  3. steventt234
    Member
    Posted 11 months ago #

    it was happen in the admin

  4. piffpaffpuff
    Member
    Plugin Author

    Posted 11 months ago #

    Do you use https in the admin?

  5. steventt234
    Member
    Posted 11 months ago #

    yes , i did use https in admin.

  6. piffpaffpuff
    Member
    Plugin Author

    Posted 11 months ago #

    can you please explain a little bit your setup.

    - did you also use the 2.x version of this plugin, if yes, did you change something to your setup since then?
    - do you use FORCE_SSL_ADMIN or FORCE_SSL_LOGIN for ssl.
    - do you use a plugin, and which one?
    - which of your pages use ssl (admin only, whole site, etc)?

    also do this in chrome:
    1. go to the orders page in the admin.
    2. click on the print button and cancel the print operation.
    3. now right-click on the print button and choose "Inspect Element" from the menu.
    4. a new window open, click on the tab "Console" in that window.
    5. post a reply with all the content form that tab.

  7. steventt234
    Member
    Posted 11 months ago #

    Seems for the customer to print the invoice , having the same issue, which needed to open in new windows to see pictures

    I tried to turn off the https to access admin, but still seeing no images(logo, products) when i click the print button directly.

    - I start using this plugin , when it has the "spinning loading " problem , I think it's like 2,3 release before the current version

    - did you also use the 2.x version of this plugin, if yes, did you change something to your setup since then?
    > I start using this plugin , when it has the "spinning loading " problem , I think it's like 2,3 release before the current version

    - do you use FORCE_SSL_ADMIN or FORCE_SSL_LOGIN for ssl.
    > Yes , I did

    - do you use a plugin, and which one?
    >Yes
    ================================
    CloudFlare
    Deactivate | Edit
    CloudFlare integrates your blog with the CloudFlare platform.

    Version 1.3.13 | By Ian Pye, Jerome Chen, James Greene, Simon Moore (CloudFlare Team) | Visit plugin site
    Select Custom Login URL
    Custom Login URL
    Deactivate | Edit
    Plugin allows to change: login, registration, lost password URLs to some custom URLs without modifying any files, simple and swift.

    Version 1.0.0 | By Simpliko | Visit plugin site
    Select Limit Login Attempts
    Limit Login Attempts
    Deactivate | Edit
    Limit rate of login attempts, including by way of cookies, for each IP.

    Version 1.7.1 | By Johan Eenfeldt | Visit plugin site
    Select Revolution Slider
    Revolution Slider
    Deactivate | Edit
    Revolution Slider - Premium responsive slider

    Version 4.1.1 | By ThemePunch | Visit plugin site
    Select uSquare
    uSquare
    Deactivate | Edit
    HTML grid for items

    Version 1.0 | By br0 | Visit plugin site
    Select WooCommerce
    WooCommerce
    Settings | Docs | Premium Support | Deactivate | Edit
    An e-commerce toolkit that helps you sell anything. Beautifully.

    Version 2.1.7 | By WooThemes | Visit plugin site
    Select WooCommerce Custom Order Statuses & Actions
    WooCommerce Custom Order Statuses & Actions
    Deactivate | Edit
    Allows users to manage WooCommerce order statuses, create the action button that triggers the status and set up the email notification that is sent when status is applied.

    Version 1.0 | By Actuality Extensions | Visit plugin site
    Select WooCommerce jQuery Cookie Fix
    WooCommerce jQuery Cookie Fix
    Deactivate | Edit
    Due to hosting companies using outdated mod_security ruleset, some sites are having trouble loading the jQuery.cookie.min.js file which in turn causes add to cart for variable products impossible. This plugin fixes that issue by renaming the file being loaded. NOTE: please remove any previous fixes to this that you may have applied.

    Version 1.0 | By Splashing Pixels (Roy Ho) | Visit plugin site
    Select WooCommerce Print Invoice & Delivery Note
    WooCommerce Print Invoice & Delivery Note
    Settings | Deactivate | Edit
    Print Invoices & Delivery Notes for WooCommerce Orders.

    Version 3.1.1 | By Triggvy Gunderson | Visit plugin site
    Select WordPress HTTPS
    WordPress HTTPS
    Deactivate | Edit
    WordPress HTTPS is intended to be an all-in-one solution to using SSL on WordPress sites.

    Version 3.3.6 | By Mike Ems | Visit plugin site | Settings | FAQ | Support | Donate
    Select WordPress Social Login
    WordPress Social Login
    Settings | Deactivate | Edit
    Allow your visitors to comment and login with social networks such as Twitter, Facebook, Google, Yahoo and more.

    Version 2.1.6 | By Miled | Visit plugin site
    Select WP Fastest Cache
    WP Fastest Cache
    Deactivate | Edit
    The simplest and fastest WP Cache system

    Version 0.8.1.2 | By Emre Vona | Visit plugin site
    There is a new version of WP Fastest Cache available. View version 0.8.1.3 details or update now.
    Select YITH WooCommerce Ajax Navigation
    YITH WooCommerce Ajax Navigation
    Deactivate | Edit
    YITH WooCommerce Ajax Navigation allows user to filter products in Shop page without reloading the page.

    Version 1.3.1 | By Your Inspiration Themes | Visit plugin site
    Select YITH Woocommerce Compare
    YITH Woocommerce Compare
    Deactivate | Edit
    YITH Woocommerce Compare allows you to compare more products with woocommerce plugin, through product attributes.

    Version 1.1.2 | By Your Inspiration Themes | Visit plugin site
    =======================================

    which of your pages use ssl (admin only, whole site, etc)?
    >admin pages, also, woocommerce during checkout (I think they give you the option in woocommerce)

    chrome console debug log
    4
    Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi)
    7
    Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: print, not all, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi)
    [BEGIN WordPress HTTPS Debug Log]
    Version: 3.3.6
    HTTP URL: http://mydomain.com/
    HTTPS URL: https://mydomain.com/
    SSL: Yes
    Diff Host: No
    Subdomain: No
    Proxy: No
    Secure External URLs: [ https://secure.gravatar.com/avatar/b3eea71aab2573bdddc7fb472d3b46f8?s=64&am….gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D64&r=G, https://secure.gravatar.com/avatar/b3eea71aab2573bdddc7fb472d3b46f8?s=26&am….gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D26&r=G ]
    Unsecure External URLs: [ ]
    [END WordPress HTTPS Debug Log]
    [BEGIN WordPress HTTPS Debug Log]
    Version: 3.3.6
    HTTP URL: http://mydomain.com/
    HTTPS URL: https://mydomain.com/
    SSL: Yes
    Diff Host: No
    Subdomain: No
    Proxy: No
    Secure External URLs: [ https://secure.gravatar.com/avatar/b3eea71aab2573bdddc7fb472d3b46f8?s=64&am….gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D64&r=G, https://secure.gravatar.com/avatar/b3eea71aab2573bdddc7fb472d3b46f8?s=26&am….gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D26&r=G ]
    Unsecure External URLs: [ ]
    [END WordPress HTTPS Debug Log]
    [BEGIN WordPress HTTPS Debug Log]
    Version: 3.3.6
    HTTP URL: http://mydomain.com/
    HTTPS URL: https://mydomain.om/
    SSL: Yes
    Diff Host: No
    Subdomain: No
    Proxy: No
    Secure External URLs: [ https://secure.gravatar.com/avatar/b3eea71aab2573bdddc7fb472d3b46f8?s=64&am….gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D64&r=G, https://secure.gravatar.com/avatar/b3eea71aab2573bdddc7fb472d3b46f8?s=26&am….gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D26&r=G ]
    Unsecure External URLs: [ ]
    [END WordPress HTTPS Debug Log]

  8. joerandom
    Member
    Posted 11 months ago #

    Hi steventt234

    I had exactly the same problem as you have. After a few hours of debugging I've find out why this great plugin is behaving so strange on my server.

    The cause of my problem was the Mirage 2 function from cloudflare. (Lazy_Load_function).

    Are you using cloudflare Mirage function or any kind of Lazy Load / Caching plugins?

    Regards
    Joe

  9. piffpaffpuff
    Member
    Plugin Author

    Posted 11 months ago #

    Look, there are some unfixed issues with wp_get_attachment_image_src not checking for ssl (this is the function responsible for the logo). of course there are hacks to correct this, but I think it's better to wait and let WordPress fix the issue:

    https://core.trac.wordpress.org/ticket/25172
    https://core.trac.wordpress.org/ticket/15928
    https://core.trac.wordpress.org/ticket/19722

Reply

You must log in to post.

About this Plugin

About this Topic