1001 Freelance Projects
Latest Projects from Freelance Marketplaces
Today is: 18-May-2024 13:29 GMT
View Project
View this project in detail (Note: you will be redirected to external marketplace)
Project title: WooCommerce PHP/Javascript Scripting
Posted by: External project from PeoplePerHour
Started: 13-Apr-2023 18:54 GMT
Description: Hello, I'm building a custom plugin for my own personal use. It allows me to view the dimensions of a file I have uploaded. It outputs the height and the width. This part is completed.

What you must do: I have a number of pre-defined print-sizes, which I can list in pixels. For example:
A4 equals 1984x2816 pixels
A5 equals 1398x1984 pixels
30x30 Square equals 2900x2900 pixels
etc.

I would like a script to create a number of HTML checkboxes based on suitability of the pre-defined print-size compared to the uploaded image size. An uploaded image sized 2000x2900 pixels will yield a high quality print, at 240 DPI, when produced at A4 size (requires no less than 1984x2816 pixels).

There should be some deviation allowed, perhaps 500 pixels or 5%, whatever is easier to code.

In this example the script would highlight A4 as the most 'suitable' print size (can be done with a css class 'match') as the exact size is within the deviation of 500 pixels of 5%. All the other print sizes that are smaller than A4 and match the print aspect ratio should now also be available as checkboxes, no additional class should be added. ie. A5 equals 1398x1984 pixels.

The aspect ratio is important. Notice we have a size called '30x30 Square' which equals 2900x29000 pixels. I would like this option to be available as a checkbox, however I want a class attached called 'mismatch', which I will use to note that though the pixel size is suitable, the aspect ratio will be completely incorrect.

A final example. The user supplies image dimensions 1400 x 2000 pixels. Result would be one single checkbox "A5" as it is the only suitable size available. It would have the class 'match', as it is within the deviation of 500 pixels or 5%.

There should follow a 'submit' button, titled 'add to variations.

That ends the first part of the script.

The second part I need your help with; I wish to take the user's selection(s) and create a new attribute group, we'll hard-code it's name "print_dimensions". With each selected checkbox, as above, your script will create a new attribute term (if it does not exist already) and attach to this product, it will also create a variation from the attribute with the default price of: 10.00 and no stock management.

This should all happen via AJAX, with NO page reload.

I can provide some example code, where I have attempted these functions, but I do not have the skill to complete the coding. I need professional help!

Thanks kindly,
Project ID: 3320842
Project category:
Project budget:
View this project in detail (Note: you will be redirected to external marketplace)
Last Projects / Browse Projects
  Project Started
