Post by straightlight » Tue Oct 03, 2017 3:02 am

It isn't quite ideal to bring customers to shop on an online store where the console.log command is still outputting values through the browser's console especially on a production network.

Followed are all the files that may require disabling these outputs.

In the following files:

Code: Select all

admin/view/template/design/theme.twig
admin/view/template/extension/openbay/amazonus_item_links.twig
admin/view/template/extension/openbay/amazon_item_links.twig
catalog/view/theme/default/template/extension/module/pp_braintree_button.twig
catalog/view/theme/default/template/extension/payment/cheque.twig
catalog/view/theme/default/template/extension/payment/klarna_checkout_sidebar.twig
catalog/view/theme/default/template/extension/payment/pp_braintree.twig
find all instances of:

Code: Select all

console.log
replace, each, with:

Code: Select all

//console.log
This should resolved the problem.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com contractor officials representative


Legendary Member
Online

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 4 guests