Manage cookies that are used for advertising, such as ad personalization, remarketing, and ad effectiveness analysis.
2.14.3.1.4. Icons not displaying in OpenCart
When changing site address in OpenCart, issues can occur with displaying icons loaded from Font Awesome or other font sets. This issue is caused by request blocking from another address by CORS policy. The issue occurs if site is opened using www.example.com domain, while site address is specified as example.com in configuration file.
You can resolve the issue in one of the following ways:
- Change site address to the one that will be used, or replace strings with it with the following:
define('HTTP_SERVER', 'http://' . $_SERVER['SERVER_NAME'] . '/'); define('HTTPS_SERVER', 'https://' . $_SERVER['SERVER_NAME'] . '/'); - Configure redirect. For situation with www or for other cases.