Creative Video Editing
Category: Audio Services, Video Editing, Video Production, Video Services, Videography
Budget: ₹750 - ₹1250 INR
18-May-2024
10:04 GMT
Shopify Website, Creatives & Logo Design
Category: ECommerce, Graphic Design, Logo Design, Shopify Development, Web Design
Budget: ₹1500 - ₹12500 INR
18-May-2024
10:03 GMT
Visit Visa Sponsorship Letter from Austria or Spain
Category: Immigration Law, Visa / Immigration, Visa Ready Resources
Budget: €30 - €250 EUR
18-May-2024
10:03 GMT
Technical English to Arabic Translator Needed
Category: Arabic Translator, English (UK) Translator, English (US) Translator, Proofreading, Translation
Budget: $250 - $750 USD
18-May-2024
10:02 GMT
English to Indonesian Translation Services
Category: English (UK) Translator, English (US) Translator, Indonesian Translator, Traditional Chinese (Hong Kong), Translation
Budget: $10 - $30 USD
18-May-2024
10:02 GMT
Printed Document Copy Typing
Category: Copy Typing, Data Entry, Excel, PDF, Transcription
Budget: ₹750 - ₹1250 INR
18-May-2024
10:01 GMT
Statistical Marketing Campaigns (Trial Period) – PLEASE READ BEFORE APPLYING -- 5
Category: Facebook Ads, Instagram Ads, Snapchat, Tiktok Ads, Twitter
Budget: $10 - $30 USD
18-May-2024
10:00 GMT
Online Digital Product Sales Platform
Category: Logo Design, Web Design
Budget: ₹750 - ₹1250 INR
18-May-2024
10:00 GMT
YouTube Video Editor Needed
Category: Video Editing, Video Production, Video Services, Videography, YouTube
Budget: ₹600 - ₹1500 INR
18-May-2024
10:00 GMT
Minimalist T-Shirt Designer for Clothing Brand
Category: Graphic Design, Logo Design, Photoshop, Photoshop Design, T Shirts
Budget: ₹1500 - ₹12500 INR
18-May-2024
09:59 GMT
Bright & Colorful Promotional Banner Design
Category: Banner Design, Graphic Design, Logo Design, Photoshop, Photoshop Design
Budget: £20 - £250 GBP
18-May-2024
09:58 GMT
Entertaining Content Ghostwriter Needed
Category: Article Writing, Content Writing, Copywriting, Creative Writing, Ghostwriting
Budget: ₹1500 - ₹12500 INR
18-May-2024
09:58 GMT
Automatic A4 Page Number Fill by using php css js html
Category: CSS, HTML, JavaScript, PHP, Web Design
Budget: ₹1500 - ₹12500 INR
18-May-2024
09:57 GMT
Professional Video Editor Needed for my youtube channel
Category: Article Writing, Content Writing, Video Editing, Video Services, YouTube Video Editing
Budget: ₹100 - ₹400 INR
18-May-2024
09:57 GMT
Google Search Console Issues Resolution
Category: Google Analytics, Internet Marketing, Link Building, SEO, WordPress
Budget: ₹100 - ₹400 INR
18-May-2024
09:57 GMT
Browse All Projects
Projects by Skills ...
Projects for 'android'
Projects for 'ajax'
Projects for 'asp'
Projects for 'aspnet'
Projects for 'cms'
Projects for 'cpp'
Projects for 'csharp'
Projects for 'css'
Projects for 'delphi'
Projects for 'design'
Projects for 'drupal'
Projects for 'excel'
Projects for 'facebook'
Projects for 'flash'
Projects for 'html'
Projects for 'java'
Projects for 'javascript'
Projects for 'joomla'
Projects for 'iphone'
Projects for 'mysql'
Projects for 'photoshop'
Projects for 'php'
Projects for 'python'
Projects for 'ruby'
Projects for 'seo'
Projects for 'sql'
Projects for 'sysadm'
Projects for 'translate'
Projects for 'typing'
Projects for 'twitter'
Projects for 'vbnet'
Projects for 'xml'
Projects for 'wordpress'
Projects for 'writing'
Read RSS feeds ... New!
RSS feed for 'android'
RSS feed for 'ajax'
RSS feed for 'asp'
RSS feed for 'aspnet'
RSS feed for 'cms'
RSS feed for 'cpp'
RSS feed for 'csharp'
RSS feed for 'css'
RSS feed for 'delphi'
RSS feed for 'design'
RSS feed for 'drupal'
RSS feed for 'excel'
RSS feed for 'facebook'
RSS feed for 'flash'
RSS feed for 'html'
RSS feed for 'java'
RSS feed for 'javascript'
RSS feed for 'joomla'
RSS feed for 'iphone'
RSS feed for 'mysql'
RSS feed for 'photoshop'
RSS feed for 'php'
RSS feed for 'python'
RSS feed for 'ruby'
RSS feed for 'seo'
RSS feed for 'sql'
RSS feed for 'sysadm'
RSS feed for 'translate'
RSS feed for 'typing'
RSS feed for 'twitter'
RSS feed for 'vbnet'
RSS feed for 'xml'
RSS feed for 'wordpress'
RSS feed for 'writing'
New!
Проекты на русском
(Projects in Russian)

Long URL:
www.1001freelanceprojects.com
Mobile version:
m.1001fp.com
Copyright © 2005-2022 1001 Freelance Projects