Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Make the 'Continue Shopping' button flash a few times

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 08-03-2012, 04:59 PM
  Mish's Avatar 
Mish Mish is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 92
 

Default Make the 'Continue Shopping' button flash a few times

Hi all,

I redirect to my cart whenever a customer adds an item. I was worried they may not see / may take a while finding the Continue Shopping Button.

I've made it flash 3 times when the page comes up in order to draw attention to it.

I use X-Cart Gold 4.4.5

In /skin/common_files/customer open cart.php (please note that this directory may differ for other people - perhaps someone else can clarify?)

Scroll to the very end of the file, and you should see the following lines.

Code:
func_display('customer/home.tpl', $smarty); ?>

Change it to:

Code:
func_display('customer/home.tpl', $smarty); ?> <script> if ($('.checkout-1-button').length == 1) { $('.checkout-1-button').fadeOut().fadeIn().fadeOut().fadeIn().fadeOut().fadeIn(); } </script>
__________________
X-Cart Gold 4.6.1
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:24 PM.

   

 
X-Cart forums © 2001-2020