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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Correct Workfow?

Thread began 8/25/2011 1:56 pm by chuck429411 | Last modified 12/16/2011 1:46 pm by chuck429411 | 7612 views | 105 replies

Jason ByrnesWebAssist

the code in the file you have sent is totaly diferant from the code in your previous response.

in the file you sent, line 10 is:

$itmObj->TotalPrice = ($itmObj->Price + ((abs([Size] == '250ml'))?$itmObj->Price250ml:0) + ((abs([Size] == '400ml'))?$itmObj->Price400ml:0) ) * $itmObj->Quantity;//c



the cause of the problem is case sensitivity.

The size column is named:
size

with a lower case "s", this means in calculation, you will need to change [Size] to [size]

  One more thing: I want to give a price break at 1 case (12 pieces) and at 4+ cases. Can we do that? Sorry about all the questions.  



you keep on adding pieces to the puzzle without first understanding how to accomplish the initial piece.

It is very difficult to give advice on how to configure the cart when you keep moving the goal post. you need to give me a complete overview of all of the conditions you want to take into place.

Each one of those conditions will effect the overall approach to configuring the cart. When you keep adding pieces to puzzle, it just makes things more complicated because it has the potential to undo all of the previous work.

When you have a complete overview of the cart, let me know.

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...