Anton_bcn Posted October 17, 2013 Share Posted October 17, 2013 I need to make some javascript countdown to show when date for discount of some product is out. Is it possible to get maximum date of special product price using standart Prestashop ajax functionality? Please help. Link to comment Share on other sites More sharing options...
NemoPS Posted October 17, 2013 Share Posted October 17, 2013 Hi there! What do you exactly mean by using the standard prestashop ajax functionality? Ajax is not needed. Just grab the final date and plugin in something like jQUery countdown (http://keith-wood.name/countdown.html) I did it here: http://gk4.me (see the block near the slider?) Link to comment Share on other sites More sharing options...
Anton_bcn Posted October 18, 2013 Author Share Posted October 18, 2013 Hi there! What do you exactly mean by using the standard prestashop ajax functionality? Ajax is not needed. Just grab the final date and plugin in something like jQUery countdown (http://keith-wood.name/countdown.html) I did it here: http://gk4.me (see the block near the slider?) Thank you for answer. For example I mean change price by ajax, its just i think Prestashop have somthing done for it. Of course we can do this by reload page and do in in php buy may be it possible only show popup warning about change price and start new counter with changes. Exactly i need: If countdown is done, reduce special price and run new countdown buy with new price. Link to comment Share on other sites More sharing options...
Recommended Posts