Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Display Comments on Product Info Page


quats4

Recommended Posts

Posted

Would anyone know of a contribution or how to add conditional text to the Product Information Page.

 

I have a category of products that when clicked on I want to state whether the products are still available , will be available for x time and maybe some other text.

 

I would prefer a solution driven by the date available that is stored with the products but a hard coded solution would be fine for now.

 

thank you

  • 3 weeks later...
Posted

If you hard code I have a quick solution. In catalog/includes/languages/english open up the index.php file. You can change the HEADING_TITLE by determing the category or product being sent through the URL. Here is the code to do that. Look into cPath

 

elseif ($HTTP_GET_VARS['cPath']=='21_22') {

define('HEADING_TITLE', 'This is not available');

 

Just make sure you perform the conditions at the right levels. (Product or Category)

 

Good Luck

 

 

 

 

 

Would anyone know of a contribution or how to add conditional text to the Product Information Page.

 

I have a category of products that when clicked on I want to state whether the products are still available , will be available for x time and maybe some other text.

 

I would prefer a solution driven by the date available that is stored with the products but a hard coded solution would be fine for now.

 

thank you

Archived

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

×
×
  • Create New...