bel3atar Posted February 11, 2017 Share Posted February 11, 2017 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? Link to comment Share on other sites More sharing options...
joseantgv Posted February 13, 2017 Share Posted February 13, 2017 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 More sharing options...
bel3atar Posted February 13, 2017 Author Share Posted February 13, 2017 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 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