In this feature, we wanted to add the possibility of setting a begining date and ending date to show a product label.
To do so, we added two date fields in the database and did the same for the back office. We linked them together and added a simple condition in order to check if the product label should be shown in the storefront.
In this feature, we wanted to add the possibility of setting a begining date and ending date to show a product label.
To do so, we added two date fields in the database and did the same for the back office. We linked them together and added a simple condition in order to check if the product label should be shown in the storefront.