dinamically add form fields in Zencart Product Page

  • Status Closed
  • Budget N/A
  • Total Bids 9

Project Description

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

Get free quotes for a project like this
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online