Phoca Cart » User Account Layout

Phoca Cart - complex e-commerce extension
cb03
Phoca Member
Phoca Member
Posts: 43
Joined: 08 Oct 2017, 14:31

Phoca Cart » User Account Layout

Post by cb03 »

Hi, I have a problem when I go to the cart or the user account, the fields names disappear when the mouse go over them.

I am using gantry hydrogen for my template, you can see a video there : https://photos.app.goo.gl/xErbuiB0SByGYv843

Does anyone have an idea to help me ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart » User Account Layout

Post by Jan »

Hi, is the Mootools library loaded on that site? Mostly this can happen when Bootstrap/jQuery is in conflict with Mootools :idea:

Jan
If you find Phoca extensions useful, please support the project
cb03
Phoca Member
Phoca Member
Posts: 43
Joined: 08 Oct 2017, 14:31

Re: Phoca Cart » User Account Layout

Post by cb03 »

Hi, yes Mootools library is loaded
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart » User Account Layout

Post by Jan »

So this seems to be the conflict there.

There are different techniques how to prevent from this conflict, see example (this prevents from missing the top menu items):

Code: Select all

if (typeof MooTools != 'undefined') {
    var mHide = Element.prototype.hide;
    Element.implement({
        hide: function() {
                if (this.hasClass("dropdown")) {
                    return this;
                }
				if (this.hasClass("hasTooltip")) {
                    return this;
                }
                mHide.apply(this, arguments);
            }
    });
}
But of course the best method is to not load the mootools (if this is possible)

Jan
If you find Phoca extensions useful, please support the project
Post Reply