![]() |
X-Cart popup messages
Custom mod for X-Cart 4.4.x system messages. Get rid of the default ridiculous way QT coded the messages to show in the right upper corner. The mod uses colorbox jQuery that comes with XC and templates so no additonal files to install. Shows the messages in the center of the browser window in an easy to see/read way. Shows product added to cart message and uses the the buttons defined in cart. Also fixes a bug in XC-IE when adding coupon in OPC. Here is a sneak preview.
Get the mod here https://www.cflsystems.com/system-messages-mod-for-x-cart.html http://www.cflsystems.com/public/everyone/add_coupon_error_cart_1.png http://www.cflsystems.com/public/everyone/products_added_product_page_1.png |
Re: X-Cart popup messages
This is not free. You should move it to Third Party Add-ons.
|
Re: X-Cart popup messages
Sorry. I guess I posted in the wrong place. Can't move it though. QT Alex can you please move. Thanks
|
Re: X-Cart popup messages
OK. Moved to "Third Party Add-Ons" forum.
|
Re: X-Cart popup messages
Excellent mod, works perfect in 4.4.2. Everyone needs something like this! As the alerts that come with xcart are indeed an absolute joke. Thanks for this, keeps the customers happy!
|
Re: X-Cart popup messages
Unbelievable mod and a great price. This is what should come with X-Cart. I have only been using it for a few days but already the number of customers who are completing their orders is up! But it's not just the ADD TO CART SUCCESSFULLY that is great. Steve has fixed all the crazy manners in which x-cart communicates with the customer - like when the customer sends to a friend, or when they log in or make a change to their profile or apply their contact details in the order cart. There are just so many little improvements you have to see them to understand. As well the order process seems a lot faster, which may be my imagination, but it does appear to be very quick. Having the extra "May We Suggest" certainly doesn't hurt either. All in all, a terrific mod and finally my cart is what it should be: a help to every customers, easy to understand, easy to follow along. Amazon should be this good. I can tell my customers are happier just by the increase in completed orders. Thanks Steve for such a great mod - I am finally done fiddling with the mini-cart. Now if only someone could fix the silly x-cart address book and do away with "personal details". !! "THANKS STEVE at CFLSYSTEMS"
|
Re: X-Cart popup messages
Just an addon message to again thank Steve. The popup also does a great job of showing detail product images. I have had quite a number of customer comments about the "slide show" wondering how it was done. I told them it was your mod that created the great looking slide show. Thanks again Steve.
|
Re: X-Cart popup messages
Hi Steve
Just wanted to say thanks for this fantastic mod, just the add to cart alert box feature would have sold me, it also dresses up and presents the utilitarian design of the built in message alerts with a nice slick look. buy it you'll like it! |
Re: X-Cart popup messages
I have a question about this mod Steve.
I recently implemented the 'add to cart alert' mod, which I believe you are familiar with. Quite a lot of fiddling about, but now it works very well. Will these mods coexist, or does this one supercede Add to Cart? Cheers Welly |
Re: X-Cart popup messages
You can omit the "add to cart popup" part from this mod and just not install it, the rest of the popups will work with the other mod you have, they don;t cross paths
|
Re: X-Cart popup messages
Thanks Steve. I'll give it a go.
I assume I won't have any problems when I change domain? I'm working on a subdomain at the moment (xcart.traininglines.co.uk) but will move to www.traininglines.co.uk shortly. Cheers Welly |
Re: X-Cart popup messages
No, you won't have any problems with domain name
|
Re: X-Cart popup messages
I've installed it, and so far it looks great. Money well spent!
I'll admit I found it a bit tricky to pick through the install to avoid the 'add to cart' stuff, but that says more about me than the mod I think. Thanks for your help. Welly |
Re: X-Cart popup messages
Since I've been asked few times here is how to make the popup messages to auto close after some time period. In /skin/common_files/js/ajax.add2cart.js and in /skin/common_files/customer/dialog_message.tpl where the mod colorbox code is added add to options
onComplete: function(){ setTimeout($.fn.colorbox.close,5000); }, That will set the auto close to 5 seconds (change the number as needed). Of course you can add to dialog_message.tpl only and it will apply to messages only |
Re: X-Cart popup messages
Hi Steve,
Is it possible to employ this in place of the native X-Cart log in popup (4.4x)? |
Re: X-Cart popup messages
No I don't think so. XC uses this http://jqueryui.com/demos/dialog/ and it's way too deep into the core. You can however style the login popup to look like colorbox - it's all css, it may have some js control thought
|
Re: X-Cart popup messages
I'm wondering if it might still be possible to call. For instance, here's how the log in link works (at least from the one page checkout module):
<a title="{$lng.lbl_sign_in|escape}" href="login.php" onclick="javascript: popupOpen('login.php'); return false;">({$lng.lbl_sign_in|lower|escape})</a> Is there any way to replace popupOpen function with your modules' function? |
Re: X-Cart popup messages
I have not tried but the problem is not to make it show there the problem will be with the login button to execute properly
|
Re: X-Cart popup messages
I'd be happy to test this, but would need a hint about how to make your module call login.php. Any ideas?
|
Re: X-Cart popup messages
Hi Steve,
Will your mod work with: Phil's new Ability template and AJAX options: Update mini-cart in background on product list and product details pages "Unchecked" Thanks! Paul |
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 |
Re: X-Cart popup messages
Quote:
|
Re: X-Cart popup messages
It works fine unless you are using the the "header drop down" basket option.
|
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 |
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); }, Code:
onComplete: false, |
Re: X-Cart popup messages
Quote:
|
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:
Code:
|
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.
|
Re: X-Cart popup messages
Thanks, glad you find it usefull
|
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? |
Re: X-Cart popup messages
Quote:
If it's not working on product details page you have something not loading there, check the install again |
Re: X-Cart popup messages
Thanks.
I've been through the install twice, but I can't find anything I overlooked. Any guesses what code might be related to product.php? |
Re: X-Cart popup messages
I've got a little more info. I can see by the source of the page that the popups are loading on the product pages and display: none is properly set, so there must be something disconnected between the add to cart button and the module... does XC popups rely on any specific tag IDs/classes/functions relating to the add to cart button by any chance?
|
Re: X-Cart popup messages
If you have the install correct and on product details page when you click on add to cart it turns into "added" then back to "add to cart" it shoudl work
|
Re: X-Cart popup messages
Excellent - thank you. I tracked it down to this line from product.tpl, in my template:
<div>{include file="customer/main/product_details.tpl"}</div> Compared to the unmodified version of product.tpl: <div class="details">{include file="customer/main/product_details.tpl"}</div> Yikes. Putting that class tag back in there fixed it. Thanks for your very quick help! |
Re: X-Cart popup messages
No problem, glad you fixed it
|
Re: X-Cart popup messages
Can this be made to work with the contact us and register functions?
|
Re: X-Cart popup messages
In relation to what?
|
Re: X-Cart popup messages
Is there a way to add a "buy" button in related_products.tpl (upselling products) so the items listed on product.tpl under "related products" can have a buy now button? Once the button is clicked, the popup message would appear.
I have already tried copying the code for the "buy now" button in product.tpl, but is adds the item to the cart without the popup (so the customer doesn't know the item was added, since I have "Redirect customer to cart after adding a product" disabled. |
Re: X-Cart popup messages
Because related products uses different way to list the products, you can make related products template to use the same products_t.tpl or products_list.tpl by calling one of them and passing related products array to it
|
All times are GMT -8. The time now is 10:21 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.