How to display the date product was created?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
один год назад
Hi.

NC 4.5

How can I show in front-end the date when a product was created?

If you say it is not possible, then how filter by date understands the date of a product?

Thanks.
один год назад
out of the box not possible.
zaf wrote:
how filter by date understands the date of a product?

source code query is written such a way to do that.

you need to modify 3 things to your source code to show created date
1. add a new field to your ProductOverviewModel

2. modify PrepareProductOverviewModelsAsync method

3. modify _ProductBox.cshtml page

now view page will show like this
один год назад
Is it possible to do it without touching the core? As a plugin maybe?
один год назад
RE: Is it possible to do it without touching the core? As a plugin maybe?

Yes; create a Widget plugin.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.