Blank box appears with the loading animation

  • Posts: 12
  • Thank you received: 0
12 years 11 months ago #16051

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.

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

  • Posts: 81504
  • Thank you received: 13062
  • MODERATOR
12 years 11 months ago #16057

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.

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

  • Posts: 12
  • Thank you received: 0
12 years 11 months ago #16067

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.

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

  • Posts: 81504
  • Thank you received: 13062
  • MODERATOR
12 years 11 months ago #16075

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.

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

  • Posts: 12
  • Thank you received: 0
12 years 11 months ago #16077

Thanks nicolas,

Now everything work well.

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

Time to create page: 0.056 seconds
Powered by Kunena Forum