Jump to content
Latest News: (loading..)
Ken_Shea

New products for the month of.......

Recommended Posts

Is there a way to control what shows up? there are some still showing up after months of their having been added to inventory.

 


OSC v2.3.4.1 BS EDGE
Ultimate SEO

 

Share this post


Link to post
Share on other sites

The simple answer is no! they way the code is writen it just defaults to showing a set number of products from db.

To chnage this you will need to edit the code! or make a new mod. You need to introduce "products_date_added" into the equation.

Then you can filter what is displayed something like this,(note not been tested) or ask a developer to do this mod for you.

<?php
$mydate = "products_date_added";
if ($mydate < strtotime('-30 days'))
{
      ?>

 


 

Share this post


Link to post
Share on other sites

There are addons that allow you to change what is shown.  Search the addons area for featured products. There are several. Depending on your version of oscommerce some may need altering but there are BS versions available. You will then be able to select which products show on the front page and also in some cases a new page that only shows the featured products. Select the right addon and its a simple case of uploading the files and clicking install and changing a few settings before you can start adding products.


REMEMBER BACKUP, BACKUP AND BACKUP

Before installing the official version of oscommerce first look at a responsive version here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

Thanks, I'll look into this.

Wonder where these products are selected and why?

Seems like they would be selected from the data base "products_date_added" colums but apparently not.

 

thanks for the input


OSC v2.3.4.1 BS EDGE
Ultimate SEO

 

Share this post


Link to post
Share on other sites

They are selected from all of the products in the database. You just select which ones show. You can also, in most cases, select the start and end date for when they are shown.


REMEMBER BACKUP, BACKUP AND BACKUP

Before installing the official version of oscommerce first look at a responsive version here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites
49 minutes ago, Ken_Shea said:

Seems like they would be selected from the data base "products_date_added" colums but apparently not.

The problem is if new products were limited in anyway to a time limit form adding, say 30 days you would either need to constantly add new products or you would have a bank space in place of new products.

As it is now if you add a new product it is given priority in the new products! So as you add new products they are autocratically picked up and displayed.

This means you have one less thing to worry about.

With most of the add-on you need to first add add new product then go to the addon and select and set it for display! Now that’s not bad if you only have a few products but can be a pain if you have larger numbers to process.

The stock osC is a good compromise in that new products get priority but if no new products are available the space still is used to show products.

Edited by JcMagpie

 

Share this post


Link to post
Share on other sites

That makes sense,

Found only one add on for BS EDGE, the rest were for earlier versions (non BS) or many years old.

Looks like I might be able to install it, laid out in step 1, step 2 etc.

 


OSC v2.3.4.1 BS EDGE
Ultimate SEO

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×