Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New Products


Guest

Recommended Posts

I only have 25 products available in my store so set my New Product infobox on index.php to display 25 products. I'm just curious about how long they will stay there? I won't be adding any more products to the site in the future. After a certain timeframe will all the products just disappear from the 'New Products' box?

 

Thanks!

(p.s tried searching already)

Link to comment
Share on other sites

'New Products' are new products forever unless 'newer products' are added.

 

Vger

 

In my new products box the first cell has a bad link to a product that doesnt exist, it is always product 71.

Where is the code to edit this box?

Link to comment
Share on other sites

In my new products box the first cell has a bad link to a product that doesnt exist, it is always product 71.

Where is the code to edit this box?

 

I do not believe the code does that, unless you changed the default code ...

 

it's in includes/modules/new_products.php

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

I do not believe the code does that, unless you changed the default code ...

 

it's in includes/modules/new_products.php

Yes I have have just reloaded that from the original, and it is the same.

I am confused as the number in the first box never changes as I add products.

I have asked my host to look into it on the database.

Link to comment
Share on other sites

Yes I have have just reloaded that from the original, and it is the same.

I am confused as the number in the first box never changes as I add products.

I have asked my host to look into it on the database.

Alternatively if somebody could point me to where I can control the number of products listed in the new products box that would be great.

Link to comment
Share on other sites

Yes I have have just reloaded that from the original, and it is the same.

I am confused as the number in the first box never changes as I add products.

I have asked my host to look into it on the database.

 

have a link?

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

Alternatively if somebody could point me to where I can control the number of products listed in the new products box that would be great.

 

admin -> configuration -> Maximum Values ->

 

New Products Module

Maximum number of new products to display in a category

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

admin -> configuration -> Maximum Values ->

 

New Products Module

Maximum number of new products to display in a category

 

Thanks Monika, you are very helpful.

 

I solved (in a fashion) my other problem by adjusting the 'date added' in my product database in case this is of interest to anyone else.

Link to comment
Share on other sites

'New Products' are new products forever unless 'newer products' are added.

 

Vger

 

 

Vger,

I have added several products for September but my "New Products" is stuck in August (as far as the products go). It says "Featured Items for September" but it's lieing :-) see it at cabinfevergifts.com The products_new.php is correct though. Products just not rotaing at all....

Do you have any suggestions of what could be causing this?

Thank you!

Log Cabin Fever Gifts

Link to comment
Share on other sites

Vger,

I have added several products for September but my "New Products" is stuck in August (as far as the products go). It says "Featured Items for September" but it's lieing :-) see it at cabinfevergifts.com ?The products_new.php is correct though. Products just not rotaing at all....

Do you have any suggestions of what could be causing this?

Thank you!

 

 

Hi,

 

like vger said products stay new forever ... unless you use a contrib that makes them expire after a certain time, like 30 days or so. Search in the contrib section.

 

the current select statement just sorts and displays them, not looking how old they are.

 

order by p.products_date_added desc

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

Hi,

 

like vger said products stay new forever ... unless you use a contrib that makes them expire after a certain time, like 30 days or so. Search in the contrib section.

 

the current select statement just sorts and displays them, not looking how old they are.

 

order by p.products_date_added desc

 

 

Yes.... that's not what I mean. They used to change, random. Now it stays the same but thanks anyway.

Log Cabin Fever Gifts

Link to comment
Share on other sites

Yes.... that's not what I mean. They used to change, random. Now it stays the same but thanks anyway.

 

maybe you had a modded file for random selection of not one product, but a group of products? That can be easily accomplished ... is it possible your file got replaced? The vanilla version does not rotate.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...