Jump to content

How I can collect all the available carriers inside the carriers class based on a key word?


giwrgos88

Recommended Posts

Hello, I have overridden a function inside the carriers class and I'm looking a way to have an array of the carriers ids based on a word that exist inside the name the carrier. I know I can do an SQL query and using the LIKE option to get all the available ids but before I continue with this solution I want to know if prestashop is already provides this method.

 

Thank you

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...