Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Product Creation Date Rate Topic   - - - - -

 
  • yableh
  • Newbie
  • Trial users
  • Join Date: 11-Feb 12
  • 13 posts

Posted 23 August 2018 - 01:41 AM #1

Hi,

Someone can help to display the product creation date under the product image in the category page like this:

Product name 1
Today, 22:55

Product name 2
Yesterday, 08:22

Product name 3
August 21, 01:15

 

Thank you



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19966 posts

Posted 23 August 2018 - 06:52 AM #2

What template do you want to change? Grid?


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • yableh
  • Newbie
  • Trial users
  • Join Date: 11-Feb 12
  • 13 posts

Posted 23 August 2018 - 12:32 PM #3

What template do you want to change? Grid?

 

Grid and List without option

 

Thank you



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19966 posts

Posted 23 August 2018 - 01:25 PM #4

At first you should use hooks in the fn_get_products function (app/functions/fn.catalog.php) to get creation date from the database

 

Then use hooks in the following templates to display data in the necessary location

 

design/themes/THEME/templates/blocks/list_templates/products_list.tpl

design/themes/THEME/templates/blocks/list_templates/grid_list.tpl


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • yableh
  • Newbie
  • Trial users
  • Join Date: 11-Feb 12
  • 13 posts

Posted 23 August 2018 - 02:46 PM #5

At first you should use hooks in the fn_get_products function (app/functions/fn.catalog.php) to get creation date from the database

 

Then use hooks in the following templates to display data in the necessary location

 

design/themes/THEME/templates/blocks/list_templates/products_list.tpl

design/themes/THEME/templates/blocks/list_templates/grid_list.tpl

 

Thank you eComLabs, but still complicated for me to work with cs-cart hooks :)



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19966 posts

Posted 24 August 2018 - 06:10 AM #6

Hire someone from this forum to make this small modification for you


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • yableh
  • Newbie
  • Trial users
  • Join Date: 11-Feb 12
  • 13 posts

Posted 25 August 2018 - 12:01 AM #7

Hire someone from this forum to make this small modification for you

 

Thank you.

 

I am preparing a document for all changes I want for my future site, then I will ask for a quotation



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19966 posts

Posted 27 August 2018 - 06:45 AM #8

Feel free to contact us


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • Alt-team
  • CS-Cart Developer
  • Authorized Reseller
  • Join Date: 18-Jan 11
  • 2692 posts

Posted 28 August 2018 - 11:41 AM #9

We are also at your service.

 

Best regards,

Alt-team.


ADD-ONS  Web development service  | CS-Cart dedicated developers

Buy MULTIVENDOR - USD 1250 (14% off)   Buy CS-CART LICENCE - USD 345 (13% off)

 Email - manager@alt-team.com | Skype - Altteam