Create Sale Image on Category Page for Sale Items

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
mmcnatt
Ensign (ENS)
Ensign (ENS)
Posts: 12
Joined: Sun Jan 24, 2010 5:57 pm

Create Sale Image on Category Page for Sale Items

Post by mmcnatt » Wed Nov 24, 2010 2:50 pm

Ok.. I am trying to write and expression to show an Image that indicates an item is on sale by using the Specials Start and End date. Something along the lines of... if StartDate < system.date < EndDate show sale image

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Create Sale Image on Category Page for Sale Items

Post by mazhar » Fri Nov 26, 2010 5:18 am

Well if the sales date is specific to products then you need to have that date information on product level. Perhaps you can do some custom coding and utilize product custom fields to add two custom fields for date period. And finally you can modify desired category page to to see if current date is within sales period by checking from and to dates in product's custom fields you can show/hide your sales image.

Post Reply