X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   X-Cart popup messages (https://forum.x-cart.com/showthread.php?t=58343)

cflsystems 01-14-2012 12:01 PM

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

elmirage001 01-14-2012 12:29 PM

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.

candc 01-17-2012 12:15 PM

Re: X-Cart popup messages
 
It works fine unless you are using the the "header drop down" basket option.

elmirage001 01-17-2012 03:25 PM

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

cflsystems 01-17-2012 03:38 PM

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

elmirage001 01-17-2012 03:44 PM

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

cflsystems 02-08-2012 10:16 AM

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');


SecSno 02-29-2012 10:36 PM

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.

cflsystems 02-29-2012 11:06 PM

Re: X-Cart popup messages
 
Thanks, glad you find it usefull

tqualizerman 03-28-2012 08:27 AM

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?


All times are GMT -8. The time now is 03:23 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.