dinamically add form fields in Zencart Product Page

Closed

Zencart ( as many other cms ) has a very difficult way to handle attributes and its prices

I have a website of 100+ products , each one has its own 4 to 9 possibles sizes

I refuse to create all that attributes in zencart.

I have an xml where every Product name has its sizes and prices.

The application should detect the name of the product ( easy, get PRODUCTNAME VALUE from zencart core ) read that xml and create N radiobuttons

Each radio button represent a certain size ( lets say

* 10 x 10 ----- 5$ ( initial price )

* 20 x 20 ----- 7$ ( additional 2$ to the initial price )

* 30 x 30 ----- 9$ ( additional 4$ to the initial price )

the first radio button should be selected by default

If someone clicks on any of the other radio buttons ( lets say 20 x 20 ) , two things should occur

the amount of additional $ (2) should be stored in a variable and the size ( 20 x 20 ) should be stored in other variable

two hidden form text fields are waiting to receive that variables

id[TEXT_PREFIX5] should be a string with N characters ( the AMOUNT of characters is the additional value of the radio button selected , in our example 2 , so that variable should receive a '--' string

id[TEXT_PREFIX9] should receive the text of the size selected ( in our example a string '20 x 20' )

And that's it

when user clicks BUY button the both variables should pass to the purchase process as the other already native attributes present in that product page

This last part of the process was already tested , and it works

If you figure out how to read the xml, and create the radio buttons and control wich one is clicked to get the appropiated values, the rest of the magic will occur

In fact, some products are developed in flash, where an actionscript is already doing all this trick

Please before bid READ CAREFULLY all this

I wont reply to bidders that doesn´t type " I KNOW WHAT YOU NEED" in the bid

Thanks to anybody

Skills: AJAX, Javascript, PHP, Zen Cart

See more: product type name zencart, how to get a value in javascript, 10 page website price, native radio, how to add a button, core value, Form Fields, product additional attributes, javascript xml form, javascript add button, php hidden fields, add form php website, javascript flash control, add product price core php, form magic, hidden form fields php, xml amount price, create product page website, zencart products attributes, pass lets, php form hidden, zencart product attributes, zencart products, zencart radio control, control actionscript javascript

About the Employer:
( 4 reviews ) alicante, Spain

Project ID: #4289951

9 freelancers are bidding on average €204 for this job

sanjay2004

We have strong hands at zencart and handled quite a few complex projects in zencart. " I KNOW WHAT YOU NEED"

€250 EUR in 4 days
(437 Reviews)
9.3
SunFlowerBiz

" I KNOW WHAT YOU NEED" Hi, please check PM for our portfolio. Regards,

€250 EUR in 7 days
(76 Reviews)
7.1
oscworker

I KNOW WHAT YOU NEED and ready to start.

€120 EUR in 4 days
(69 Reviews)
6.5
shaileshpatil17

I Understand what you need....Experience in Zencart from past 7 years, please check PM for more details.

€185 EUR in 7 days
(10 Reviews)
5.8
techwelf

" I KNOW WHAT YOU NEED"Hi we checked your requirement,We could develop as per your need. u could check that out. we would work till your satisfaction. Thanks & Regards Techwelfare Please check inbox for our pr More

€250 EUR in 15 days
(38 Reviews)
5.8
sudhakarsp

I KNOW WHAT YOU NEED. Please see my private message.

€80 EUR in 3 days
(60 Reviews)
5.3
ddhnyh1

" I KNOW WHAT YOU NEED" Hello, Please check your PMB, Thanks.

€250 EUR in 5 days
(17 Reviews)
4.8
skchybd

Please see pm

€200 EUR in 20 days
(1 Review)
2.0
dimouzunov

" I KNOW WHAT YOU NEED" You will get the best customer service possible and I will definitely do the job for you !

€250 EUR in 5 days
(0 Reviews)
0.0