![]() |
Re: Free "What's New?" X-Cart module released!
Did anyone get this working on 4.1? It seem to install fine but not work properly. A What's New category was created but the link just bounced back to the homepage.
|
Internationalisation
Hi Victor,
1) txt_whats_new = We have added %new_products_txt% since your last visit. 2) %new_products_txt% is replaced in /modules/Whats_New/Whats_New.tpl with "$new_products_text" 3)$new_products_text displays in the bubble: xx new products. Question: Where can I change new products into a language variable to internationalize this variable? Thanks for your reply in advance! Best regards, Gijs |
Re: Free "What's New?" X-Cart module released!
txt_whats_new : We have added %new_products_txt% since your last visit.
%new_products_txt% is actually a number of new products so you need to keep it intact translating the rest of the variable. For example: %new_products_txt% productos nuevos. But 'View all' text is hardcoded in this template as I see. Please create a variable for it on your own. I will keep this in mind working on this next version. |
Re: Free "What's New?" X-Cart module released!
Quote:
In the most cases this means products.php is customized and you need to patch this file manually. Read messages carefully installing the module. |
Re: Free "What's New?" X-Cart module released!
Hey Victor,
We manually patched the entire mod and it didnt work. I went over the code several times. Everything seems to be in place, but the link just bounces back to homepage. Does DSEFU affect the mod? |
Re: Free "What's New?" X-Cart module released!
i want to edit the modules/What_New/config.php the :
if (isset($_COOKIE['online'])) { $aw_new_products = func_query_first_cell("select count(*) from $sql_tbl[products] where add_date > ".$_COOKIE['online']." and add_date < ".time()); $smarty->assign("new_products_count",$aw_new_products); $smarty->assign("new_products_date",$_COOKIE['online']); $smarty->assign("new_products_text",($aw_new_products == 1)?$aw_new_products." new product":$aw_new_products." new products"); setcookie("last_visit", time(), time()+94608000); } else { setcookie("online", $_COOKIE['last_visit'], 0); setcookie("last_visit", time(), time()+94608000); $aw_new_products = func_query_first_cell("select count(*) from $sql_tbl[products] where add_date > ".$_COOKIE['last_visit']." and add_date < ".time()); $smarty->assign("new_products_text",($new_products_count == 1)?"$aw_new_products new product":"$aw_new_products new products"); $smarty->assign("new_products_count",$aw_new_products); $smarty->assign("new_products_date",$_COOKIE['last_visit']); I want to edit the BOLD text to be language variable, coz i can't translate the txt_whats_new and leave the bold text to be on language. It will look weird. Also the http://www.gsmcorner.gr/home.php?WhatsNew=Y still doesn't work, in the past you ask for login details but i was on holiday. Can you have a look? |
Re: Free "What's New?" X-Cart module released!
Issue I have is I cant seem to provide a description to show for this 'Whats New' category. If anyone has any ideas, please let me know.
Thanks :) |
Re: Free "What's New?" X-Cart module released!
Hey Victor,
I installed this mod on a 4.1.9 cart and all seemed well, I upgraded to 4.1.12 recently and I just had a returning customer contact me saying IE7 was spitting an error: Internet explorer can not open the internet site:http://www.ocsurfwear.com,operation aborted. The page only shows a little of the bubble and nothing else. I disabled the module and the problem went away. I don't know if this problem existed before and no one took the time to email me or it cropped up after the 4.1.12 upgrade. I have seen other references to this IE error from IE5 and up, IE8 seems to work OK. Some people talk about JS errors and others have to do with tags in the wrong places. Any idea?? Where would I disable just the bubble option and leave the whats new catagory intact in the menus to test if thats whats causing the error? Thanks |
Re: Free "What's New?" X-Cart module released!
Quote:
Please upgrade to the latest version. This issue is fixed there |
Re: Free "What's New?" X-Cart module released!
Thanks for the reply, I like this module and I hate to keep it disabled. Should I upload the latest files from your site and re-run the automatic install?
Thank you again |
Re: Free "What's New?" X-Cart module released!
Quote:
No, there are no changes in the database, it would be enough to upgrade the module files with newer ones and clean the template cache. |
Re: Free "What's New?" X-Cart module released!
Thanks Victor,
Got that all sorted out and it seems to load fine now in IE6 and 7. 1 more issue, when I click view all link from the bubble the list that appears includes all my site items, not just new things, and the order is not newest first. The whats new catagory has the new items in the beginning but also shows all the items loaded after the days set in the modules config file. Any suggestions ?? Thank you again |
Re: Free "What's New?" X-Cart module released!
Victor still waiting to see if you can help me provide a category description for this addon. Tried what you posted but doesnt show.
|
Re: Free "What's New?" X-Cart module released!
Is there anyway to enable sort by so customer can choose sorting options? Also I''m still trying to get the category description to show up. Any ideas?
Thanks.. |
Re: Free "What's New?" X-Cart module released!
Also how can I make the results sort by release date in which I have in an extra field?
|
Re: Free "What's New?" X-Cart module released!
Hey Victor can you give me any support please it would be greatly appreciated.
|
Re: Free "What's New?" X-Cart module released!
Hello Victor - I have this module working on my 4.23 upgrade sandbox. Excellent mod that compares favourably with other paid for mods!
I'm with mrerotic - if you can supply a tweak that would allow me to use a date held in an extra field instead of the add_date then I'd gladly contribute a payment for your time and trouble. |
Re: Free "What's New?" X-Cart module released!
Quote:
That is the main problem with any "whats new" mod, they all use add_date, and that changes every time you import anything. |
Re: Free "What's New?" X-Cart module released!
This module is no longer distributed so I publish the latest version here.
Please check the very first post of this thread for details. |
Re: Free "What's New?" X-Cart module released!
I installed this mod and it works well, and it's a heck of a lot better than manually adding new products to a "what's new" category which is what I was doing before!
I'm sorry to see it isn't being distributed anymore but I have to say I don't really understand how people manage to support free mods in the first place. It must take a lot of time and effort for little financial reward. (Unless I'm missing something?) Regardless, thanks for putting it out and posting it here. |
Re: Free "What's New?" X-Cart module released!
Is there a version of Free "What's New?" X-Cart module that will work with X-Cart 4.3.x?
|
Re: Free "What's New?" X-Cart module released!
I always receive these error message,why?
Logged as : SQL query : select count(*) from xcart_products where add_date > 1269630228, $Version=0 and add_date < 1270051289 Error code : 1064 Description : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' $Version=0 and add_date < 1270051289' at line 1 Request URI: /product.php?productid=20216 Backtrace: /home/xxx/public_html/include/func/func.db.php:180 /home/xxx/public_html/include/func/func.db.php:106 /home/xxx/public_html/include/func/func.db.php:351 /home/xxx/public_html/modules/Whats_New/config.php:10 /home/xxx/public_html/init.php:587 /home/xxx/public_html/auth.php:44 /home/xxx/public_html/product.php:38 |
Re: Free "What's New?" X-Cart module released!
I am having a problem getting the details to show for the category such as category name (New Products). Please help me resolve this issue. Thank you in advance.
|
Re: Free "What's New?" X-Cart module released!
Will it work for 4.4.2?
|
All times are GMT -8. The time now is 10:25 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.