bergerons Posted September 15, 2024 Share Posted September 15, 2024 Hello, I would like to know if there is a way to display custom text on a Regex URL or on a URL with faceted search. I tried this, but I couldn't make it work: https:\/\/mydomain.pt\/([^\/?produtores=obsessive). I would like to create custom text on certain categories with the same attribute. For example, display the same text for the following URLs: mydomain.pt/category1/?manufacturer=obsessive mydomain.pt/category2/?manufacturer=obsessive. Is there a way to achieve this? Link to comment Share on other sites More sharing options...
imjulien.dev Posted September 16, 2024 Share Posted September 16, 2024 Hello, you want to add a static block for the category page for a specific GET parameter ? You can override the template and use a smarty variable to retrieve the $_GET parameter : {if isset($smarty.get.manufacturer) and $smarty.get.manufacturer = "obsessive"} ... {/if} 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