Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Author « Topic »  

Jan Andrea
Advanced Member

USA
468 Posts

Pre-sales questions only
(More Details...)

Posted - 05/29/2019 :  21:36:02  
This is definitely a me problem and not an ECT problem, but I'd appreciate a hand if possible

I resigned my site using Bootstrap. On all the pages except the proddetail.php page, the navigation works. On that page, though, it just... doesn't. I can't figure out why! Usually it's a shared name for a variable or whatever, but that doesn't seem to be the case. It's very bad on mobile because the bacon drop-down is entirely Bootstrap-based, so there's no top nav in mobile. (I also need to fix the hamburger menu so that it shows up against the nav bar, but that's a separate issue.) Any ideas why this might be happening? Here's a sample URL:

https://www.sleepingbaby.net/proddetail.php?prod=avlinen

I have other stuff still to fix as well, but this seems the most pressing.

TIA! (Also, I am in 7.1 but haven't updated my signature line as I write this.)

http://www.sleepingbaby.net/
Using ECT 7.0.3

quadrant
Ecommerce Template Guru

United Kingdom
1100 Posts

Posted - 05/29/2019 :  23:41:15  
Hi Jan,

Looking at your your proddetail.php link I am seeing TypeError: element.dispatchEvent is not a function

This is to do with js/prototype.js which is not on your home page for example where your menu works.

It's possibly a conflict between jQuery and Protoype.

As a test try removing js/prototype.js from your proddetail page and see if your menu works.

Regards,
David

quadrant
Ecommerce Template Guru

United Kingdom
1100 Posts

Posted - 05/29/2019 :  23:49:23  
Hi,

It also looks like you are loading jQuery twice on proddetail.php

ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js
/assets/js/jquery.min.js

Regards,
David

Edited by - quadrant on 05/29/2019 23:49:49

Jan Andrea
Advanced Member

USA
468 Posts

Pre-sales questions only
(More Details...)

Posted - 05/30/2019 :  09:54:37  
That did the trick! Thank you!

http://www.sleepingbaby.net/
Using ECT 7.1.0

quadrant
Ecommerce Template Guru

United Kingdom
1100 Posts

Posted - 05/30/2019 :  11:48:38  
Your welcome.

Regards,
David
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000