cyber83 Designer Van Romania Lid sedert Jun. 2024 cyber83 19 Sep. 2024 17:58 Looked through the forum but couldnt find it. Whats the code for echoing the Date Created and Date Updated dates into the box_product.inc.php ? Thank you.
jackmaessen LiteCart Fan Van Netherlands Lid sedert Des. 2022 jackmaessen 19 Sep. 2024 20:46 echo language::strftime('%e %b %Y %H:%M', strtotime($product->data['date_updated']));``` If you need some information for output in the [b]box_product.inc.php[/b] file, which is present in the admin, you can have a look at the code in [b]admin/catalog.app/edit_product.inc.php[/b]
tim Founder Van Sweden Lid sedert Mei 2013 tim 19 Sep. 2024 21:08 You can create a reference object using the $product_id you have accessible in the template view. Then use the reference object to access data. echo language::strftime('%e %b %Y %H:%M', strtotime($product->date_created)); echo language::strftime('%e %b %Y %H:%M', strtotime($product->date_updated));```