Data Feeds And Https

Hi,

i've created new data feed with products url and products images url but all urls is http and not https like the site, how i can fix it?

I've cs-cart 4.2.4 with Google Export addon.

Thanks

Up...

app/controllers/backend/exim.php

Try to replace

return !empty($image_data) ? $image_pair['detailed']['http_image_path'] : '';

with

return !empty($image_data) ? $image_pair['detailed']['https_image_path'] : '';

(!) Not tested

Hi eComLabs,
thanks for reply but it don't work... the protocol don't change.
I've tryed to change fn_exim_get_detailed_image_url too but the value into csv file for this field becamed is empty (no url)
Into my feed i've Product Url and Detailed image Url

Both the Product URL and the Detailed image URL are showing http?

Yes

Is your admin panel https?

Hi eComLabs,
thanks for reply but it don't work... the protocol don't change.
I've tryed to change fn_exim_get_detailed_image_url too but the value into csv file for this field becamed is empty (no url)
Into my feed i've Product Url and Detailed image Url

In your version protocol is hardcoded and system does not check store-front protocol. Try the following code

return !empty($image_data) ? str_replace('http:', 'https:', $image_pair['detailed']['http_image_path']) : '';