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

How to set tax and shipping rules

Thread began 5/25/2011 7:52 pm by cicyou421883 | Last modified 6/01/2011 10:02 am by Jason Byrnes | 1181 views | 3 replies |

cicyou421883

How to set tax and shipping rules

I have a cart already made and I need to modify the tax and shipping rules

Tax needs to be added for California Only

Shipping needs to be $5.99 for orders between $.02 - $60.00 and $0.00 for $60.00 and over.

How do I change this? Thanx, Cathy

link to cart:

cart.php

current code says:

<?php
//WA eCart Merchandizing Show Start
//ecart="californianatural"
if ($californianatural->GetShipping() > 0) {
?>
<tr>
<td class="eC_SummaryLabel">Shipping</td>
<td><?php echo WA_eCart_DisplayMoney($californianatural, $californianatural->GetShipping()); ?></td>
</tr>
<?php
//WA eCart Merchandizing Show End
//ecart="californianatural"
}
?>
<?php
//WA eCart Merchandizing Show Start
//ecart="californianatural"
if ($californianatural->GetTax() > 0) {
?>
<tr>
<td class="eC_SummaryLabel">Tax</td>
<td><?php echo WA_eCart_DisplayMoney($californianatural, $californianatural->GetTax()); ?></td>
</tr>
<?php
//WA eCart Merchandizing Show End
//ecart="californianatural"
}

Sign in to reply to this post

Jason ByrnesWebAssist

you can set shipping and tax by editing the eCart object.

open the cart display page and go to the server behaviors panel. In the server behavior list, double click the eCart object. In the eCart object panel, sleect your vcart object and click the edit button.

in the Cart object window go to the shipping or tax panel to set the rules.

for tax, set the trigger to:

Session Variable exists:
eCartCheckoutForm_shipping_state_province

AND Based on session Variable valueL
Session Variable "eCartCheckoutForm_shipping_state_province" is "=" a value of "CA"

to make the tax apply to California only.


for the shipping, use the trigger:
Taxable total For the cart:
If the taxable total price for the cart is ">=" a value of "0.02"

AND
If the taxable total price for the cart is "<=" a value of "60"

Sign in to reply to this post

cicyou421883

Thank you

Hey Jason, Took me a few tries, but I finally did it! Your instructions are great.

Sign in to reply to this post

Jason ByrnesWebAssist

glad to hear i is working.

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