0

When I go to the Checkout on 2 different devices, I get different console errors.

On a DELL laptop I get the error on domain.com/checkout:

  • $.widget is not a function (dataPost.min.js)
  • Cannot read property of 'timepicker' of undefined

On an ASUS laptop I only get the following error in on domain.com/checkout:

  • Cannot read property of 'timepicker' of undefined

I use the same browser on both laptops. On the DELL laptop the checkout keeps showing the loading icon without any change. On the ASUS laptop the checkout works fine.

I use chrome 60 on both laptops.

I already tried merging, minifying and bundling javascript files.

Kyrylo Romantsov
7312 gold badges14 silver badges35 bronze badges
asked Sep 6, 2017 at 9:09

2 Answers 2

1

Check your script whether you have added any js file manually like For example,

require(['jquery','mage/cookies','domReady!'], function($){

Before adding mage/cookies here, check the head tag(In browser by clicking F12) whether its already there.

Piyush
5,9249 gold badges35 silver badges67 bronze badges
answered Jan 19, 2018 at 6:04
0

Its due to some Javascript Conflict.

Please check whether you manually added any script link or more specific any other 'jquery.js' link.

answered Jan 18, 2018 at 16:37
0

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.