Jump to content

Front Carrier filtering


Recommended Posts

Hi,

 

I'm developing a module to manage a serie of Carriers.

In the Backend, my module creates carriers "on the fly" via the configuration via $carrier->add().

 

In the front-end, I would like to filter carrier appearance based on some criteria's (GPS location)

Finding the customer address+GPS is done and is working. All carriers appear in the /order page

So far so good.

 

But... Now I would like to loop (in the frontend) through all created carriers to show only those fitting the needs of the customer

 

How can I do that ?

 

 

Thanks for your help

 

I'm using Prestashop 1.7

Edited by plog99 (see edit history)
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...