Post by 1slam » Sat Feb 08, 2020 10:37 pm

Hello

suddenly some buttons on my OC shop stopped working, when anyone tries to add a product to cart, the add button doesn't do any action and shows an error in the console log

Code: Select all

(index):512 Uncaught TypeError: $ is not a function
    at HTMLAnchorElement.onclick ((index):512)
   
and

Code: Select all

Uncaught ReferenceError: jQuery is not defined
    at Object.2../countdown.js
    
and the "compare" and the "add to wish list" buttons shows an error

Code: Select all

"Uncaught TypeError: Cannot read property 'add' of undefined
    at HTMLAnchorElement.onclick "
    
could anyone help me with this issue? i searched everywhere and i couldn't solve it

here's the website: https://nawaem-est.com/

if you need to look at any file/code, please let me know and i will show it to you immediately.

i couldn't sell a single product for 2 days now and that's a huge lost which i can't afford, so i will be so grateful for anyone helps me.

best regards and thank you in advance.

Attachments

Screenshot (72).png

Screenshot (72).png (135.47 KiB) Viewed 1688 times

Screenshot (70).png

Screenshot (70).png (379.65 KiB) Viewed 1688 times

Screenshot (69).png

Screenshot (69).png (314.55 KiB) Viewed 1688 times

Last edited by straightlight on Mon Feb 10, 2020 9:31 pm, edited 1 time in total.
Reason: Added code tags.

Newbie

Posts

Joined
Sat Feb 08, 2020 10:06 pm

Post by JNeuhoff » Sat Feb 08, 2020 11:48 pm

You got these errors:

SyntaxError: unexpected token: keyword 'var' 3bdf6f6ab9193c8b9165fc11f9926fa3.js:59:51
ReferenceError: jQuery is not defined 66d928e554d32629cc6df4df5e02de74.js:31:3499
TypeError: $ is not a function nawaem-est.com:1:17

These issues are most likely caused by the Journal3 "theme" , see this forum thread on why this is a poor choice.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by kestas » Sat Feb 08, 2020 11:52 pm

1slam wrote:
Sat Feb 08, 2020 10:37 pm
Hello

suddenly some buttons on my OC shop stopped working, when anyone tries to add a product to cart, the add button doesn't do any action and shows an
Have you tried with default OC theme? If working with default, the issue is your theme.

Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here


Active Member

Posts

Joined
Tue Oct 12, 2010 2:23 am

Post by opencartmart » Sun Feb 09, 2020 12:12 am

First, try without minimizing js files
If it does not fix, disable the module you use for the countdown

XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart


Active Member

Posts

Joined
Wed Oct 02, 2013 3:59 am

Post by letxobnav » Sun Feb 09, 2020 2:59 am

those are journal minified js files.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by paulfeakins » Mon Feb 10, 2020 7:43 pm

JNeuhoff wrote:
Sat Feb 08, 2020 11:48 pm
These issues are most likely caused by the Journal3 "theme" , see this forum thread on why this is a poor choice.
It is a poor choice indeed, but is one of the best looking sadly.

JNeuhoff wrote:
Sat Feb 08, 2020 11:48 pm
SyntaxError: unexpected token: keyword 'var' 3bdf6f6ab9193c8b9165fc11f9926fa3.js:59:51
ReferenceError: jQuery is not defined 66d928e554d32629cc6df4df5e02de74.js:31:3499
TypeError: $ is not a function nawaem-est.com:1:17
Possibly a JQuery conflict, it may be fixable with https://api.jquery.com/jquery.noconflict/ but if you're not a developer, probably find one to fix it for you from the Commercial Support Forum.

Or consider another theme such as ours which is CSS *ONLY* and will therefore always work:
https://www.opencart.com/index.php?rout ... n_id=36706

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by JNeuhoff » Mon Feb 10, 2020 9:19 pm

It is a poor choice indeed, but is one of the best looking sadly.
That's a matter of taste. I find most of the Journal skins plain ugly, too bloated and confusing on the frontend look.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: No registered users and 5 guests