Jump to content

Is there a way to use the distance variable to exclude areas for my local truck? (Custom shipping method)

Darth Moxy

Recommended Posts

If I have a local truck that will only run 100 miles from my zip is there a way to exclude that option if they are outside that?

Yes thatshouldwork. I've implemented logic in shipping before to charge based on the if the price variable is above a certain number then shipping is free (e.g. price > 500 ? 0:10)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Terms and conditions of this site