Quote Originally Posted by kitcorsa View Post
this zen-cart store has it spot on i belive, dont know how the price is calculated if it csv or excel file but this is the idea http://www.curtainsmart.com.au/index...roducts_id=170

Both this and your previous example calculate the price via a little bit of embedded javascript.

I've not been able to identify the origins of the code, but if you view the source code from either site it isn't difficult to locate the relevant script(s), which you'll be able to copy for your own use.

You will of course need to study the surrounding html code to see how the script(s) are called/triggered and how the updated price gets displayed.

In short, the code you need *does* already exist, all you are really missing is clearly defined instructions as to how to implement it.

Might I suggest you also contact the owners of these stores' for more information, they may be able to point you to where they obtained the code (assuming they didn't write it themselves).

Cheers
Rod