- Posts: 12
- Thank you received: 0
Blank box appears with the loading animation
15 years 4 months ago #16051
by Galassi
Blank box appears with the loading animation was created by Galassi
Hi,
I created a module mod_hikashop and I published it on the homepage; "add to cart"
button is active.
Entering the first product in the cart, everything seem to works fine: a box appears
with the buttons "contunue shopping / proceed to checkout".
Entering the second product in the cart, a blank box appears with the loading animation,
and remains permanently active until it is closed by selecting the X button.
No "contunue shopping / proceed to checkout" button appear; but the product is effectly
added in the cart.
I looked at the demo site, the "featured products module" published on the homepage, it
works properly as I want for my site.
Is a configuration problem or a template conflict?
Another question: if I upgrade hikashop to a major release, the customizations in
"Dislpay -> Views" will be deleted?
Thanks in advance,
Alessandro.
I created a module mod_hikashop and I published it on the homepage; "add to cart"
button is active.
Entering the first product in the cart, everything seem to works fine: a box appears
with the buttons "contunue shopping / proceed to checkout".
Entering the second product in the cart, a blank box appears with the loading animation,
and remains permanently active until it is closed by selecting the X button.
No "contunue shopping / proceed to checkout" button appear; but the product is effectly
added in the cart.
I looked at the demo site, the "featured products module" published on the homepage, it
works properly as I want for my site.
Is a configuration problem or a template conflict?
Another question: if I upgrade hikashop to a major release, the customizations in
"Dislpay -> Views" will be deleted?
Thanks in advance,
Alessandro.
Please Log in or Create an account to join the conversation.
15 years 4 months ago #16057
by nicolas
Replied by nicolas on topic Re: Blank box appears with the loading animation
Hi,
No one reported such issue so far. It must be a conflict with something else on your website. Could you give the URL of your website so that we can see the problem ?
The modifications you make in Display->Views are saved in your template as overrides. You won't loose them when you update HikaShop.
No one reported such issue so far. It must be a conflict with something else on your website. Could you give the URL of your website so that we can see the problem ?
The modifications you make in Display->Views are saved in your template as overrides. You won't loose them when you update HikaShop.
Please Log in or Create an account to join the conversation.
15 years 4 months ago #16067
by Galassi
Replied by Galassi on topic Re: Blank box appears with the loading animation
Hi nicolas,
www.doroedargento.it
If you click on POptical (last link in the right culumn) everything work
well.
Only in homepage the problem occours.
www.doroedargento.it
If you click on POptical (last link in the right culumn) everything work
well.
Only in homepage the problem occours.
Please Log in or Create an account to join the conversation.
15 years 4 months ago #16075
by nicolas
Replied by nicolas on topic Re: Blank box appears with the loading animation
It seems that on your template, the cart module is loaded BEFORE the main content area, which shouldn't be the case normally. There is actually a patch which should go in next version of joomla which fixes that issue.
What you can try is to go in the file administrator/components/com_hikashop/helpers/cart.php and in the function getJS (near the end) change the line:
$first = false;
to:
$first = !$needNotice;
Then, in the file components/com_hikashop/views/product/view.html.php, in the function cart, change the line:
$cart->getJS($url);
to:
$cart->getJS($url,false);
and then try again.
What you can try is to go in the file administrator/components/com_hikashop/helpers/cart.php and in the function getJS (near the end) change the line:
$first = false;
to:
$first = !$needNotice;
Then, in the file components/com_hikashop/views/product/view.html.php, in the function cart, change the line:
$cart->getJS($url);
to:
$cart->getJS($url,false);
and then try again.
Please Log in or Create an account to join the conversation.
15 years 4 months ago #16077
by Galassi
Replied by Galassi on topic Re: Blank box appears with the loading animation
Thanks nicolas,
Now everything work well.
Now everything work well.
Please Log in or Create an account to join the conversation.
Time to create page: 0.283 seconds