AttackFromNowhere Posted November 19, 2020 Share Posted November 19, 2020 Hi guys :) In a .tpl, I'm displaying current url with : https://mywebsite.com/{$smarty.server.SCRIPT_URL} So i obtain : https://mywebsite.com/shop1/mycategory/myproduct/ or https://mywebsite.com/shop2/mycategory/myproduct/ depending on the shop i'm connected on. I need to delete the /shop1 or /shop2 in the url in order to obtain https://mywebsite.com/mycategory/myproduct/ How to do that ? Any idea ? Thank you guys ! 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