mitzayapa Posted January 22, 2018 Share Posted January 22, 2018 Is there any link var that displays everything but the webpage and https:// ? I mean like The product has the url : https://www.page.com/dir1/dir2/dir3/product.html i need to a var that echoes "/dir1/dir2/dir3/" {$link->getCategoryLink($category)} does that , except it puts the https://www.page.com too , any way to remove it ? Thanks alot. Link to comment Share on other sites More sharing options...
sifo1515 Posted January 23, 2018 Share Posted January 23, 2018 Hi You can check url setting on seo page on back office. Best Regards. Link to comment Share on other sites More sharing options...
mitzayapa Posted January 23, 2018 Author Share Posted January 23, 2018 For anyone that looks for the same thing ... {$link->getCategoryLink($category)|replace:'https://www.webpage.com':''|escape:'htmlall':'UTF-8'} -- it replaces "https://www.webpage.com" with nothing .. That will do the trick. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now