![]() |
Re: Free "What's New?" X-Cart module released!
Victor can you please look at my post above and let me know if you can help me.Thanks.
|
Re: Free "What's New?" X-Cart module released!
1 Attachment(s)
Quote:
see attached Quote:
I don't even want to think about moving to a new php version.. gives me the shakes. |
Re: Free "What's New?" X-Cart module released!
Quote:
Too many questions :) I begin with the end)) edit modules/Whats_New/module.php find there Code:
$current_category["category_location"][] = array(func_get_langvar_by_name("lbl_wnmod_title"), "home.php?WhatsNew=Y"); and replace with Code:
$current_category["category_location"][] = array(func_get_langvar_by_name("lbl_wnmod_title"), "home.php?WhatsNew=Y"); 1) Do you mean Bestsellers menu or dialog? 2) You need add the same class with 'Whats new' category to all root categories with orderid lite then certain value in skin1/customer/categories.tpl 3) Can you make the 'Whas New' category specific for products - for example? |
Re: Free "What's New?" X-Cart module released!
Thanks Victor
1) On Dialog? 2) whats orderid lite? 3) Say for 'dvds' only catid '433'? |
Re: Free "What's New?" X-Cart module released!
Found an issue. When I have just added over 70,000 products at once to the store, I get an error in IE and FF where the popup showing new items since last visited. When I try to click "x" or new products to view them on that small popup window, it just keeps showing the same and never shows the main layout of the site or anything. Also does this mod add alot to the index.php as far as load? Please let me know. Thanks
|
Re: Free "What's New?" X-Cart module released!
Sorry to add to the question craze. But if I'm updating strictly instock and out of stock lvls using a .csv import it adds all the products to What's New. Is there anyway to disable this from happening?
Thanks again, NM found a way around it. |
Re: Free "What's New?" X-Cart module released!
Hey Victor,
Thanks for the great mod ! Quick question, how can I change the size of the bubble and the font size/type of the text inside? I assume it's in Whats_New.tpl but I don't want to break anything. Thanks again |
Re: Free "What's New?" X-Cart module released!
Hey victor any updates on my post?
Also is there anyway to show only products that have an image? And again maybe only products from a certain category example (114 - dvds)? Thanks, Kyle |
Re: Free "What's New?" X-Cart module released!
Quote:
PHP6 is in development so I didn't attend you to switch to it. I'm just happy with it. Seems something wrong with your cookies. There are no changes required in your config.php Just clean all the cookies for your store and try place the bubble code one more time |
Re: Free "What's New?" X-Cart module released!
mrerotic
I'm not ready to explain about bestsellers dialog placement right now. Quote:
So you can add specific class for the categories with the orderid less then 40 for example Quote:
Code:
$search_data["products"]["categoryid"] = 0; #place 433 (your catid) here instead of zero |
Re: Free "What's New?" X-Cart module released!
Quote:
You need to prevent import script from changing add_date field in xcart_products table Quote:
lines 33,34 of whats_new.tpl: Code:
popup_top = round(viewportheight/2) - 23; //23 - half of the height and lines 85,86 Code:
newdiv.style.height = '36px'; You need to change height and width of the background image as well Add into your css file to change font size/color: Code:
#bubble{font-size:12px} |
Re: Free "What's New?" X-Cart module released!
Victor thank you, what about my posting on the popup bubble issue in IE the whole page just keep resfreshing in IE8.
Thanks man :) |
Re: Free "What's New?" X-Cart module released!
Quote:
Did you change it to show products without pagination? It looks like your PHP is running out of memory trying to display them at once |
Re: Free "What's New?" X-Cart module released!
Victor this happens on the homepage. I'm not displaying any 'whats new' products on the homepage. They are in a category. If you dont mind as well I have the same question as the other who posted in the wrong forum. How can you display a certain number of 'whats new' on the homepage and again maybe from a certain category?
|
Re: Free "What's New?" X-Cart module released!
to display the first page of new products on the homepage
/modules/Whats_New/module.php replace Code:
if ($WhatsNew == "Y"){ Code:
if ($WhatsNew == "Y"){ and add into your skin1/customer/main/welcome.tpl Code:
{capture name=dialog} For a certain category check this post http://forum.x-cart.com/showpost.php?p=266341&postcount=50 |
Re: Free "What's New?" X-Cart module released!
Quote:
That's right, but when you clicking the bubble it tries to search for all the products since last visit (70000) |
Re: Free "What's New?" X-Cart module released!
The code on #55 can I use that to have it on my home page but also still have the category?
|
Re: Free "What's New?" X-Cart module released!
Quote:
|
Re: Free "What's New?" X-Cart module released!
Thank you for the great mod! It installed easy and I had no troubles getting it to work. Not really happy that when I add it to the front page it looks like a category page so I think I will take that back off, but other than that it does exactly what it should do. Thank you for making it such a simple and quick install :)
|
Re: Free "What's New?" X-Cart module released!
I love this module. It's been running great, but I got a couple of SQL errors in the last day or so. Maybe someone could shed a little light on them for me...
Code:
SQL query : select count(*) from xcart_products where add_date > 1251517824, $Version=0 and add_date < 1251517825 Thanks, Jason |
Re: Free "What's New?" X-Cart module released!
Shouldnt this query be:
----------------------- select count(*) from xcart_products where add_date > 1251517824 AND add_date < 1251517825 This should fix that. I don't know where $Version came into play. |
Re: Free "What's New?" X-Cart module released!
Quote:
Try to clean your browser cookie for your store domain |
Re: Free "What's New?" X-Cart module released!
Is it possible to use this mod twice on the website? I'm not interested in using the popup notification of how many new products have been added, but rather having one area for new dvds and another for new toys. Is this doable?
Thanks |
Re: Free "What's New?" X-Cart module released!
i am not using the default menu so i can't view the link to "New products" but i want to add it on my menu. I saw on the other sites that use the mode that they use the "?cat=0&WhatsNew=Y" to go to that category.
So i am trying the http://www.gsmcorner.gr/?cat=0&WhatsNew=Y but doesn't work. Any idea? |
Re: Free "What's New?" X-Cart module released!
Quote:
http://www.gsmcorner.gr/home.php?cat=0&WhatsNew=Y should works fine. |
Re: Free "What's New?" X-Cart module released!
Quote:
|
Re: Free "What's New?" X-Cart module released!
Thanks Victor that would be great.
|
Re: Free "What's New?" X-Cart module released!
Quote:
i don't don't if it should works, but i dorsn't :P |
Re: Free "What's New?" X-Cart module released!
Quote:
It shows 'New products' dialog with no products in it. Did you update your store inventory within last 10 days? Try to increase number of days at the module configuration page. |
Re: Free "What's New?" X-Cart module released!
i added yesterday a product
|
Re: Free "What's New?" X-Cart module released!
Quote:
|
Re: Free "What's New?" X-Cart module released!
Found this in my log file
The IP address is unkown to me Is this Mod causing problems [17-Sep-2009 21:56:33] (shop: 17-Sep-2009 21:56:33) SQL error: Site : http://www.xxxxx.com.au Remote IP : 72.20.99.171 Logged as : SQL query : select count(*) from xcart_products where add_date > 1253188448, $Version=0 and add_date < 1253188593 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 < 1253188593' at line 1 Request URI: /home.php?cat=525 Backtrace: /home/xxxx/public_html/include/func/func.db.php:180 /home/xxxx/public_html/include/func/func.db.php:106 /home/xxxx/public_html/include/func/func.db.php:347 /home/xxxx/public_html/modules/Whats_New/config.php:10 /home/xxxx/public_html/init.php:588 /home/xxxx/public_html/auth.php:44 /home/xxxx/public_html/home.php:38 |
Re: Free "What's New?" X-Cart module released!
Quote:
I see similar ones from time to time. I believe it may be when a visitor who visited your site before you installed the mod returns. It throws off the mod due to the date in the visitor's cookie. It doesn't seem to cause any problems except to log an error. Jason |
Re: Free "What's New?" X-Cart module released!
Hi Victor,
I've read through this whole thread and it seems I am having the same problems as some fo the others. When I first installed this mod, the new category showed up and I have some new products on my home page. Great I think....but I have since added new products and they are not registering on neither the New category page nor the home page. I am not using the bubble portion of the mod. I have already tried changing the days of the new products but that did nothing. Can you help please? Thanks for the mod and the support. Regard, Dorothy printcutncreate.com |
Re: Free "What's New?" X-Cart module released!
Victor any news on running 2 of these whats new on the site?
|
Re: Free "What's New?" X-Cart module released!
Quote:
As I see from your Whats New category all its products added 21.09.2009 but these products are sorted in the reverse order and no pagination is available. probably the last products are on the next pages try this in your products.php after the lines: //+ + What's new if ($active_modules["Whats_New"] && $WhatsNew == "Y"){ include "./modules/Whats_New/products.php"; } //- - What's new include $xcart_dir."/include/search.php"; add: if ($active_modules["Whats_New"] && $WhatsNew == "Y"){ $products = array_reverse($products); } |
Re: Free "What's New?" X-Cart module released!
Thank you Victor for the reply...unfortunately your suggestion above did not work on my site. Is there anything else I can try?
Regards, Dorothy printcutncreate.com |
Re: Free "What's New?" X-Cart module released!
Victor - the category description does not show up. Can you please help me with this. I added exactly what you said to add. Also, I got it working for two different whats new sections. But please help on this last part. Thx
Also I want the categories to show up throughout all pages, but they disappear once I click into a subcategory. I followed the detailed instructions as well. |
Re: Free "What's New?" X-Cart module released!
Hello.
we have 4.2.2 several time try to install automatically and manually both time need to run wn-install.php and on form first screen if click processed next page can not be found. This happened with automatic installation however all permition were set correctly. If I try to install manual I still need SQL pass and it is not provided in zip file. With manual installation if you help me with sql do I really need to run installation file? thank you for your help. Quote:
|
Re: Free "What's New?" X-Cart module released!
I am trying to install this on a test version of 4.2.2 and get the following when running wn_install.php
X-Cart installation... Warning: Cannot modify header information - headers already sent by (output started at /home/myaccount/public_html/xc42/wn_install.php:66) in /home/myaccount/public_html/xc42/include/sessions.php on line 74 Warning: Cannot modify header information - headers already sent by (output started at /home/myaccount/public_html/xc42/wn_install.php:66) in /home/myaccount/public_html/xc42/include/sessions.php on line 76 Warning: Cannot modify header information - headers already sent by (output started at /home/myaccount/public_html/xc42/wn_install.php:66) in /home/myaccount/public_html/xc42/include/sessions.php on line 85 Warning: Cannot modify header information - headers already sent by (output started at /home/myaccount/public_html/xc42/wn_install.php:66) in /home/myaccount/public_html/xc42/include/sessions.php on line 86 Warning: Cannot modify header information - headers already sent by (output started at /home/myaccount/public_html/xc42/wn_install.php:66) in /home/myaccount/public_html/xc42/include/sessions.php on line 93 Warning: Cannot modify header information - headers already sent by (output started at /home/myaccount/public_html/xc42/wn_install.php:66) in /home/myaccount/public_html/xc42/include/func/func.core.php on line 1819 Needless to say, it doesn't work. |
All times are GMT -8. The time now is 02:03 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.