You have no items in your shopping cart.

Saturday, April 27, 2024 5:59:23 AM

Bugs

Posted: 6 years ago

#6513 Quote

Support

Posted: 6 years ago

#6513 Quote
Topic for reporting any problems and bugs.

IMPORTANT NOTE: There is a known issues with installing new plugins in nopCommerce.
Please read this post for more information.

Posted: 6 years ago

#6786 Quote

michaelm@gogbs.com

Posted: 6 years ago

#6786 Quote
Enable/Disable the CDN URL for Font files.

The Plugin works great for CSS, JS and image files.

But it also replaces the urls for .woff, .woff2 and .ttf.  This causes a CORS policy error.

Sending you a screenshot.



Posted: 6 years ago

#6787 Quote

Support

Posted: 6 years ago

#6787 Quote
Thank you. I'll check it.

Posted: 6 years ago

#6788 Quote

Support

Posted: 6 years ago

#6788 Quote
Enable CORS on IIS.

https://enable-cors.org/server_iis7.html

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
   <httpProtocol>
     <customHeaders>
       <add name="Access-Control-Allow-Origin" value="*" />
     </customHeaders>
   </httpProtocol>
</system.webServer>
</configuration>


You can use CDN for fonts too.

Posted: 6 years ago

#6789 Quote

michaelm@gogbs.com

Posted: 6 years ago

#6789 Quote
Yeah, that's one solution to enable the Access-Control-Allow-Origin.

May be have a feature to Enable/Disable a URL for Font Files?

Posted: 6 years ago

#6790 Quote

Support

Posted: 6 years ago

#6790 Quote
Ok. I'll add this parameter.

Posted: 6 years ago

#6791 Quote

Support

Posted: 6 years ago

#6791 Quote
I'll add this parameter after one week.

Posted: 6 years ago

#6798 Quote

Support

Posted: 6 years ago

#6798 Quote
I read documentation again.
https://www.maxcdn.com/one/tutorial/how-to-use-cdn-with-webfonts/

Plugin ill save CSS file on CDN.
This CSS file has such code

@font-face { 
  font-family: 'Web font';       /* название одно */
  src: url('webfont8321.woff2'); /* разные файлы */
  font-weight: 400;              /* разная плотность */
  font-style: normal;
}


If you follow recommendation from the first link you will not see any error message.

Or did you want to change this line?
src: url('webfont8321.woff2');

I can't change the body of CSS file.
Did I understand you correctly?

Posted: 6 years ago

#6802 Quote

michaelm@gogbs.com

Posted: 6 years ago

#6802 Quote
OKay.  Thanks.

I'll try the web.config update.

Posted: 6 years ago

#6805 Quote

michaelm@gogbs.com

Posted: 6 years ago

#6805 Quote
The web.config change works.

Powered by nopCommerce

Copyright © 2023 FoxNetSoft. All rights reserved