Best before use date on products

LiteCart Fan
จาก Sweden
เป็นสมาชิกตั้งแต่ พ.ค. 2022

Hello

How can i insert this information on a product, look on the picture.

So customer can se this product have a best before date

tim
Founder
จาก Sweden
เป็นสมาชิกตั้งแต่ พ.ค. 2013
tim

This is related to specific stock items rather than the product page or product in general. Some stock can be of different expire dates.
I like the idea but just wanted to point that out.

You would need to create a new field in lc_products where this information is stored.
After that assign a snippet in pages/product.inc.php that is passed to the HTML view holding the value.
Then output that snippet in your template views/box_product.inc.php.

A freelancer should be able to do this by paying for 20 minutes of their time.

Moderator
จาก Lithuania
เป็นสมาชิกตั้งแต่ มี.ค. 2016

@blixten19 would you like to see this released in adons store?

Merchant
จาก United Kingdom
เป็นสมาชิกตั้งแต่ เม.ย. 2023

This is a good idea. I have this feature in our shop POS although a little more advanced as the pos notifies me if a product is coming close to its best before date. This would be a good feature for litecart.

LiteCart Fan
จาก Sweden
เป็นสมาชิกตั้งแต่ พ.ค. 2022

@dodo I like this feature and yes could absolutely see it as an add-on

LiteCart Fan
จาก Sweden
เป็นสมาชิกตั้งแต่ พ.ค. 2022

Thanks Tim you like it:)

LiteCart Fan
จาก Sweden
เป็นสมาชิกตั้งแต่ พ.ค. 2022

Great many thanks

LiteCart Fan
จาก Sweden
เป็นสมาชิกตั้งแต่ พ.ค. 2022

@dodo can we Can we change the color of "Best Before"

Designer
จาก Turkey
เป็นสมาชิกตั้งแต่ เม.ย. 2019

lol iam so happy to see @blixten has new addon!  iam sure @dodo will show us how to change text colors and background. Dodo, your answer should be for all type of texts, not for only "best before" :)

LiteCart Fan
จาก Sweden
เป็นสมาชิกตั้งแต่ พ.ค. 2022

this store just gets better and better now yes has a store that is top notch with lots of useful features nice look.  thanks @alins really good job.

Moderator
จาก Lithuania
เป็นสมาชิกตั้งแต่ มี.ค. 2016

Adding a color to it is as simple as this:


  background-color: #f00;
  color: #fff;
}```
คุณ
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.