quats4 Posted March 16, 2006 Posted March 16, 2006 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
quats4 Posted April 3, 2006 Author Posted April 3, 2006 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.