{"id":349,"date":"2017-05-30T09:09:23","date_gmt":"2017-05-30T14:09:23","guid":{"rendered":"https:\/\/easydigitaldownloads.com\/development\/?p=349"},"modified":"2021-12-15T15:30:58","modified_gmt":"2021-12-15T21:30:58","slug":"frontend-submissions-2-5-beta-1-released","status":"publish","type":"post","link":"https:\/\/easydigitaldownloads.com\/development\/2017\/05\/30\/frontend-submissions-2-5-beta-1-released\/","title":{"rendered":"Frontend Submissions 2.5 beta 1 released"},"content":{"rendered":"<p><a href=\"https:\/\/easydigitaldownloads.com\/downloads\/frontend-submissions\/\">Frontend Submissions<\/a> is one of our most widely used extensions and provides a powerful feature set that allows site owners to easily create a complete multi-vendor marketplace. Today we&#8217;re happy to\u00a0release the first beta of version 2.5, an update we&#8217;ve been working on for a few weeks since our team acquired full rights to the Frontend Submissions plugin in April.<!--more--><\/p>\n<p>It has been more than a year since the last major update to Frontend Submissions but now with the plugin under the EDD team&#8217;s control, we will be pushing out updates much more rapidly.<\/p>\n<p>This update includes 27 distinct improvements and bug fixes.<\/p>\n<h3>Save as draft option<\/h3>\n<p>In 2.5 we are introducing a new option for vendors to save drafts of their product submissions before sending the product off for review or publication.<\/p>\n<p><a href=\"https:\/\/easydigitaldownloads.com\/development\/files\/2017\/05\/fes-save-draft.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-351\" src=\"https:\/\/easydigitaldownloads.com\/development\/files\/2017\/05\/fes-save-draft-1024x695.png\" alt=\"\" width=\"722\" height=\"490\" srcset=\"https:\/\/easydigitaldownloads.com\/development\/files\/2017\/05\/fes-save-draft-1024x695.png 1024w, https:\/\/easydigitaldownloads.com\/development\/files\/2017\/05\/fes-save-draft-300x204.png 300w, https:\/\/easydigitaldownloads.com\/development\/files\/2017\/05\/fes-save-draft-768x521.png 768w\" sizes=\"auto, (max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<p>The\u00a0<em>Save Draft\u00a0<\/em>option will be shown when submitting new products and when editing products that have not yet been approved.<\/p>\n<h3>Improved\u00a0frontend dashboard, form, and field\u00a0markup<\/h3>\n<p>One of the biggest challenges them authors have had with integrating Frontend Submissions into their themes is the sub-par markup the plugin has had since version 1.0. In version 2.5 we have\u00a0worked to improve as much of the markup as possible to make it easier for\u00a0developers to integrate it into their sites and to\u00a0bring the markup up to expected standards.<\/p>\n<p>There are several areas we have adjusted:<\/p>\n<ul>\n<li>Tables have been removed from the login and registration forms and replaced with <em>div<\/em>\u00a0tags.<\/li>\n<li>Fields in the submission, profile, registration, and contact forms incorrectly had <em>fieldset\u00a0<\/em>tags wrapped around each field. These have been replaced with more semantically correct\u00a0<em>div\u00a0<\/em>tags.<\/li>\n<li>A\u00a0<em>div\u00a0<\/em>wrapper has been added to the\u00a0<em>Vendor Dashboard\u00a0<\/em>that surrounds the menu and the main dashboard body.<\/li>\n<li>Inline CSS has been removed from all frontend forms.<\/li>\n<li><em>H1<\/em> tags have been replaced with\u00a0<em>legend\u00a0<\/em>tags where appropriate and\u00a0<em>H3\u00a0<\/em>tags everywhere else.<\/li>\n<li>Some input fields did not have proper labels with\u00a0<em>for\u00a0<\/em>attributes. These have been fixed.<\/li>\n<li>A lot of CSS class names and IDs have been standardized. Note, no existing class names or IDs were removed or changed for backwards compatibility reasons.<\/li>\n<\/ul>\n<p>These changes should make it significantly easier for theme developers and site owners to customize the display of all elements in Frontend Submissions. If you are a theme author that has already integrated Frontend Submissions, please test your theme with the new 2.5 beta and let us know if there are any inadvertently introduced issues.<\/p>\n<h3>More template files<\/h3>\n<p>We have introduced several new template files that will make it easier for theme authors and site owners to customize the display of the\u00a0<em>Vendor Dashboard\u00a0<\/em>area. The new files are:<\/p>\n<ul>\n<li>frontend-edit-product.php<\/li>\n<li>frontend-new-product.php<\/li>\n<li>frontend-profile.php<\/li>\n<\/ul>\n<p>These template files are pretty minimal as the bulk of the form display has to be handled through the form builder, but the files are now available so content\u00a0<em>around\u00a0<\/em>the forms can be more easily added or customized.<\/p>\n<h3>File formatting and coding standards<\/h3>\n<p>The EDD team always strives to maintain consistent coding standards and formatting through all of our projects. Frontend Submissions, however, has always had pretty stark differences in this area that frequently made it unnecessarily tedious to track down bugs and make improvements. With the 2.5 release, we have worked extensively to update the code standards and file formatting\u00a0of Frontend Submissions to better match the rest of the Easy Digital Downloads project. We made significant progress but there is still more to do.\u00a0We also worked to remove a large amount of duplicated and unnecessary logic in the codebase, which has significantly simplified many parts of the plugin.<\/p>\n<h3>Vendor stats recount tool<\/h3>\n<p>We have added a new tool that allows site admins to recount earnings and sales stats for vendors. This tool can be used to reset the stats on vendors in the case they become inaccurate, as can happen when\u00a0reassigning products, importing products, or anything else that involves manual changes to vendor accounts and their products.<\/p>\n<p><a href=\"https:\/\/easydigitaldownloads.com\/development\/files\/2017\/05\/fes-recount-stats.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-353\" src=\"https:\/\/easydigitaldownloads.com\/development\/files\/2017\/05\/fes-recount-stats-1024x173.png\" alt=\"\" width=\"722\" height=\"122\" srcset=\"https:\/\/easydigitaldownloads.com\/development\/files\/2017\/05\/fes-recount-stats-1024x173.png 1024w, https:\/\/easydigitaldownloads.com\/development\/files\/2017\/05\/fes-recount-stats-300x51.png 300w, https:\/\/easydigitaldownloads.com\/development\/files\/2017\/05\/fes-recount-stats-768x130.png 768w, https:\/\/easydigitaldownloads.com\/development\/files\/2017\/05\/fes-recount-stats.png 1774w\" sizes=\"auto, (max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<h3>New toggle field type<\/h3>\n<p>A new toggle field type has been introduced for the submission, registration, and profile form editors. This field can be used anytime you need vendors to opt in or out of a specific condition.<\/p>\n<p><a href=\"https:\/\/easydigitaldownloads.com\/development\/files\/2017\/05\/fes-toggle-field.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-354\" src=\"https:\/\/easydigitaldownloads.com\/development\/files\/2017\/05\/fes-toggle-field-1024x274.png\" alt=\"\" width=\"722\" height=\"193\" srcset=\"https:\/\/easydigitaldownloads.com\/development\/files\/2017\/05\/fes-toggle-field-1024x274.png 1024w, https:\/\/easydigitaldownloads.com\/development\/files\/2017\/05\/fes-toggle-field-300x80.png 300w, https:\/\/easydigitaldownloads.com\/development\/files\/2017\/05\/fes-toggle-field-768x205.png 768w\" sizes=\"auto, (max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<p>When submitted, a metadata row will be created with a boolean value, meaning you can easily use this field to\u00a0conditionally turn things on or off based on the checked status of the field.<\/p>\n<h3>New email for scheduled product publication<\/h3>\n<p>A new email\u00a0option has been added that allows vendors to automatically receive an email when one of their products changes from scheduled to published. This will allow vendors to be notified when one of their products that has been scheduled for release is actually published on the site.<\/p>\n<h3>Other improvements<\/h3>\n<p>Along with the highlights above, we&#8217;ve also introduced a number of other improvements and bug fixes:<\/p>\n<ul>\n<li>A bug that caused files to be reassigned to site admins when editing a product in the backend has been fixed.<\/li>\n<li>The email sent to vendors when a vendor is manually approved was not being sent.<\/li>\n<li>Several hooks have been updated with additional parameters.<\/li>\n<li>The opt-in data tracking has been removed.<\/li>\n<li>A bug that caused the files section to not display on the vendor dashboard has been fixed.<\/li>\n<li>Vendor avatars now support all of the standard sizes.<\/li>\n<li>Several pagination bugs have been fixed.<\/li>\n<li>Pasting a file URL into the file upload field instead of uploading a field failed silently, now it shows an error message.<\/li>\n<li>Orders showed an incorrect status on the vendor dashboard when they were any status other than complete.<\/li>\n<li>File uploads are now always attached to the product they were uploaded to.<\/li>\n<li>New hooks have been added to the <em>Orders<\/em>\u00a0tab of the vendor dashboard.<\/li>\n<li>The\u00a0<em>Earnings<\/em>\u00a0tab of the vendor dashboard now\u00a0displays an overview of the vendor&#8217;s earnings.<\/li>\n<li>Usage of the deprecated get_page() function has been\u00a0replaced with get_post()<\/li>\n<li>Quick edit now works on the Downloads list table<\/li>\n<li>The settings that allowed the form used for submission, profile, contact, and registration have been removed as they were problematic and not needed.<\/li>\n<\/ul>\n<h3>Beta testing<\/h3>\n<p>The first beta of Frontend Submissions\u00a0version 2.5 is available to all valid license holders now, allowing store owners to try it out on their <a href=\"https:\/\/easydigitaldownloads.com\/blog\/staging-site-e-commerce\/\">staging environments<\/a> before going live with it. We\u2019ve been testing\u00a0it extensively\u00a0prior to releasing this beta and are confident with this version, but we encourage testing first to be sure. To learn how to opt-in to beta versions of our extensions, you can use <a href=\"https:\/\/docs.easydigitaldownloads.com\/article\/1807-how-do-i-get-beta-versions-of-extensions\">this guide<\/a>.<\/p>\n<p>The final release of Frontend Submissions 2.5 is planned for Monday, June 12, 2017.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Frontend Submissions is one of our most widely used extensions and provides a powerful feature set that allows site owners to easily create a complete multi-vendor marketplace. Today we&#8217;re happy to release the first beta of version 2.5, an update we&#8217;ve been working on for a few weeks since our team acquired full rights to the Frontend Submissions plugin in April.<\/p>\n","protected":false},"author":650,"featured_media":350,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3],"tags":[16],"class_list":["post-349","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-extensions","tag-frontend-submissions"],"_links":{"self":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/users\/650"}],"replies":[{"embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/comments?post=349"}],"version-history":[{"count":8,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/349\/revisions"}],"predecessor-version":[{"id":365,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/349\/revisions\/365"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/media\/350"}],"wp:attachment":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/media?parent=349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/categories?post=349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/tags?post=349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}