Jump to content

Displaying Start/End Date of Promotions


roz
 Share

Recommended Posts

hello!

 

is there a way how to display the start and end date of product promotion on product page? or how to edit the source code to include it?

 

thanks in advance! :)

Share this post


Link to post
Share on other sites

Inside product.tpl (theme folder) try:

 

{$product->specificPrice.from}

{$product->specificPrice.to}

 

;)

 

Of course, use a condition to check if there is a specific price first, and dates are actually valid!

Share this post


Link to post
Share on other sites

i'm actually not a php coder :)  mind doing the conditions for me? :) 

i tried it inserting first and it's showing the correct dates. only need the conditions and the formatting of date :)

many thanks!

Share this post


Link to post
Share on other sites

Inside product.tpl (theme folder) try:

 

{$product->specificPrice.from}

{$product->specificPrice.to}

 

;)

 

Of course, use a condition to check if there is a specific price first, and dates are actually valid!

 

okay i now only need the correct way how to format this in DD-MM-YYYY. can help how to code it? :)

Share this post


Link to post
Share on other sites

 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More