Jump to content

How to apply PS_BASE_URI to search module?


pthieu

Recommended Posts

 

I am building a search module for Prestashop. I am able to apply the BASE_URI onto my JS and CSS assets so they load fine.

I have an issue where if shops have set a BASE_URI, when they search on my search bar and hit enter, it still goes to <domain>/?query_params, but actually I need it to go to <domain>/BASE_URI/?query_params.

I'm not sure where to start, feels like I need to write some logic in my front controller but I can't seem to find any resources online to point me into the right direction.

 
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...