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.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Users browsing this forum: No registered users and 100 guests