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

X-Cart popup messages

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #21  
Old 01-14-2012, 12:01 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: X-Cart popup messages

I have not checked with this new template so I can only assume it will work, after all it does change only default XC behaviour which still exists with the template.

If you have the ajax minicart off the add to cart message will not show - there is nothing to trigger it. The messages that replace XC default upper right corner messages will still work
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
elmirage001 (01-14-2012)
  #22  
Old 01-14-2012, 12:29 PM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,964
 

Default Re: X-Cart popup messages

Quote:
Originally Posted by cflsystems
I have not checked with this new template so I can only assume it will work, after all it does change only default XC behaviour which still exists with the template.

If you have the ajax minicart off the add to cart message will not show - there is nothing to trigger it. The messages that replace XC default upper right corner messages will still work
That's what I thought... I've not been using the ajax as my store features unique one of a kind items and the 'add to cart' button does not always change to 'out of stock' when items are added to the cart.
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template v4.7.12.9 | Always The Best
Reply With Quote
  #23  
Old 01-17-2012, 12:15 PM
 
candc candc is offline
 

eXpert
  
Join Date: Jul 2009
Location: UK
Posts: 292
 

Default Re: X-Cart popup messages

It works fine unless you are using the the "header drop down" basket option.
__________________
Ver 4.4.4 Gold
Ability
BCSE Pre Order
BCSE Global Product Options
BCSE Stock Notify
CDSEO Pro
MM OPC - Gave up with it
Altered Cart OPC
XMobile
Powered by EWD

Ver 4.4.4 Gold
Ability
BCSE Pre Order
BCSE Global Product Options
BCSE Stock Notify
CDSEO Pro
Altered Cart OPC
XMobile
Powered by EWD
Reply With Quote

The following user thanks candc for this useful post:
elmirage001 (01-17-2012)
  #24  
Old 01-17-2012, 03:25 PM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,964
 

Default Re: X-Cart popup messages

Hi Steve,

I purchased your mod and have a question. Does the popup window stay until the user clicks one of the choices or does the window close automatically after so many seconds.

Thanks!

Paul
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template v4.7.12.9 | Always The Best
Reply With Quote
  #25  
Old 01-17-2012, 03:38 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: X-Cart popup messages

Look in skin/common_files/js/ajax.add2cart.js and find the code you inserted when installing the mod
If you find in it
Code:
onComplete: function(){ setTimeout($.fn.colorbox.close,5000); },
it auto closes after 5 seconds. If you want to disable it just change it to

Code:
onComplete: false,
if you want to increase the auto close time change 5000 to whatever number you want, for example 10 sec will be 10000
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following 2 users thank cflsystems for this useful post:
am2003 (01-18-2012), elmirage001 (01-17-2012)
  #26  
Old 01-17-2012, 03:44 PM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,964
 

Default Re: X-Cart popup messages

Quote:
Originally Posted by cflsystems
Look in skin/common_files/js/ajax.add2cart.js and find the code you inserted when installing the mod
If you find in it
Code:
onComplete: function(){ setTimeout($.fn.colorbox.close,5000); },
it auto closes after 5 seconds. If you want to disable it just change it to

Code:
onComplete: false,
if you want to increase the auto close time change 5000 to whatever number you want, for example 10 sec will be 10000
Perfect! Love the mod. Thanks so much! Paul
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template v4.7.12.9 | Always The Best
Reply With Quote

The following user thanks elmirage001 for this useful post:
cflsystems (01-17-2012)
  #27  
Old 02-08-2012, 10:16 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: X-Cart popup messages

I've been asked in relation to this mod how to keep the coupon messages popup but disable the message when customer creates/updates account info

Not tested but in /skin/common_files/modules/One_Page_Checkout/ajax.checkout.js find

Code:
ajax.widgets.checkout.obj.prototype._callbackUpdateProfile = function(data) {
and comment out this line

Code:
this.showMessage(data.content, 'I');
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #28  
Old 02-29-2012, 10:36 PM
 
SecSno SecSno is offline
 

Newbie
  
Join Date: Sep 2008
Posts: 8
 

Default Re: X-Cart popup messages

A very nice mod, and a real no brainer. Even if you are an expert modder its going to take you more than $30 worth of time to do this(recreate it not install it). Good job Steve and thanks for a polished addon.
__________________
Version 4
Reply With Quote

The following user thanks SecSno for this useful post:
cflsystems (02-29-2012)
  #29  
Old 02-29-2012, 11:06 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: X-Cart popup messages

Thanks, glad you find it usefull
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #30  
Old 03-28-2012, 08:27 AM
  tqualizerman's Avatar 
tqualizerman tqualizerman is offline
 

X-Adept
  
Join Date: Jun 2008
Posts: 392
 

Default Re: X-Cart popup messages

Hi Steve,

I am having trouble (on a 4.4.5 install) with step #7 of the install instructions. It says find the code '$cart = func_array_merge($cart, func_calculate($cart, $products, $logged_userid, $current_area, 0));' in modules/Discount_Coupons/discount_coupons.php but I can't find it.

Second issue is that the popup is not working on product pages. It works on home.php, and products.php though. Any ideas where to start tracking down that issue?
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World
- Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com)


X-Cart Version 4.1.10
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



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 06:23 PM.

   

 
X-Cart forums © 2001-2020