Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

CDN – WooCommerce Archive Pages Issue

Home / Forums / Pinnacle Theme / CDN – WooCommerce Archive Pages Issue

This topic is: Resolved
[Resolved]
Posted in: Pinnacle Theme
August 18, 2017 at 6:23 pm

I am not sure how long this has been an issue. I know at one time this was working properly but it’s not something I would check often!

I noticed today that the thumbnails loading on the archive pages for Woocommerce are not using the CDN path. Instead of http:// or https:// they are using // – from what I can find that’s an issue with CDN’s?

I haven’t changed plugins but the plugin I’m using for my CDN is “CDN Enabler”.

It is working on the actual product pages. The images on those pages is coming from https://cdn…

I found a bug that was reported on woocommerce in the past that seems to be connected to this, that Woocommerce assets use // instead of the full path. There was an override that was created to fix this issue but adding it to my child functions hasn’t worked which is either down to user error or possibly because Pinnacle has its own image function that I’m missing in all this?

This is the filter I was using that accomplished nothing: woocommerce_get_asset_url

You can see this problem in action on the following archive page (or any of the other archive pages for my site).

Would really appreciate any push in the right direction to resolve this as I’d like to serve the rest of these image files from my CDN rather than my server.

Thanks!

Mark

PS I tried using the main theme to make sure this problem was not from my child theme and I had the same issue either way.

  • The forum ‘Pinnacle Theme’ is closed to new topics and replies.