
09-28-2011, 06:21 AM
|
|
|
|
 X-Adept
|
|
Join Date: Jul 2009
Location: Newcastle upon Tyne, UK
Posts: 412
|
|
|
Re: Mark a product as New from date to date
Quote:
Originally Posted by am2003
If someone wants to give it a try, here are some idea.
Backend:
- a new check box (Mark Product as NEW) and 2 input boxes (From To). This can be done using jQuery Data Picker (data range): http://jqueryui.com/demos/datepicker/#date-range. In General Setting you have to set up the time by default, let's say 30 days in case you mark a product as NEW but no range is defined.
Frontend:
- php file extracting from database the range a product should be marked as NEW. if no range, you can use by the default specified in General Settings.
- template file - if product is new, use some graphics to show the product is NEW. Over the product image using CSS, inline, how do you prefer.
|
Has anyone built this yet?
__________________
Live with Gold 4.5.1
Dedicated Linux server
MaxCDN 4 pull zones
Dedicated SSL
|
|