Hello
For some reason the add to cart notification doesn’t work anymore on my site
I don’t understand why since it is working on computer..
Here is my test site: http://www.dor-balkans.com/OpenCart
I noticed also that jquery UI is loaded but not so much used.. Is it just for the accordeon on Add coupon and vouchers ?
I’m thinking on remove it to speed up loading…
Thanks for your help…
|
|
Hi,
We see that you do not load some of the notification styles:
/catalog/view/theme/shoppica2/javascript/noty/css/jquery.noty.css
and have converted:
catalog/view/theme/shoppica2/javascript/common.js.php
to a regular .js file.
Unfortunately, there is some advanced device detection that is passed to the javascript, which in your case does not work and this is the reason, you don’t see the notifications on small screens.
We saw however, that you redirect the user directly to the shopping cart, so in your case messages could be hidden.
BR,
ThemeBurn team
|
|
Hello thanks for your answer.. i try to optimize the loading time..
well the javascript redirection doesn’t work on mobile device for some reason… if you have a redirection code that work on mobile tell me !
thanks again !
|
|
I used
window.location=’/index.php?route=checkout/cart’;
in the function addToCart(product_id) {
of shoppica2/javascriptcommon.js.php
any idea
|
|
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
|
|