cart > facebook...

Commercial shopping Joomla template to easy create webshop with various extensions supported like ViruteMart, K2 and K2Store.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Aug 07, 2014 4:52 pm
Reply with quote
Report this post
hello every body
today when check the gavick post of others one i have find one website use storebox template
and i like it and i have see the icon cart changed to Facebook and you push this one you connect to facebook website directly not
cart
can you tell me how to do this one i have tray and do only the background change color of cart with facebook 'se the attached picture)
but dont know how code change or add when push or enter this icon you open new page for facebook
wait yoru response
best greetings
User avatar
Senior Boarder

GK User
Sat Aug 09, 2014 8:46 pm
Reply with quote
Report this post
no response ?
User avatar
Senior Boarder

GK User
Fri Aug 15, 2014 11:06 am
Reply with quote
Report this post
hello
i am sad ? more one week and no response i dont know ?
User avatar
Senior Boarder

GK User
Fri Aug 15, 2014 9:01 pm
Reply with quote
Report this post
It looks like your response bump your post and we missed in unanswered link. Please try to open gk.script.js file an find this lines :

Code: Select all
btn.click(function(e) {
              e.preventDefault();
              e.stopPropagation();
              popup_overlay.css('height', jQuery('body').outerHeight());
                     
              popup_overlay.css({'opacity' : 0.45});
              popup_overlay.fadeIn('fast');
             
              opened_popup = 'cart';
             
              if(!wait) {
                   jQuery.ajax({
                           url: $GK_URL + 'index.php?tmpl=cart',
                           beforeSend: function() {
                                   btn.addClass('loading');
                                   wait = true;
                           },
                           complete: function() {
                                   var timer = (function() {
                                           if(!wait_for_results) {
                                                  
                                                  
                                                   wait_for_results = true;
                                                   wait = false;
                                                   clearInterval(timer);
                                                  
                                           }
                                   });
                           },
                           success: function(data) {
                                   jQuery('#gkAjaxCart').html(data);
                                   popup_cart.css('display', 'block');
                                   popup_cart.css('display', 'block');
                                                                                                    
                                   popup_cart.animate({'opacity':1, 'margin-top':0},200, 'swing');
                                   popup_cart.addClass('gk3Danim');
                                   btn.removeClass('loading');
                                   //popup_cart.css('opacity', 0).css('margin-top', '-50px');
                                   wait_for_results = false;
                                   wait = false;
                           }
                   });
              }


then replace it with :

Code: Select all
btn.click(function(e) {
              e.preventDefault();
              e.stopPropagation();
               window.location.href='www.facebook.com/yourlink';
                   });
              }
User avatar
Platinum Boarder


cron