Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Use PHP code in Product's Description?


Guest

Recommended Posts

Is it possible to use php in a product's description?

 

I use a simple code to show the date:

<?php echo( date("l, F d Y.") ); ?>

 

but it doesnt show.

 

Thing is ide like to include additional info for a product but only for registered members and the only way i know how to do this is using php in a product's description.

 

Any ideas?

 

Thanks

Link to comment
Share on other sites

You have to recode how it handles the product description. I've seen it posted previously. Essentially, you have to use an eval statement to process the code.

 

Hth,

Matt

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...