Ken_Shea Posted November 28, 2018 Share Posted November 28, 2018 Is there a way to control what shows up? there are some still showing up after months of their having been added to inventory. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted November 29, 2018 Share Posted November 29, 2018 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')) { ?> Link to comment Share on other sites More sharing options...
♥14steve14 Posted November 29, 2018 Share Posted November 29, 2018 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 Link to comment Share on other sites More sharing options...
Ken_Shea Posted November 29, 2018 Author Share Posted November 29, 2018 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 Link to comment Share on other sites More sharing options...
♥14steve14 Posted November 29, 2018 Share Posted November 29, 2018 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 Link to comment Share on other sites More sharing options...
♥JcMagpie Posted November 29, 2018 Share Posted November 29, 2018 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. Link to comment Share on other sites More sharing options...
Ken_Shea Posted November 29, 2018 Author Share Posted November 29, 2018 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.