close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

ecart calculations

Thread began 1/28/2011 1:40 am by david331670 | Last modified 2/04/2011 10:26 am by Jason Byrnes | 1064 views | 3 replies |

david331670

ecart calculations

A Big Ask.
I would like to calculate the size of a picture frame and matt on my online shop.
I need to calculate, area for matt and mount-board/glass and perimeter for picture frame.
I would like to select matt colour, sizes frame styles from data base fields in drop down lists.
I start off with picture size, ie 8x10, add 2" matt, (size now becomes 12"x14" for area and perimeter) Calculation is (area for glass and mount-board-LxW) + (perimeter -total 4 sides- L+Wx2-times Frame price/length), Keep track of the choices and add to cart.
Framing and matt sizes determined from the drop-down list. You can choose a frame without a matt, straight forward, if you add a matt size it needs to add that size to each side which increases the area as well as the perimeter. Matt sizes would be eg 1", 1.5", 2", 2.5", 3",3.5", 4" etc to 6"
I already have length, height and width set up in my cart calculator but that as far as I can get, simple calc would appear to be easy but this with matt sizes???
Can it be done??
I have seen online java script calculators for this on some web sites but I would like to integrate into ecart if I can.
I dont like making things easy.
Thanks for your help
Happy New Year
David

Sign in to reply to this post

Jason ByrnesWebAssist

sounds like you need to have a column for height and width in the cart object and another column for mat size.

then in the eCart add to cart button, set each of these three columns to be editable from a drop down list.

then you could create a calculation like:
(([height]+[mat]) + ([width]+[mat])) * 2

Sign in to reply to this post

david331670

ecart calcs

Jason, thank you I will give it a try

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...