jjackson Posted July 21, 2005 Share Posted July 21, 2005 Hello Everyone. Got a quick question. Anyone have any ideas on how I can add a timer to my product listings. For example, I would like to have an option to select a listing time period for an item and when the day and/or time is reach the item moves to "Out of Stock". When I change the item to "In Stock" I would like to reset the timer. I would also like to show the "listing end date" on the product_info.php page. any ideas would be greatly appreciated.... thank you so much. James Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 21, 2005 Share Posted July 21, 2005 There is nothing like that in the shops code that will allow you to do it. The code would have to be added. The specials option and other contributions have this option. Using one of them as a guide would probably be the best way to go. Basicaly the approach would be to write the expire time to the database for that product. Then when the product is called to be displayed, that figure is read in and compared to the current date/time. If it is past the alloted time, then change the produts title. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
jjackson Posted July 21, 2005 Author Share Posted July 21, 2005 Thanks Jack. What other contributions are you talking about that have this this type of feature. There is nothing like that in the shops code that will allow you to do it. The code would have to be added. The specials option and other contributions have this option. Using one of them as a guide would probably be the best way to go. Basicaly the approach would be to write the expire time to the database for that product. Then when the product is called to be displayed, that figure is read in and compared to the current date/time. If it is past the alloted time, then change the produts title. Jack <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 21, 2005 Share Posted July 21, 2005 The Featured Products and Wolfen Featured Sets are two. Search the contributions section for any that would add product control like that. I would think they would all offer it. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.