Create div markup from JSON

In Progress Posted 7 years ago Paid on delivery
In Progress Paid on delivery

Hi, this is a much simpler job than it was because I have done the first bit of the job to make it clear (I have mapped out the JSON myself, please see attached screenshot of the object with my annotations).

This can all be done clientside in your browser console - no backend server access needed, no plugins needed, etc.

I need the "child" products contained in the JSON to be summarised with JS into an HTML list and inserted into point x in the html :

- point x will be before/after a class/id/etc. That css selector location should be hard coded as a variable at the start of the js

- the method call in the graphic needs to use the correct 'parent' id (collected from the html meta data : product id "716" in the example image)

- get only child products with quantity >=1

- datapoints needed for each child product are: image, titles, variant attributes+values (if any), quantities.

- each product is to have it's own div with a shared childproduct classname

- each datapoint in a childproduct div must also have its own div and class name e.g. title or image

- all data is in the JSON, except the image url

- you use the correct product id from the JSON to get each image URL via a simple REST call. the correct product id is explained in the image, e.g. simple vs variable (the image must be the one in position zero like in [login to view URL])

So you understand the context of the screenshot and what is going on:

- product 716 is a single page composite product

- a composite product is a type of product builder, using other products (like build your own PC)

- composite product selections can be simple, variable (attribute based: red, big, etc.) or even "bundle" child products

- bundle products are also annotated in the JSON screenshot. bundles contain yet more child products that you buy more than one of at a time. It is those selected children that are to be in the list

In short the point of this list is to show the things a buyer will actually receive. That means all product selections actually made by a buyer (in structured divs that we can later CSS on demand).

Many thanks. Please ask any questions you need!

HTML HTML5 JavaScript jQuery / Prototype

Project ID: #12980965

About the project

15 proposals Remote project Active 7 years ago

15 freelancers are bidding on average £148 for this job

Risalat1

Ready to work with you, Would like to discuss it further.. let me know if you are free to discuss..........

£250 GBP in 5 days
(427 Reviews)
8.2
Pan1k

Hello, I'll be glad to help you. I have 5 years experience in websites development. I have practical experience in use different technologies, such as HTML4/5, CSS3, Twitter Bootsrap, SASS/SCSS, javascript, jquery, res More

£111 GBP in 2 days
(14 Reviews)
4.8
cracken

Hi, I am well equipped to this kind of task and can handle it pretty well. In fact, I already done job related to this before. Let me know the best of your time so we can discuss further based on your requirements and More

£249 GBP in 3 days
(4 Reviews)
3.9
BernardoLima

A proposal has not yet been provided

£133 GBP in 3 days
(7 Reviews)
3.2
johnburd

Hello, I don't have a lot of projects to show, but you can get an idea what I can do if you visit silverburd.com. I've been making websites since about 7th grade and I really enjoy doing it. It would be awesome to work More

£150 GBP in 3 days
(5 Reviews)
2.7
samiem41

Hi , I am pretty confident person with strong hold on javascript and frontend frameworks like Angular Js. You can trust me with this kind of work and I will not let you down. you can check my previous project done for More

£100 GBP in 7 days
(6 Reviews)
2.5
PontusDD

Hello, my name is Gabriel and I am the chief developer of Pontus design & development. It is a pretty straightforward request and I have solved similar problems. I placed the bet for 5 days in order to guarantee th More

£222 GBP in 5 days
(0 Reviews)
0.0
pencraftit

Studying at IIT Madras, We are a team of JavaScript enthusiast and have been developing web apps and games using JS for over 3 years. I understood your project completely and its easy for us to do this. New profile on More

£50 GBP in 3 days
(0 Reviews)
0.0