Carousel - items displayed on top of each other

  • Posts: 105
  • Thank you received: 9
8 years 10 months ago #202890

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.41
-- PHP version -- : 5.4.38
-- Browser(s) name and version -- : Firefox

I enabled a carousel module on the registration page of the checkout. Registration has 1) Login and 2) Guest. Checkout is broken into three parts, 1) Login/Registration, 2) Cart, and 3) Payment. The carousel works fine on the cart and payment screens. On the Login/Registration, all items are displayed at once- on top of each other, with no movement.

No problem occurs when I have the all-in-one page enabled. The issue is when I have the "switcher" enabled. Assuming that there is a JS issue that's causing the issue.

Ideally - I'd like to be able to only have this module appear on part 2 of the checkout (Cart). However, I'm not sure how to do this. Any guidance would be appreciated.

Last edit: 8 years 10 months ago by mduda.

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

  • Posts: 13201
  • Thank you received: 2322
8 years 10 months ago #202901

Hi,

Please edit the file "components/com_hikashop/views/checkout/view.html.php" and replace:

function displayRegistration(el)
{
	var value = el.value,
By:
function displayRegistration(el)
{
	if(!el) return;
	var value = el.value,

This modification will be present in the next release so no problems when you will have to update.

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

  • Posts: 105
  • Thank you received: 9
8 years 10 months ago #202985

Perfect!!! Thank you for the quick response and solution :cheer:

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

Time to create page: 0.057 seconds
Powered by Kunena Forum