Advertisement:

Author Topic: Expiration date at the item  (Read 136 times)

Germar

  • Newbie
  • *
  • Posts: 19
Expiration date at the item
« on: June 04, 2019, 10:46:56 am »
Hi,

Is it possible to place the expiration date (dt_expiration) of an item at the itemdisplay?

Regards, Germar
« Last Edit: June 04, 2019, 10:51:08 am by Germar »

calinbehtuk

  • Sr. Member
  • ****
  • Posts: 450
Re: Expiration date at the item
« Reply #1 on: June 04, 2019, 11:49:41 am »
The normal date in the format that is saved in database

<?php echo osc_item_dt_expiration(); ?>

And formatted date using osclass function

<?php echo osc_format_date(osc_item_dt_expiration()); ?>

Germar

  • Newbie
  • *
  • Posts: 19
Re: Expiration date at the item
« Reply #2 on: June 04, 2019, 01:08:20 pm »
The normal date in the format that is saved in database

<?php echo osc_item_dt_expiration(); ?>

And formatted date using osclass function
 
<?php echo osc_format_date(osc_item_dt_expiration()); ?>

Thanks calinbehtuk for the help! Implemented and it works!