1001 Freelance Projects
Latest Projects from Freelance Marketplaces
Today is: 29-Mar-2024 14:28 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
Scanned PDF typed into Spreadsheet
Category: Copy Typing, Data Entry, Data Processing, Excel, Transcription
Budget: $10 - $30 CAD
29-Mar-2024
11:04 GMT
Detailed Kitchen 3D Model Design
Category: 3D Animation, 3D Design, 3D Modelling, 3D Rendering, 3ds Max
Budget: £174 - £175 GBP
29-Mar-2024
11:03 GMT
Urgent: Cartoon-Style Comic Artist Needed
Category: Arts & Crafts, Caricature & Cartoons, Concept Design, Illustration
Budget: €2 - €6 EUR
29-Mar-2024
11:02 GMT
CSS Repair on WordPress Layout
Category: CSS, HTML, PHP, Web Design, WordPress
Budget: £10 - £20 GBP
29-Mar-2024
11:02 GMT
Product Details Web Data Scraping
Category: Data Mining, Excel, Python, Web Scraping
Budget: ₹750 - ₹1250 INR
29-Mar-2024
11:00 GMT
Event Bartender Needed for 50 Guests
Category: Copy Typing, Customer Support, Data Entry, Virtual Assistant, Web Search
Budget: $30 - $250 SGD
29-Mar-2024
11:00 GMT
Virtual Assistant for Document Transcription
Category: Copy Typing, Data Entry, Excel, Transcription, Virtual Assistant
Budget: $15 - $25 USD
29-Mar-2024
11:00 GMT
Advanced Excel Tabulation
Category: Data Entry, Data Processing, Excel, Microsoft Office, Visual Basic
Budget: €30 - €250 EUR
29-Mar-2024
11:00 GMT
Dokończenie strony - PHP/ CodeIgniter 3
Category: Codeigniter, CSS, MySQL, PHP, Web Design
Budget: $1000 - $5000 USD
29-Mar-2024
10:58 GMT
customization a wordpress payment gateway plugin
Category: CSS, HTML, PHP, Web Design, WordPress
Budget: $30 - $250 USD
29-Mar-2024
10:57 GMT
Pet Tracker: Bluetooth-Based Subscription App
Category: Android, IPad, IPhone, Mobile App Development, Objective C
Budget: $30 - $250 AUD
29-Mar-2024
10:57 GMT
Survey Form Validation JavaScript Script
Category: CSS, HTML, JavaScript, JQuery / Prototype, PHP
Budget: €250 - €750 EUR
29-Mar-2024
10:55 GMT
Opensearch Implementation For Detailed PDF Mining
Category: Elasticsearch, Generative AI, JavaScript, PHP
Budget: $10 - $30 USD
29-Mar-2024
10:55 GMT
I need two customised audio backdrops samples 29-Mar-2024
10:41 GMT
Player statistics website 29-Mar-2024
10:41 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)

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