komodityagro Posted April 8, 2013 Share Posted April 8, 2013 (edited) How can I add the Date field to the List of products - PS 1.5.4? Edited April 8, 2013 by vekia (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 8, 2013 Share Posted April 8, 2013 You want to add date, but wahat you exactly mean by "date" ? can you give us more informations, please? Link to comment Share on other sites More sharing options...
komodityagro Posted April 8, 2013 Author Share Posted April 8, 2013 I want to add to products to List of products date of creating the ones. Link to comment Share on other sites More sharing options...
vekia Posted April 8, 2013 Share Posted April 8, 2013 you've got two variables: [date_add] => 2013-03-27 00:29:46 [date_upd] => 2013-03-27 00:29:46 you can use them by this code: {$product.date_add} {$product.date_upd} Link to comment Share on other sites More sharing options...
komodityagro Posted April 8, 2013 Author Share Posted April 8, 2013 Thank you, but where exactly I have to insert these two variables and codes? Link to comment Share on other sites More sharing options...
vekia Posted April 8, 2013 Share Posted April 8, 2013 i mean that you have to use only {$product.date_add} / {$product.date_upd} if you want to use it in product listing pages, go to the themes/your_theme/ directory and open product-list.tpl file this is "template" file with html / smarty language markups, insert these variables anywhere you want but remember that you have to insert it between foreach loop. Open this file and you will see what i mean in some cases it is necessary to turn force compilation on - without this all changes in tpl (template) files may not appear read how to turn force compilation on Link to comment Share on other sites More sharing options...
komodityagro Posted April 8, 2013 Author Share Posted April 8, 2013 Thank you for help, it is O.K.... Link to comment Share on other sites More sharing options...
vekia Posted April 8, 2013 Share Posted April 8, 2013 You are welcome, now i can mark this topic as solved. If you've got any other questions related to this case - feel free to write Link to comment Share on other sites More sharing options...
komodityagro Posted May 25, 2013 Author Share Posted May 25, 2013 How can I add to product.tpl the supplier - name, adress, phone...? Link to comment Share on other sites More sharing options...
vekia Posted May 25, 2013 Share Posted May 25, 2013 How can I add to product.tpl the supplier - name, adress, phone...? hello, please create new thread with your question Link to comment Share on other sites More sharing options...
Recommended Posts