Post by virtualgeorge » Sun Nov 23, 2014 3:28 am

I need to create an anchor link to a location on the product page.

If I create a link in product.tpl, how can echo the current path / url for the link?
I will then add the anchor to the link.

thanks!!

Active Member

Posts

Joined
Wed Jun 18, 2008 5:57 am

Post by uksitebuilder » Sun Nov 23, 2014 5:48 pm

$_SERVER["REQUEST_URI"] should give you everything after the domain name.

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom
Who is online

Users browsing this forum: No registered users and 15 guests