Ssl, Not Green, Cs-Cart Link

Hello,



Have struggled quite a bit to turn the yellow triangle to green but couldn’t succeed. still there is message that says; “…However, this page includes other resources which are not secure… “





I checked my page’s source code and found this;

[font=monospace][size=1]

[/size][/font][color=#000000][font=monospace][size=1]© 2015 MST SOLUTIONS Oy.  a [/size][/font][/color][font=monospace][size=1]<a class=“bottom-copyright” href=“https://www.cs-cart.com” target=”_blank”>[/size][/font][color=#000000][font=monospace][size=1]_copyright_shopping_cart[/size][/font][/color][font=monospace][size=1][/size][/font]



how can i change cs-cart’s link or is it possible to completely take it away.



btw, I deleted “_copyright_shopping_cart” from Administration/languages/translations/



I was thinking that maybe the link would be deleted completely; however, it turned worse. Now it is seen as it is (“_copyright_shopping_cart”) at the bottom of the page and i cannot anymore edit it; cant find it on search or edit it on on-site live editing.

How may i restore this language variable?



Kind Regards,

Serif

Check here

I have tried it; however, as i deleted the variable it says “No data found” when i search for “copyright_shopping_cart”. How could i bring this back? because only the variable name show on the bottom and i cannot over write it. You may see it in attached jpg image.



And what do you think about cs-cart's website link it is https://www.cs-cart.com , seen at the page source code. this, I believe is the reason why my website is seen partially insecure. how may i change this to https:// or completely delete it?



Thank you in advance.

copyright.jpg

Just create a new language variable with the copyright_shopping_cart name and empty value

Johnbol1 and eComLabs,



Thank you very much for your replies!!! I created a new variable as you suggested and now it is fine.



But please also advice me on how to change this https://www.cs-cart.com link in my page's source code. Otherwise i keep getting this SSL error:)



Kind Regards,

Serif

In the config.php file please change the following string:



'product_url' => 'https://www.cs-cart.com',

A good resource…

[quote]how can i change cs-cart's link or is it possible to completely take it away.[/quote]


  1. to change this url, you should modify this code line in file “config.php”:

'product_url' => 'https://www.cs-cart.com',



1.1 if all store front pages are in HTTPS, this pattern would work:

'product_url' => 'https://MYSITE.COM',



1.2 if not all store front pages are in HTTPS, this pattern would work:

'product_url' => '//MYSITE.COM',

p.s. "//" means relative protocol



2. to remove this part, you should update file “design\themes\THEME\templates\blocks\static_templates\copyright.tpl” and remove this part:


{__("copyright_shopping_cart", ["[product]" => $smarty.const.PRODUCT_NAME])}

Or you could do:


'product_url' => 'http'.((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on')?'s':'').'://MYSITE.COM',


Which will yield the proper protocol based on the connection.

[quote name='tbirnseth' timestamp='1427263823' post='208946']

Or you could do:


'product_url' => 'http'.((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on')?'s':'').'://MYSITE.COM',


Which will yield the proper protocol based on the connection.

[/quote]



Are you sure that these config parameters are not cached?

I'd assumed the merchant would clear the cache after making any changes of this type. It's more than the product_url that should be adjusted. Anything that uses a hard-coded protocol specification (I.e. http) should be addressed dynamically. I'm actually quite surprised to see this code. Cs-cart is usually better than that at dealing with protocol issues.



When I posted the above I hadn't looked at the code. I wasn't sure if 'HTTPS' was defined yet or not. So I would use the following instead:


'product_url' => 'http'.(defined('HTTPS')?'s':'').'://MYSITE.COM',




To address the whole section I would do:


// external resources, related to product
$proto = defined('HTTPS') ? 'https:' : 'http:';
$config['resources'] = array(
'knowledge_base' => "$proto//kb.cs-cart.com/installation",
'updates_server' => "$proto//updates.cs-cart.com",
'twitter' => 'cscart',
'feedback_api' => "$proto//www.cs-cart.com/index.php?dispatch=feedback",
'product_url' => "$proto//www.cs-cart.com",
'helpdesk_url' => "$proto//www.cs-cart.com/helpdesk",
'license_url' => "$proto//www.cs-cart.com/licenses.html",
'marketplace_url' =>"$proto//marketplace.cs-cart.com",
'admin_protection_url' =>"$proto//kb.cs-cart.com/adminarea-protection",
'widget_mode_url' => "$proto//kb.cs-cart.com/widget-mode",
//'demo_store_url' => "$proto//demo.cs-cart.com/" . strtolower(PRODUCT_EDITION) . '/'
);


Note: in addition to using $proto, single quotes were changed to double quotes.



Also note that I believe permanent https will be part of 4.3 so this may all just be a temporary exercise.

Hello,



Thank you very much for your replies!!! I solved my problem.

[color=#000000][font=latomed, Arial, Helvetica, sans-serif]The warning on my page was saying that the site page contains some non-secure objects, it was the image taken from a remote site: [/font][/color][url=“http://patterns.cart-services.com/images/4.png”]http://patterns.cart-services.com/images/4.png[/url]



i changed the http:// to https://



Kind Regards,

Serif

Where do you find that image at? Which file to edit.



I just noticed that during checkout, it shows the insecure page because of that file.



http://patterns.cart…om/images/4.png'



***********************



It was Responsive Theme Brightness that was using it. I changed theme and it went away.

The theme is fixed in 4.3.1.