- Posts: 105
- Thank you received: 9
Carousel - items displayed on top of each other
11 years 5 months ago - 11 years 5 months ago #202890
by mduda
Carousel - items displayed on top of each other was created by mduda
-- 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.
-- 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: 11 years 5 months ago by mduda.
Please Log in or Create an account to join the conversation.
11 years 5 months ago #202901
by Xavier
Replied by Xavier on topic Carousel - items displayed on top of each other
Hi,
Please edit the file "components/com_hikashop/views/checkout/view.html.php" and replace:
By:
This modification will be present in the next release so no problems when you will have to update.
Please edit the file "components/com_hikashop/views/checkout/view.html.php" and replace:
Code:
function displayRegistration(el)
{
var value = el.value,
Code:
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.
11 years 5 months ago #202985
by mduda
Replied by mduda on topic Carousel - items displayed on top of each other
Perfect!!! Thank you for the quick response and solution
Please Log in or Create an account to join the conversation.
Time to create page: 0.067 seconds