Issue When Adding Item To Cart

Hello,

I have an issue when I add an item to the cart it keep showing a spinning wheel and I can't click on anything. When I refresh the page I find out that the item is added to the cart.

Please check the screenshot attached.

I deleted the cache folder but no luck.

Any idea what is the reason for this?

My website is www.awtari.net

Capture.PNG

js/tygh/product_image_gallery.js

this file on your server contains the following line of code:

direction: rtl,

default code is

direction: _.language_direction,

It causes the issue

js/tygh/product_image_gallery.js

this file on your server contains the following line of code:

direction: rtl,

default code is

direction: _.language_direction,

It causes the issue

Many many many many thanks for your help :)

Issue resolved. but I remember I did this when I read somewhere in the forums that this will resolve an issue I have - which is - In English Language, the items scroller in main page shows the items normally when I scroll right or left but if I switch it to Arabic, it shows only the first product. If i click on the arrow to see the second product it doesn't show anything.

Can you check this as well ?

Try to use

direction: 'rtl',

Try to use

direction: 'rtl',

No luck :(

It should works since this parameter can have only two values

$this->assign('language_direction', fn_is_rtl_language($lang_code)? 'rtl': 'ltr');

It should works since this parameter can have only two values

$this->assign('language_direction', fn_is_rtl_language($lang_code)? 'rtl': 'ltr');

I renamed cache folder, cleared generated thumbnail, but it didn't work on Arabic Language.

The attached screenshot shows the issue. The image on the left is the first image before scrolling. The one on the right side is what I see if I click on the arrow to see the next product.

If the language is English, it works perfectly!

Capture.JPG

Try to contact support team with this issue