close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

custom calculation

Thread began 11/06/2009 1:13 pm by chssagmi366905 | Last modified 11/11/2009 3:39 pm by Jimmy Wu | 1083 views | 4 replies |

chssagmi366905

custom calculation

I'm bringing in a session variable named "mthCost" which is cost for the remainder of the month for a membership business. If I use a flat fee as a test only, it shows up, but what I'm trying to do is add nothing to the variable "mthCost" and just display it as additional cost. I made a custom calculation "$_SESSION['mthCost'] + 0" but the name of the custom calculation is not showing up in eCart merchandising rule "calculations at the bottom" for me to select it, so therefore nothing shows on the display in the browser. The trigger is set for if the "session variable mthCost has a value greater than 0".

thanks

Sign in to reply to this post

Jimmy Wu

Why are you adding 0 to the value of the session variable in this?

I'm not sure what steps you're taking to get to where you're at. Can you take some screen shots and post up the steps you're taking so I can be more clear on what you're doing?

Sign in to reply to this post

chssagmi366905

Dynamic eCart data

The only reason I was adding zero was in the custom calculation I thought it needed some calculation instead of just "Session variable as the value by itself". No problem I deleted the zero but the question is still the same. There are two of your pages, the first has 8 "add to cart buttons" with a session variable named "mthCost". I just need your "display manager", 2nd page, to display the variable as a charge. The name of the charge is set up in your "charges tab" so it will display but the value of that charge (session['mthCost']) is what I need to display without any further calculations or anything except to display the variable as it is as a charge. The calculations has already been done when it gets to the "display manager" so I just need to display the dynamic data.

Sign in to reply to this post

chssagmi366905

merchandising rule

To be clear it's the calculation at the bottom of the merchandising rule where I'm confused. I have the trigger to be if the session variable has a value greater than zero and I thought at the bottom calculation there would be a place to set the value to the "custom calculation" I did on the "eCart calculation tab" or just to the value of the session variable but it is not. That is where I get lost using your display manager to just display my values.
thanks

Sign in to reply to this post

Jimmy Wu

You will not be able to add an additional display to the display manager using the Wizard. You will have to manually add this after creating the display. Just copy the code for one of the rows and make the correct modifications and insert it into the area you want. You can replace the value being displayed with the session variable.

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