Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Dynamic link from category name


Recommended Posts

I am trying to make a link at the top of the category list that will open a .htm file that changes depending of the category name. I have got it all covered EXCEPT how to define the URL from the category name. I have tried something like this :


<?php echo '<a href= tep_get_categories_name($cPath) target="_self"><u>CLICK HERE</u></a>'; ?>


But it only gives me the name of the variable, not the content in the URL. I am also not sure how to add the .htm extention so i get the URL like:




when I click on the link.


Any help would be much appreciated !




Link to comment
Share on other sites


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

  • Create New...