303 Center Hill Rd, Manchester Center VT 05255
Tel 802-362-0033
Mon-Sat 9 AM-6 PM

Upload Images and Create Product

You need to log in to upload images and create products.

Log In
jQuery(document).ready(function($) { $('#upload-form').on('submit', function(e) { e.preventDefault(); var formData = new FormData(this); $.ajax({ url: ajaxurl, // WordPress AJAX handler type: 'POST', data: formData, processData: false, contentType: false, success: function(response) { if (response.success) { // Append the HTML response to a div with id "post-results" $('#post-results').html(response.data); } else { alert('Error occurred: ' + response.data); } }, error: function(xhr, status, error) { console.log(error); } }); }); });