How I would do it:
- Create a public accessible form in a page. Look at the code of front end submission plugins to get an idea.
- Create a custom post type
shipping
. - Create a custom user role
customer
with very limited capabilities (read_shipping
,edit_user_profile
). - After form submission create a new
shipping
entry, register the user in your role if she hasn’t already and send an email to the person who handles shippings. - Check all customer data, add the shipping information to the
shipping
and send an email to the customer with a link to the page holding shipping information.
There are some tricky details:
- Spam bots will hit your forms.
- Customers shouldn’t have to enter all their personal data each time new. Offer a login form, ajaxify it.
- Probably some more, you’ll see it when you start writing code. 🙂
I wouldn’t say simple.
Related Posts:
- Creating search form for custom database table
- Get multiple db prefix with $wpdb
- How can I add data to a custom column in the Users section of the wordpress backend?
- Adding a Table to the wordpress database
- Get Value from Column in Plugin Table [closed]
- The function can not create a table on MariaDB server
- Creating custom database table with crud operation
- dbDelta not creating tables with composite keys
- Saving contact form 7 data into custom Table
- How to make wordpress use a non-wordpress users table?
- Gravity Forms – gform_field_value – query custom table breaks functions.php
- Custom select query two tables by a meta key
- Custom Database Table and foreach
- WordPress search on a custom table
- Get All Results From Other Users That Share The Same Custom User Meta As Current User
- What is my error trying to create a new table in the database?
- data retrieval presents last set of data
- Create single{custom}.php with data in table out of wp_posts
- Database custom table issues – incorrect result displayed
- How to get value from wp_usermeta table in database?
- When is it OK to create a custom table for a plugin? [duplicate]
- Best Practices for Regression Testing WordPress Websites?
- Custom Walker: how to get ID in function start_lvl
- What is true chmod for WordPress?
- wp_trim_words() does not trim the_content() in WordPress
- How can I create an alternative home page?
- Gallery Shortcode: using link attribute to link to a specific image size
- Getting $comments outside the comment template
- get_theme_mod(); returns nothing
- Limit comments displayed on basis of user_id
- Customizer image control default value showing in customizer but not on frontend
- Find and replace domain name on the fly?
- What is the most idiomatic way to let clients edit phrases in HTML?
- How to Register and Display Widget for Custom taxonomy
- How to change “Dashboard” text in wordpress
- Image Editor does not affect custom sizes!
- How to access my php page in wordpress
- How to display post title & excerpt when mouse hovers on an image?
- How to fix the IE9/WordPress Twenty Ten Header Image Display Problem?
- Automatically add image caption with values from a post parent field?
- Search result page redirect ex.com/?s=searchterms to ex.com/searchterms
- Add styles with wp_add_inline_style only if modifications exist wp_add_inline_style
- What changes we need to make to a theme so it can be installed as a MU Theme?
- Add custom field to woocommerce variations [closed]
- Get Custom Logo Alt Text
- How would you implement a CTA infront of a videoplayer? [closed]
- How can I get the custom post type assigned to a current custom taxonomy for query?
- $wpdb->replace: WHERE?
- Unable to edit the “customize” section and the “widget” section is populating unknown code
- Can’t receive $args[ ] to my custom widget
- Custom table naming/access convention for multisite: $table_prefix vs base_prefix or other?
- Can I create my own custom Attachment Display Setting?
- Blog page problems
- What WordPress Hook Is Used Before Signup Data is Saved?
- One WordPress install for main site at domain.com and blog at blog.domain.com?
- How to locate where an element is generated?
- Installing new theme on running site
- Combine two conditions in one statement syntax [closed]
- Is there a way to add a new value into a stored custom field value?
- Custom Loop Query For Search Page
- spaces in a text
- Customizing Users in Admin Area
- Good way to customize admin CSS?
- Add table to WordPress database
- get_delete_post_link( $post->ID ) is blank when logged in as “subscriber”
- Menu not appearing in custom theme
- How can i display custom menu in sidebar?
- How to redirect the home page to a custom page?
- How to Add Additional Search Button?
- WordPress pagination with custom post type?
- How to replace blog page url with subdomain at all places, even in xml sitemap?
- Add array of post id’s to a category?
- Make the home page template my archive/category page template without code duplication
- How to create multipage form and redirect to specific URL based on inpput?
- WordPress 5: including larger thumbnail image sizes in srcset than I have set
- remove screenshot.png via dashboard
- Saving of Draft is failing
- Send default WooCommerce email when switching from custom order status
- Combine Categories & Custom Taxonomy
- Accept HTML in custom function
- How to access my WP site locally and publicly? [closed]
- A delete/trash all function?
- Why, when it comes to custom background and image, does ‘The first value registered’ win?
- Unable to retrieve data from multiple WordPress websites on same server
- How to customize the gallery shortcode in WordPress?
- Unable to show messages using ‘admin_notices’
- How can I add a Description column to the media library browser screen?
- Search a meta field for a value in all posts
- Upload files in wordpress
- Custom image sizes ignored in WP 3.5
- how to modify request to get_template_part()?
- Getting Custom Field value in WP_Query
- Adding Custom HTML/CSS/JS code in specific page
- Custom template not working for existing pages [closed]
- Loop display only 5 posts
- Adding Telescope / Meteor App to existing WordPress site
- Help needed renaming custom post
- Set custom banner image size with wp_customize
- User Query Multiple Orderby Clause
- How to display product variations on same row