Responsive not showing Product Attributes on Mobile

Phoca Cart - complex e-commerce extension
webhandler
Phoca Member
Phoca Member
Posts: 12
Joined: 29 Aug 2016, 03:06

Re: Responsive not showing Product Attributes on Mobile

Post by webhandler »

Jan wrote:Are you able to use some debug tool on your phone (like firebug in firefox)?

If yes, try to disable javascript to see if this is not caused by chosen javascript (which changes the select boxes) :idea:

Jan
Coolio, will have a play with that tomorrow.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Responsive not showing Product Attributes on Mobile

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
webhandler
Phoca Member
Phoca Member
Posts: 12
Joined: 29 Aug 2016, 03:06

Re: Responsive not showing Product Attributes on Mobile

Post by webhandler »

Hi Jan

For good logging:
Downloaded Firefox and setup.
There is no 'disable Javascript' option in the settings for Firefox, open an empty tab, the pathway is:

type about:config in the browser and hit enter.
scroll down to the option javascript.enabled
tap this, and after a second the notice 'true' should change to 'false'

reload. Test.

For me the size selection is now showing. Is this a bug though? because it also stops a bunch of module stuff from working too, and I suppose most people wouldn't want to disable and re-enable javascript just for one site?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Responsive not showing Product Attributes on Mobile

Post by Jan »

Hi, I can test it without javascript, I use web development toolbar, where you can disable it.

The select box is stylized by "chosen" library: https://harvesthq.github.io/chosen/ - when you disable javascript, it means, chosen is not loaded, standard select box is loaded. So the problem seems to be "chosen" library, but what exactly, really hard to say. When you see the examples here:
https://harvesthq.github.io/chosen/ - are you able to see them with your mobile?

Jan
If you find Phoca extensions useful, please support the project
webhandler
Phoca Member
Phoca Member
Posts: 12
Joined: 29 Aug 2016, 03:06

Re: Responsive not showing Product Attributes on Mobile

Post by webhandler »

Sorry for the delay in responding - I have been away.
I can see the selection dropdowns at https://harvesthq.github.io/chosen/
I was wondering if maybe it was the default width causing the issue... the quantity field shows up just fine on my site. I see on the github site the page is really small, almost a desktop, so the fields would maybe have more space to expand into?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Responsive not showing Product Attributes on Mobile

Post by Jan »

Hi, hmmm, maybe there can be some conflict in style (CSS), maybe with another library on that site, I am testing it with different emulators and on my test sites, it is OK so for now I really cannot say what exactly is causing this :idea: :-(

Jan
If you find Phoca extensions useful, please support the project
webhandler
Phoca Member
Phoca Member
Posts: 12
Joined: 29 Aug 2016, 03:06

Re: Responsive not showing Product Attributes on Mobile

Post by webhandler »

Thank you for the response.
Is this JQuery code easy to disable within the library? (code out perhaps?) I had a look and couldn't find anything obvious, but I am just using notepad++ to search.
The Joomla site is a new install, not added any templates to it so a curious conflict. It's happening on all the smartphones I've checked so far though :(
(about 6 or 7).
Do you think it's worthwhile my raising as a possible bug with the JQuery guys?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Responsive not showing Product Attributes on Mobile

Post by Jan »

Hi, you can disable loading of Chosen in Options of Phoca Cart.

Jan
If you find Phoca extensions useful, please support the project
webhandler
Phoca Member
Phoca Member
Posts: 12
Joined: 29 Aug 2016, 03:06

Re: Responsive not showing Product Attributes on Mobile

Post by webhandler »

Thank you for the reply. I have found a workaround now with the RC3 update, using a graphic instead of the drop-down.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Responsive not showing Product Attributes on Mobile

Post by Jan »

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