Jump to content

A module to show a carrier only for certain regions of a country


Recommended Posts

I run a shipping company that works only in a region of France.

Is it possible to create a prestashop module to have my Carrier be displayed in the list only if the buyer lives in the region I operate in?

 

Create a "Zone" only for this regions. Then enable carrier only for this zone.

Link to comment
Share on other sites

I need to write a module from scratch in order to have it call my carrier API.

Any idea what's the '@' for in the url field of the Carrier class?

    /** @var string URL with a '@' for */
    public $url;

Are there any docs for creating carriers programmatically and persisting then to the database?

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