X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   Free "What's New?" X-Cart module released! (https://forum.x-cart.com/showthread.php?t=47502)

mrerotic 08-13-2009 08:34 AM

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.

canuck 08-13-2009 06:47 PM

Re: Free "What's New?" X-Cart module released!
 
1 Attachment(s)
Quote:

Originally Posted by Victor D
please attach your modules/Whats_New/config.php here, there is something wrong there as quotes should not be escaped in this query. Moreover, it should have no quotes. This is probably related with magic quotes configuration.


see attached

Quote:

I'm happy with magic quotes feature removal in PHP6. :)

I don't even want to think about moving to a new php version.. gives me the shakes.

Victor D 08-14-2009 06:02 AM

Re: Free "What's New?" X-Cart module released!
 
Quote:

1) Is there a way to not show "Bestsellers" on the whats new page if you have it enabled?
2) Also yes I can make the 'Whats New' category look different, but what if I want 2 more other categories to be up there with the 'Whats New' that look the same as it?
3) Can you make the 'Whas New' category specific for products?
4) Can you make it show products in a 3 column matrix if your main settings are set to just list products?
5) Is there anyway to give this category a description?

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");

# this is  5)
    $current_category["description"] = "description here";
 
#this is 4)
$config["Appearance"]["products_per_row"] = 3;
$config["Appearance"]["featured_only_multicolumn"] = 'N';
$smarty->assign("config", $config); 


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?

mrerotic 08-14-2009 07:25 AM

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'?

mrerotic 08-16-2009 12:20 PM

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

gotpump 08-17-2009 07:18 PM

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.

ibdmanhb 08-21-2009 12:41 PM

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

mrerotic 08-24-2009 02:52 PM

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

Victor D 08-25-2009 05:46 AM

Re: Free "What's New?" X-Cart module released!
 
Quote:

Originally Posted by canuck
see attached
I don't even want to think about moving to a new php version.. gives me the shakes.


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

Victor D 08-25-2009 06:01 AM

Re: Free "What's New?" X-Cart module released!
 
mrerotic
I'm not ready to explain about bestsellers dialog placement right now.
Quote:

2) whats orderid lite?
Categories are sorted by their orderids
So you can add specific class for the categories with the orderid less then 40 for example

Quote:

3) Can you make the 'Whas New' category specific for products?
Say for 'dvds' only catid '433'?
modules/Whats_New/products.php
Code:

$search_data["products"]["categoryid"] = 0; #place 433 (your catid) here instead of zero


All times are GMT -8. The time now is 05:03 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.