{"id":434,"date":"2024-04-30T09:21:30","date_gmt":"2024-04-30T09:21:30","guid":{"rendered":"https:\/\/mybeautysuite.co.za\/?p=434"},"modified":"2024-04-30T09:21:30","modified_gmt":"2024-04-30T09:21:30","slug":"create-a-new-product","status":"publish","type":"post","link":"https:\/\/mybeautysuite.co.za\/?p=434","title":{"rendered":"Create a new product"},"content":{"rendered":"\n            <form class=\"wpuf-form-add wpuf-form-layout1 wpuf-theme-style\" action=\"\" method=\"post\">\n\n                \n                <script type=\"text\/javascript\">\n                    if ( typeof wpuf_conditional_items === 'undefined' ) {\n                        wpuf_conditional_items = [];\n                    }\n\n                    if ( typeof wpuf_plupload_items === 'undefined' ) {\n                        wpuf_plupload_items = [];\n                    }\n\n                    if ( typeof wpuf_map_items === 'undefined' ) {\n                        wpuf_map_items = [];\n                    }\n                <\/script>\n\n                <ul class=\"wpuf-form form-label-left\">\n\n                            <li class=\"wpuf-el post_title\" data-label=\"Product Name\">\n                    <div class=\"wpuf-label\">\n            <label for=\"post_title_422\">\n                Product Name <span class=\"required\">*<\/span>            <\/label>\n        <\/div>\n        \n            <div class=\"wpuf-fields\">\n                <input\n                    class=\"textfield wpuf_post_title_422\"\n                    id=\"post_title_422\"\n                    type=\"text\"\n                    data-duplicate=\"\"\n                    data-required=\"yes\"\n                    data-type=\"text\" name=\"post_title\"\n                    placeholder=\"Please enter your product name\"\n                    value=\"\"\n                    size=\"40\"\n                \/>\n\n                <span class=\"wpuf-wordlimit-message wpuf-help\"><\/span>\n                            <\/div>\n                    <\/li>\n        \n            <li class=\"wpuf-el featured_image\" data-label=\"Product Image\">\n\n                    <div class=\"wpuf-label\">\n            <label for=\"featured_image_422\">\n                Product Image <span class=\"required\">*<\/span>            <\/label>\n        <\/div>\n        \n        <div class=\"wpuf-fields\">\n            <div id=\"wpuf-featured_image-422-upload-container\">\n                <div class=\"wpuf-attachment-upload-filelist\" data-type=\"file\" data-required=\"yes\">\n                    <a id=\"wpuf-featured_image-422-pickfiles\" data-form_id=\"422\" class=\"button file-selector  wpuf_featured_image_422\" href=\"#\">Product Image<\/a>\n\n                    <ul class=\"wpuf-attachment-list thumbnails\">\n\n                        \n                    <\/ul>\n                <\/div>\n            <\/div><!-- .container -->\n\n                    <span class=\"wpuf-help\">Upload the main image of your product<\/span>\n        \n        <\/div> <!-- .wpuf-fields -->\n\n        <script type=\"text\/javascript\">\n            ;(function($) {\n                $(document).ready( function(){\n                    var uploader = new WPUF_Uploader('wpuf-featured_image-422-pickfiles', 'wpuf-featured_image-422-upload-container', 1, 'featured_image', 'jpg,jpeg,gif,png,bmp,webp', 1024);\n                    wpuf_plupload_items.push(uploader);\n                });\n            })(jQuery);\n        <\/script>\n\n                <\/li>\n            \n            <li class=\"wpuf-el _product_image\" data-label=\"More pictures of your product\">\n\n                    <div class=\"wpuf-label\">\n            <label for=\"_product_image_422\">\n                More pictures of your product            <\/label>\n        <\/div>\n        \n            <div class=\"wpuf-fields\">\n                <div id=\"wpuf-_product_image-422-upload-container\">\n                    <div class=\"wpuf-attachment-upload-filelist\" data-type=\"file\" data-required=\"no\">\n                        <a id=\"wpuf-_product_image-422-pickfiles\" data-form_id=\"422\" class=\"button file-selector  wpuf__product_image_422\" href=\"#\">Product Image Gallery<\/a>\n\n                        <ul class=\"wpuf-attachment-list thumbnails\">\n\n                                                    <\/ul>\n                    <\/div>\n                <\/div><!-- .container -->\n\n                        <span class=\"wpuf-help\">Upload additional pictures of your product and will be shown as image gallery<\/span>\n        \n            <\/div> <!-- .wpuf-fields -->\n\n            <script type=\"text\/javascript\">\n                (function($) {\n                    $(document).ready( function(){\n                        var uploader = new WPUF_Uploader('wpuf-_product_image-422-pickfiles', 'wpuf-_product_image-422-upload-container', 5, '_product_image', 'jpg,jpeg,gif,png,bmp,webp', 1024);\n                        wpuf_plupload_items.push(uploader);\n                    });\n                })(jQuery);\n            <\/script>\n\n\n                <\/li>\n                    <li class=\"wpuf-el post_content\" data-label=\"Product description\">\n                    <div class=\"wpuf-label\">\n            <label for=\"post_content_422\">\n                Product description <span class=\"required\">*<\/span>            <\/label>\n        <\/div>\n        \n                            <div class=\"wpuf-fields wpuf-rich-validation wpuf_post_content_422\" data-type=\"rich\" data-required=\"yes\" data-id=\"post_content_422\" data-name=\"post_content\">\n            \n                <div id=\"wp-post_content_422-wrap\" class=\"wp-core-ui wp-editor-wrap tmce-active\"><link rel='stylesheet' id='dashicons-css' href='https:\/\/mybeautysuite.co.za\/wp-includes\/css\/dashicons.min.css?ver=6.9.4' type='text\/css' media='all' \/>\n<link rel='stylesheet' id='editor-buttons-css' href='https:\/\/mybeautysuite.co.za\/wp-includes\/css\/editor.min.css?ver=6.9.4' type='text\/css' media='all' \/>\n<div id=\"wp-post_content_422-editor-container\" class=\"wp-editor-container\"><textarea class=\"required wp-editor-area\" rows=\"20\" autocomplete=\"off\" cols=\"40\" name=\"post_content\" id=\"post_content_422\"><\/textarea><\/div>\n<\/div>\n\n\n                <span class=\"wpuf-help\">Write the full description of your product<\/span>\n                <\/div>\n        <\/li>\n                <li class=\"wpuf-el post_excerpt\" data-label=\"Product Short Description\">\n                    <div class=\"wpuf-label\">\n            <label for=\"post_excerpt_422\">\n                Product Short Description            <\/label>\n        <\/div>\n        \n                            <div class=\"wpuf-fields\">\n            \n                                    <textarea\n                        class=\"textareafield  wpuf_post_excerpt_422\"\n                        id=\"post_excerpt_422\"\n                        name=\"post_excerpt\"\n                        data-required=\"no\"\n                        data-type=\"textarea\"\n                        placeholder=\"\"\n                        rows=\"5\"\n                        cols=\"25\"\n                    ><\/textarea>\n                    <span class=\"wpuf-wordlimit-message wpuf-help\"><\/span>\n\n                    \n                        <span class=\"wpuf-help\">Provide a short description of your product<\/span>\n                <\/li>\n        \n            <li class=\"wpuf-el  field-size-large\" data-label=\"Type of Product\">\n\n                    <div class=\"wpuf-label\">\n            <label for=\"_422\">\n                Type of Product <span class=\"required\">*<\/span>            <\/label>\n        <\/div>\n        \n        <div class=\"wpuf-fields\">\n            <select\n                class=\"wpuf__422\"\n                id=\"_422\"\n                name=\"\"\n                data-required=\"yes\"\n                data-type=\"select\">\n\n                                    <option value=\"-1\">select from drop down<\/option>\n                \n                                        <option value=\"enable_full_price_and_booking\">Enable Full Price and Booking<\/option>\n                                                <option value=\"enable_deposit_+_booking\">Enable Deposit + Booking<\/option>\n                                                <option value=\"subscription_product\">Subscription Product<\/option>\n                                                <option value=\"payment_plan_product\">Payment Plan Product<\/option>\n                                    <\/select>\n                    <span class=\"wpuf-help\">Tell us if you want customers to book or pay deposit, subscription or payment plan<\/span>\n                <\/div>\n\n                <\/li>\n            \n            <li class=\"wpuf-el _regular_price\" data-label=\"Regular Price\">\n\n                    <div class=\"wpuf-label\">\n            <label for=\"_regular_price_422\">\n                Regular Price <span class=\"required\">*<\/span>            <\/label>\n        <\/div>\n        \n            <div class=\"wpuf-fields\">\n                <input\n                    class=\"textfield wpuf__regular_price_422\"\n                    id=\"_regular_price_422\"\n                    type=\"text\"\n                    data-required=\"yes\"\n                    data-type=\"text\" name=\"_regular_price\"\n                    placeholder=\"regular price of your product\"\n                    value=\"\"\n                    size=\"40\"\n                \/>\n\n                <span class=\"wpuf-wordlimit-message wpuf-help\"><\/span>\n                            <\/div>\n\n            \n        <\/li>\n\n                <\/li>\n            \n            <li class=\"wpuf-el _sale_price\" data-label=\"Sale Price\">\n\n                    <div class=\"wpuf-label\">\n            <label for=\"_sale_price_422\">\n                Sale Price            <\/label>\n        <\/div>\n        \n            <div class=\"wpuf-fields\">\n                <input\n                    class=\"textfield wpuf__sale_price_422\"\n                    id=\"_sale_price_422\"\n                    type=\"text\"\n                    data-required=\"no\"\n                    data-type=\"text\" name=\"_sale_price\"\n                    placeholder=\"sale price of your product\"\n                    value=\"\"\n                    size=\"40\"\n                \/>\n\n                <span class=\"wpuf-wordlimit-message wpuf-help\"><\/span>\n                        <span class=\"wpuf-help\">Do not add sale price if product is not on sale<\/span>\n                    <\/div>\n\n            \n        <\/li>\n\n                <\/li>\n            \n            <li class=\"wpuf-el product_reviews\" data-label=\"Product Reviews\">\n\n                    <div class=\"wpuf-label\">\n            <label for=\"product_reviews_422\">\n                Product Reviews            <\/label>\n        <\/div>\n        \n        <div class=\"wpuf-fields\">\n\n                                <label class=\"wpuf-checkbox-block\">\n                        <input\n                            type=\"checkbox\"\n                            class=\"wpuf_product_reviews_422\"\n                            id=\"product_reviews\"\n                            name=\"product_reviews[]\"\n                            value=\"_enable_reviews\"                            data-required=\"no\"\n                            data-type=\"checkbox\"\n                        \/>\n                        Enable reviews                    <\/label>\n                    \n            \n        <\/div>\n\n                <\/li>\n            \n        <li class=\"wpuf-submit\">\n            <div class=\"wpuf-label\">\n                &nbsp;\n            <\/div>\n\n            <input type=\"hidden\" id=\"_wpnonce\" name=\"_wpnonce\" value=\"35526b9ca2\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/index.php?rest_route=%2Fwp%2Fv2%2Fposts%2F434\" \/>            <input type=\"hidden\" name=\"form_id\" value=\"422\">\n            <input type=\"hidden\" name=\"page_id\" value=\"434\">\n            <input type=\"hidden\" id=\"del_attach\" name=\"delete_attachments[]\">\n            <input type=\"hidden\" name=\"action\" value=\"wpuf_submit_post\">\n\n            \n                            <input type=\"submit\" class=\"wpuf-submit-button wpuf_submit_422\" name=\"submit\" value=\"Add\/Create Product\" \/>\n            \n                    <\/li>\n\n        \n                <\/ul>\n\n            <\/form>\n\n            \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-434","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/mybeautysuite.co.za\/index.php?rest_route=\/wp\/v2\/posts\/434","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybeautysuite.co.za\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mybeautysuite.co.za\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mybeautysuite.co.za\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mybeautysuite.co.za\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=434"}],"version-history":[{"count":1,"href":"https:\/\/mybeautysuite.co.za\/index.php?rest_route=\/wp\/v2\/posts\/434\/revisions"}],"predecessor-version":[{"id":435,"href":"https:\/\/mybeautysuite.co.za\/index.php?rest_route=\/wp\/v2\/posts\/434\/revisions\/435"}],"wp:attachment":[{"href":"https:\/\/mybeautysuite.co.za\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mybeautysuite.co.za\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mybeautysuite.co.za\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}