kennethormandy / craft-marketplace

Make your Craft Commerce site a Marketplace, via Stripe
https://plugins.craftcms.com/marketplace
Other
7 stars 0 forks source link

Handle format isn’t validated or automatically fixed #11

Closed kennethormandy closed 3 years ago

kennethormandy commented 4 years ago

Possible to submit invalid handles, ex. This is my handle instead of thisIsMyHandle—obviously not actually useful anywhere, and will break the edit screen. Should validate the handle in the form, and before saving.

kennethormandy commented 3 years ago

Previously, it was possible to save a handle for the fee that isn’t valid in Craft. Then, the handle URL wouldn’t work when you went back to edit it.

Now, the edit URL will work, and the next time you go to save the handle, you’ll be prompted to fix the format.

Screen Shot 2021-03-05 at 11 46 43 AM