dinamically add form fields in Zencart Product Page

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

Taidot: AJAX, Javascript, PHP, Zen Cart

Näytä lisää: 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

Tietoa työnantajasta:
( 4 arvostelua ) alicante, Spain

Projektin tunnus: #4289951

8 freelanceria on tarjonnut keskimäärin 198 € tähän työhön


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

250 € EUR 4 päivässä
(689 arvostelua)

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

250 € EUR 7 päivässä
(104 arvostelua)

I KNOW WHAT YOU NEED and ready to start.

120 € EUR 4 päivässä
(115 arvostelua)

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

185 € EUR 7 päivässä
(67 arvostelua)

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

80 € EUR 3 päivässä
(184 arvostelua)

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

250 € EUR 5 päivässä
(22 arvostelua)

Please see pm

200 € EUR 20 päivässä
(32 arvostelua)

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

250 € EUR 5 päivässä
(0 arvostelua)