Mini cart on top of page

GK User
Sat Sep 19, 2015 8:50 pm
Please help me with the problem.When I turn on the joomla simple adresses the mini-cart on top of page hangs in the state LOADING....
http://fitshirt.pl/
The template is the newest version 3.18
Any suggestions? Hosting is home.pl what means Idea Web server.
User avatar
Fresh Boarder

GK User
Tue Sep 22, 2015 7:50 am
As I understand simple adresses are not enabled now?
Please send me a PM with:
1. URL to your website
2. login and password of user with admin/super-admin privileges (please create one for me)
3. ftp data (host, user, password)
4. link to this thread

Also please write in short how to enable this functionality (is it SEF in Joomla Configuration?)
User avatar
Moderator

GK User
Wed Sep 23, 2015 6:02 am
Witam,
Czy udało się znaleźć przyczynę? Z tego co widzę to ogólnie koszyk nie działa po włączeniu prostych adresów....
User avatar
Fresh Boarder

GK User
Sat Sep 26, 2015 12:12 pm
I was able to fix that issue by editing:
/templates/gk_storefront/js/gk.sctripts.js file
and changing:
Code: Select all
               jQuery.ajax({
                   url: $GK_URL + 'index.php?tmpl=json',
                    success: function(data,textStatus) {
                       jQuery('#gkCartCounter').html(data);
                   }
               });

to:
Code: Select all
               jQuery.ajax({
                   url: $GK_URL + '?tmpl=json',
                    success: function(data,textStatus) {
                       jQuery('#gkCartCounter').html(data);
                   }
               });
User avatar
Moderator

GK User
Sat Sep 26, 2015 12:16 pm
Ps, also this part:
Code: Select all
               jQuery.ajax({
                   url: $GK_URL + 'index.php?tmpl=cart',
                   beforeSend: function() {
                       btn.addClass('loading');
                       wait = true;
                   },

needs to be replaced with:
Code: Select all
               jQuery.ajax({
                   url: $GK_URL + '?tmpl=cart',
                   beforeSend: function() {
                       btn.addClass('loading');
                       wait = true;
                   },
User avatar
Moderator

GK User
Sun Sep 27, 2015 7:17 pm
Great. Thank you a lot !!
User avatar
Fresh Boarder

GK User
Mon Sep 28, 2015 8:40 pm
Is there anything else I can help you with regarding this topic?
User avatar
Moderator

GK User
Wed Sep 30, 2015 6:14 am
At the moment this topic is solved.
User avatar
Fresh Boarder

GK User
Thu Oct 01, 2015 7:36 pm
Ok.
Feel free to post new forum threads if you have any other questions.
User avatar
Moderator


cron