• Hi all,

    I have taken over a WordPress site that had an existing WooCommerce store. I have just turned on https for the /cart and /checkout pages.

    Now, in the cart, the product images no longer show up. Evidently WooCommerce is serving them up as http and they are being excluded?

    How can I fix this? (I have temporarily turned https off for the cart until I can find a fix.)

    The site is santa-elena.org

    As requested, the system status report follows.

    ### WordPress Environment ###
    
    Home URL: https://santa-elena.org
    Site URL: https://santa-elena.org
    WC Version: 2.5.5
    Log Directory Writable: ?
    WP Version: 4.4.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 5.5.9-1ubuntu4.14
    PHP Post Max Size: 100 MB
    PHP Time Limit: 3600
    PHP Max Input Vars: 1000
    SUHOSIN Installed: –
    MySQL Version: 5.6.28
    Max Upload Size: 50 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 2.5.5
    :
    woocommerce_sessions: ?
    woocommerce_api_keys: ?
    woocommerce_attribute_taxonomies: ?
    woocommerce_termmeta: ?
    woocommerce_downloadable_product_permissions: ?
    woocommerce_order_items: ?
    woocommerce_order_itemmeta: ?
    woocommerce_tax_rates: ?
    woocommerce_tax_rate_locations: ?
    
    ### Active Plugins (21) ###
    
    Advanced iFrame: by Michael Dempfle – 7.0.2
    All-in-One Event Calendar Extended Views by Time.ly: by Time.ly Network Inc. – 1.2.0
    All-in-One Event Calendar by Time.ly: by Time.ly Network Inc. – 2.3.12
    cleanSSL: by First 10 Digital – 0.1.3a
    Contact Form 7: by Takayuki Miyoshi – 4.4
    Embed PDF: by Pat Hawks – 1.0.6
    Easy Google Fonts: by Titanium Themes – 1.3.9
    Font Awesome More Icons: by Web Guys – 3.5
    Google Analytics Dashboard for WP: by Alin Marcu – 4.9.2
    Really Simple CAPTCHA: by Takayuki Miyoshi – 1.8.0.1
    Responsive Video Ultimate: by Arnab Kumar Halder – 1.0
    Maintenance Mode: by Muneeb – 2.1
    Simple Page Ordering: by Jake Goldman
    10up – 2.2.4
    
    Slider WD: by WebDorado – 2.1.10
    Style.css Load Last Version: by Mirco Babini  – 1.0.1
    WP Canvas - Shortcodes: by Chris Baldelomar – 1.83
    WooCommerce Pre-Order Messages: by Stephen Sherrard – 1.6.2
    WooCommerce Intuit QBMS Gateway: by WooThemes / SkyVerge – 1.8.0
    WooCommerce: by WooThemes – 2.5.5
    WooThemes Helper: by WooThemes – 1.6.0
    WordPress Website Monitoring: by WP Rocket – 2.0.2
    
    ### Settings ###
    
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    
    ### API ###
    
    API Enabled: ?
    API Version: 3.1.0
    
    ### WC Pages ###
    
    Shop Base: #106 - /shop/
    Cart: #4747 - /cart/
    Checkout: #4748 - /checkout/
    My Account: #4749 - /my-account/
    
    ### Taxonomies ###
    
    Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    ### Theme ###
    
    Name: Santa-elena
    Version: 1.3 with edits for the conference
    Author URL: https://aeimarketing.com/
    Child Theme: ? – If you're modifying WooCommerce on a parent theme you didn't build personally
    then we recommend using a child theme. See: How to create a child theme
    
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –

    https://www.ads-software.com/plugins/woocommerce/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Mike Jolley

    (@mikejolley)

    WooCommerce doesn’t control image URLs, WordPress does. There are some trac tickets about wrong HTTPS/HTTP image handling. The easiest way to resolve I know of is to;

    1. Disable force SSL
    2. Set the home and site urls to HTTPS so the entire site is secured.

    Thread Starter diver8642

    (@diver8642)

    Mike, thanks for the quick assistance. I presently have ^/checkout/ set to use https via the WP Engine hosting interface (I guess it works through modification of .htaccess but don’t really understand it all.) Do I need to turn that off before I set the whole site to use https the way you suggest?

    I’ve seen reference to causing a rewrite loop and though I don’t know what that is exactly, it doesn’t sound good.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    There is a setting to allow non configured page to use HTTPs, is that enabled? (on wpengine)

    Thread Starter diver8642

    (@diver8642)

    On WPEngine, under SSL, one can “secure specific URLS”. That is where https://santa-elena.org/^/checkout/ is set. I can delete that one rule. Then I guess I could set the home and site urls to https. Is that right?

    Thread Starter diver8642

    (@diver8642)

    Oh, wait, I see there is a non-configured pages setting: “Allow visitors to request secure versions of pages even if they are not configured in your certificate settings below.” It is presently set to Force non-SSL configured pages to use http. Should I set it to Allow non-SSL configured pages to use https ?

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Yeah do that, then try accessing your homepage over HTTPS. If it works, it should be safe to switch home and site URLs. If in doubt, contact WPE.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘getting broken img links in cart (https)’ is closed to new replies.