Login/Registration/Guest Checkout Switcher broken...

  • Posts: 108
  • Thank you received: 0
9 years 10 months ago #187419

-- url of the page with the problem -- : www.gardinie.com/index.php
-- HikaShop version -- : 2.3.5 Business
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.28
-- Browser(s) name and version -- : Safari 8.02
-- Error-message(debug-mod must be tuned on) -- : None sadly.

Hi there,

The site is: www.gardinie.com/index.php [site is hidden behind a index.html]
[still in development]

When you go here:
www.gardinie.com/index.php/shop

find a product, click on it and then add it to the cart,
[ www.gardinie.com/index.php/shop/product/...ss-voyager-briefcase for example]

after adding it to the cart it goes to checkout and there you see: Login/Registration/Guest

sadly CLICKING on Registration or Guest does not work AND there are no JS error messages :(

[if I switch to Protostar, yes Registration/Guest do work] but that doesn't help :(

Any help would be greatly appreciated!
Cheers,

Emmanuel.

P.S.: Gladly give you FTP/Backend access. This is Joomlart Uber template btw.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
9 years 10 months ago #187431

Hi,

This really look like a template issue. There is indeed no javascript errors but the javascript seems to simply not be executed.
I tried to add some alerts on the inputs, but nothing displayed.

Please contact the template provider to have more details.

Please Log in or Create an account to join the conversation.

  • Posts: 108
  • Thank you received: 0
9 years 9 months ago #188801

According to Joomlart this is a Hikashop issue with Bootstrap 3... please read below their response and fix:
and please advise if this is the case and if these code changes will be implemented in Hikashop 2.3.6 so that I can feel safe about implementing them

To my ticket inquiry and a couple of back and forth, I wrote:
Hi there,

I 'seem' to have found where the problem lies even though I am not sure WHY this is happening.
In my attempt to figure out where the problem came from I disabled one by one all of the .js Javascript files running the site -

when I came around to disabling the files in /plugins/system/t3/base-bs3/* - I figured the site would crash since without T3 there is no site but instead the site pulled up /plugins/system/t3/base/* files automatically

, anyways WHEN those sets of javascript files were dynamically pulled into the site, the Login/Registration/Guest buttons started working again...

{but it messed up the menu on the right hand top corner... }

upon further testing, IF I leave the original /plugins/system/t3/base-bs3/* files running but replace:
/plugins/system/t3/base-bs3/bootstrap/js/bootstrap.js and
/plugins/system/t3/base-bs3/bootstrap/js/bootstrap.min.js with the files found under /plugins/system/t3/base/

- the buttons work as expected and no menu in the upper right hand corner issue either.

Another way of saying this, under:
/plugins/system/t3/base/
bootstrap.js and bootstrap.min.js are v2.3.2

/plugins/system/t3/base-bs3/
bootstrap.js and bootstrap.min.js are v3.2.0

and the version under base-bs3 breaks the Login/Registration/Guest functionality of Hikashop.

I do not KNOW what 'other things' are fixed or broken if I were to replace these files permanently so I really don't want to do that plus that seems like a band-aid effect instead of a permanent fix.

I just figured this would help you in your analysis.

============================

Joomlart's response and 'fix':

Look like Hikashop only works fine with Bootstrap 2 at the moment, you can see more detail here www.hikashop.com/forum/shipping-methods/...-button-missing.html

Back to the problem you wrote about, please open file root_folder/components/com_hikashop/views/checkout/tmpl/login.php and look for this code :

echo JHTML::_('hikaselect.radiolist', $values, 'data[register][registration_method]', ' onchange="displayRegistration(this)"', 'value', 'text', $defaultSelection, false, false, true );

then replace with :

echo JHTML::_('select.radiolist', $values, 'data[register][registration_method]', ' onchange="displayRegistration(this)"', 'value', 'text', $defaultSelection, false, false, true );

after that, open file www.gardinie.com/templates/uber/local/cs...ardinie/template.css and add this code to hide radio buttons :

#hikashop_checkout_login_left_part .controls > label {
cursor: pointer;
}
#hikashop_checkout_login_left_part .controls > label > input {
display: none;
}

What is your advice? and is this a Hikashop issue with BootStrap 3 after all?

Cheers,

Emmanuel

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 9 months ago #188802

Hi,

That's right : HikaShop is not compatible with Bootstrap 3 because Joomla itself is not compatible with.
But regarding the modification they recommend you to do ; I don't see the point with bootstrap 3...

When you click on the label ; the linked radio button should be selected : it's not related to bootstrap or else ; it's just the normal fact in HTML. But it looks like there is a special javascript which set an "active" class on the labels and does not select the associated radio.

Yeah, maybe using the "select.radiolist" instead of "hikaserial.radiolist" will solve the issue by displaying the radio elements in the page and let you click on them ; but the fact that clicking on the label does not select the associated input element... Is not normal at all and does not depends on HikaShop behavior.
That's why we add the code to remove javascript which could set special events and change the normal process of the labels.

$(document).ready(function() {
	setTimeout(function(){ $(".hikaradios .btn-group label").off("click"); }, 200);
});

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 108
  • Thank you received: 0
9 years 9 months ago #188862

Salut Jérome,

So which would you recommend as a better solution:

that I follow their coding example or that I do what I discovered which is to:
Leave the original /plugins/system/t3/base-bs3/* folder in place and just replace:
/plugins/system/t3/base-bs3/bootstrap/js/bootstrap.js and
/plugins/system/t3/base-bs3/bootstrap/js/bootstrap.min.js with the files found under /plugins/system/t3/base/

It seems to be the safest in terms of Hikashop and the rest of the site but I'm open to suggestions/recommendations.

Cheers,

Emmanuel.

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 9 months ago #188917

Hi Emmanuel,

I do not understand your message about the t3 stuff.

What can I say ?! Just try the idea of Joomlart and see if it fix the issue.
HikaShop is not compatible with Bootstrap 3 ; so it means that you shouldn't use the bootstrap design when having a template using Bootstrap 3 ; because the bootstrap design is made for Bootstrap 2.
Because HikaShop is not compatible with Bootstrap 3 (yet) ; we can't provide a (real good) support on it.

My opinion is to remove the bootstrap design to fix your radio issues.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 108
  • Thank you received: 0
9 years 3 months ago #211323

Hi there guys,

So it's been 6 months+ now - when will Hikashop 2.x be Bootstrap 3.x compatible..

As the template for Gardinie got upgraded by Joomlart now to Bootstrap v3.3.4 as well as other components including the slideshow - it is breaking more and more things to still be stuck in Bootstrap 2.3.2 --->

Hikashop v2.5.0 isn't to my knowledge.

And Bootstrap v2.3.x was released 07 Feb. 2013... that's 'almost' ancient in Web terms ;) lol

Thanks for the information.
Cheers,

Emmanuel.

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 3 months ago #211324

Hi,

You can be sure that the day when HikaShop will support Bootstrap 3 ; it will be written in the changelog.

Now for your information: www.hikashop.com/forum/product-category-...template.html#210127

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 3
9 years 2 weeks ago #220060

I was experiencing the same problem and found an easy solution to this and wanted to share. I can now use the bootstrap option with the following settings ...

Joomla version: 3.4.5
Hikashop: Business 2.6.0
PHP version: 5.4.45
Template: Purity III w/T3 framework (Customized)

1. Downloaded the JQuery Easy plugin
2. Enable plugin.
3. Go to the plugin > Basic Site Options tab and enable JQuery.
4. Then go the Advanced Site Options tab and where it says "Enable Only in Pages" enter the page where you are experiencing the problem. In my case, it should be *step-1*. All other options on that page should be set to NO, except "Add No Conflict Code" - set to Thru script declaration, and "Fix Document Ready" - Yes.
5. I was also having problems with the shipping/billing address popup before I downloaded JQuery Easy, so I changed my settings to use Bootstrap Popup Mode under Hikashop General Display Options. I don't know if that is necessary though.

The following user(s) said Thank You: Jerome, richarddhill

Please Log in or Create an account to join the conversation.

  • Posts: 22
  • Thank you received: 1
8 years 9 months ago #229246

Hi,

Any of the solutions in this thread which have been suggested are to be avoided. Not that they don't work, but because, they break again as and when there is a Hikashop update.

The recommendations which tackle the JS conflict are the right way to go, with the JQuery Easy solution from jasmithartist as the one that actually works (thanks for this).

However this has its own possible trap, as you need to make sure you add all appropriate paths to the checkout page in your list of conflicts you want JQuery Easy to get rid of. (Great until you suddenly think of a new category and you have forgotten you ever had this problem).

As Bootstrap 4 is now in alpha development, I wonder if there will now be a proper solution for this which prevents the JS conflict and allows us to choose the Bootstrap option without then having to do extra work to get the checkout working. Bootstrap is so much a feature of many templates these days, it's hard to understand why there is not an extra choice in Hikashop which allows you to choose to use the template settings rather than Hikashop's own. Components like K2 already have this option.

Just a well intended suggestion as there is so much to like in Hikashop.

Best wishes


Richard

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
8 years 9 months ago #229263

Hi,

We're working towards that direction.

The following user(s) said Thank You: richarddhill

Please Log in or Create an account to join the conversation.

  • Posts: 22
  • Thank you received: 1
8 years 9 months ago #229377

Great to hear. I look forward to it.

Please Log in or Create an account to join the conversation.

  • Posts: 231
  • Thank you received: 4
  • Hikaserial Standard
8 years 3 weeks ago #254447

Hi,
I have the same issue and have tried jQueryEasy but it has no effect.

I'm using the t3-framework ( www.t3-framework.org/ ) which is using Bootstrap 3.

Using the latest Joomla 3.6.4 and Hikashop 2.6.4.

Does anyone else have this issue? or a solution?

Lee

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
8 years 3 weeks ago #254449

Hi,

The result might be the same but the casue might be different.
Please provide a link and instructions to reproduce the problem so that we can analyze the situation.

Please Log in or Create an account to join the conversation.

  • Posts: 231
  • Thank you received: 4
  • Hikaserial Standard
7 years 11 months ago #256645

Please checkout:

cotswoldlavender.under-development.info/

You will need to add products to the cart and then go to the switcher page.

Lee

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
7 years 11 months ago #256648

Hi,

As far as I can see the problem is with your template javascript.
Remove the text buttons-radio in the file administrator/components/com_hikashop/helpers/joomla30.php and that should circumvent the problem.

Please Log in or Create an account to join the conversation.

Time to create page: 0.100 seconds
Powered by Kunena Forum