| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Free "What's New?" X-Cart module released! | ||||
|
|
Thread Tools |
#81
|
|||||||||
|
|||||||||
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.
__________________
Jonathan Flyclothing, LLC PO Box 1490 Gilbert, AZ 85299-1571 P 480.422.7350 F 888.359.2568 www.flysportsgear.com?MMCF_xcartforum (X-Cart 4.5.2) FOR SALE |
|||||||||
#82
|
|||||||||
|
|||||||||
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 |
|||||||||
#83
|
|||||||||
|
|||||||||
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.
__________________
Regards, Victor Dubiniuk X-Cart Skins Store - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
#84
|
|||||||||
|
|||||||||
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.
__________________
Regards, Victor Dubiniuk X-Cart Skins Store - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
#85
|
|||||||||
|
|||||||||
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?
__________________
Jonathan Flyclothing, LLC PO Box 1490 Gilbert, AZ 85299-1571 P 480.422.7350 F 888.359.2568 www.flysportsgear.com?MMCF_xcartforum (X-Cart 4.5.2) FOR SALE |
|||||||||
#86
|
|||||||
|
|||||||
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?
__________________
X-Cart Gold : 4.2.1 (on linux parallels plesk / mysql) Php v5.2.9 (Zend: 2.2.0) - MySql v5.0.79 - LiteSpeed server Modules : X-Offer & X-Aom & One page checkout Product tabs & Product downloads & many more |
|||||||
#87
|
|||||||
|
|||||||
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
__________________
x-cart 4.2.3 AlteredCart Smart Search Auto Featured Products Mod (Personal Mod) BCSE Product Importer Pro & Drop Shipper Pro CDSEO Pro CMS EZRecommends EE slider login (Personal Mod) Next Prev Link Mod (Customized) ShadowBox Detailed Images (Personal Mod) Shop By Price (Customized) Social Media (Personal Mod) Switch Layout View (Personal Mod) Special Offers Testimonials (Personal Mod) Whats New (Customized) |
|||||||
#88
|
|||||||
|
|||||||
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
__________________
X-cart X5 business VPS Liquidweb Linux/Litespeed php7.3 https://www.lourdeslove.com https://calnetsecurity.com https://www.ReligiousClub.com https://www.caltecservices.com |
|||||||
#89
|
|||||||||
|
|||||||||
Re: Free "What's New?" X-Cart module released!
Quote:
Please upgrade to the latest version. This issue is fixed there
__________________
Regards, Victor Dubiniuk X-Cart Skins Store - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
#90
|
|||||||
|
|||||||
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
__________________
X-cart X5 business VPS Liquidweb Linux/Litespeed php7.3 https://www.lourdeslove.com https://calnetsecurity.com https://www.ReligiousClub.com https://www.caltecservices.com |
|||||||
|
|||
X-Cart forums © 2001-2020
|