View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Thread began 10/14/2009 5:43 pm by info323054 | Last modified 11/12/2009 7:33 pm by info323054 | 3817 views | 31 replies


Universal Email and OrderID

Dear Jason,

Thanks to your code, now the cart shows both the Tax row and the Shipping cost row. Thank you so much.

Please, I need to solve these four goals:

Tax Calculation:
The formula we wrote: ([Price] - ([Price] * $_SESSION['tax'])) * [Quantity] does not work properly because of this. For instance, lets start by a price of 109 euros that has a 16% tax rate included. In order to get the base price of it, we have to divide 109 by 1.16 and it gives you the base price of 93,96 euros. Consequently, the tax value that must show the cart should be the difference between 109 and 93,96.
If we follow the formula ([Price] - ([Price] * $_SESSION['tax'])) * [Quantity] the base Price that gives us is 91,56, which is not correct.
Considering that the calculation is made on 0.16, which is what appears on the database table, how sould be the formula for this to work fine?

Mail sent to the buyer:
I have applied Universal Email to the confirm page, but when the shopper reaches that page, a message with the order details is sent to the shopper. It is okay, but it is sent just when the shopper arrives at the confirm page, not when the order has been paid. If the customer does not press the button Submit Now, the order is sent anyway, but it shouldn’t until the cutomer has paid. How can I make the email is sent once the shopper has paid? I do not use local checkout. The payment process takes place at the Banks page.

Cart empty
I think that the cart should get emptly once the buying has been done. How can I clean all sessions in order to get the cart emptly once the shopper has paid?

Order ID
I think the session_id records the order id on the email that is sent by the Universal Email message, but instead of sending the order id, that should be, 1, 2, 3 etc. (that is what it is recorded on the databse), it sends a strange long character. How can I make it send the proper Order ID?

Thank you in advance for your support, indeed.

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





Ease of use


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