News:

Support the VirtueMart project and become a member

Main Menu

Product Created Date on Browse Page

Started by mark R, January 11, 2012, 20:42:36 PM

Previous topic - Next topic

mark R

Hi All,

I am trying to get an image on browse/catagory page to show which a re new products.

But i am having problems with getting the created date on the browse page.
i did this on v1.1 but the vm2 files have changed alot.

any help would be much appreciated.

Thanks
Mark
Seek and ye shall find.........
4 VM sites and counting

PRO

created_on   is the database field.

<?php echo $product->created_on ?>

you can access the product fields on the category page by doing $product->COLUMN_NAME

you can access anything thats in the product table on the product page by doing $this->product->COLUMN_NAME

mark R

many thanks, works perfectly.

Cheers mark
Seek and ye shall find.........
4 VM sites and counting