![]() |
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 |
All times are GMT -8. The time now is 08:48 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.