close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Checkout won't calculate shipping

Thread began 2/22/2010 3:45 pm by wilyumcj205276 | Last modified 3/25/2010 6:34 pm by wilyumcj205276 | 4918 views | 41 replies

wilyumcj205276

<tr class="eC_SummaryFooter">
<td class="eC_SummaryLabel">Grand Total:</td>
<td><?php echo WA_eCart_DisplayMoney($eCart1, $eCart1->GrandTotal()); ?></td>
</tr>

</table>
</div>
</div>
</form>
<?php
//WA eCart Show If Middle
}
else {
?><table><tr><td>The cart is empty</td></tr></table><?php
//WA eCart Show If End
}
?>

<div class="eC_PurchaserInfoWrapper">
<h3 class="eC_InfoHeader" >Payment Information</h3>
<div class="eC_MediumArea">
<div class="eC_InfoContainer" >

<p class="eC_OrderInfo"> <strong class="eC_OrderInfoLabel">Card number:</strong> xxxx xxxx xxxx <?php echo((strlen(((isset($_POST["cc_number"]))?$_POST["cc_number"]:""))<4)?((isset($_POST["cc_number"]))?$_POST["cc_number"]:""):substr(((isset($_POST["cc_number"]))?$_POST["cc_number"]:""),(strlen(((isset($_POST["cc_number"]))?$_POST["cc_number"]:""))-4),4)); ?><br />
<strong class="eC_OrderInfoLabel">Expiration date:</strong><?php echo((isset($_POST["exp_month"]))?$_POST["exp_month"]:"") ?>/<?php echo((isset($_POST["exp_year"]))?$_POST["exp_year"]:"") ?><br />
<strong class="eC_OrderInfoLabel">Security number:</strong> <?php echo((isset($_POST["cvv"]))?$_POST["cvv"]:"") ?></p>


</div>
</div>
<h3 class="eC_InfoHeader">Billing Information</h3>
<div class="eC_MediumArea">
<div class="eC_InfoContainer">
<p class="eC_OrderInfo"><?php echo((isset($_POST["firstname"]))?$_POST["firstname"]:"") ?>&nbsp;<?php echo((isset($_POST["lastname"]))?$_POST["lastname"]:"") ?><br />
<?php echo((isset($_POST["street1"]))?$_POST["street1"]:"") ?><br />
<?php echo((isset($_POST["city"]))?$_POST["city"]:"") ?>,&nbsp;<?php echo((isset($_POST["state_province"]))?$_POST["state_province"]:"") ?>&nbsp;<?php echo((isset($_POST["postcode"]))?$_POST["postcode"]:"") ?><br />
<?php echo((isset($_POST["country"]))?$_POST["country"]:"") ?></p>
</div>
</div>
<h3 class="eC_InfoHeader">Shipping Information</h3>
<div class="eC_MediumArea">
<div class="eC_InfoContainer">
<p class="eC_OrderInfo"><?php echo((isset($_POST["shipping_firstname"]))?$_POST["shipping_firstname"]:"") ?>&nbsp;<?php echo((isset($_POST["shipping_lastname"]))?$_POST["shipping_lastname"]:"") ?><br />
<?php echo((isset($_POST["shipping_street1"]))?$_POST["shipping_street1"]:"") ?><br />
<?php echo((isset($_POST["shipping_city"]))?$_POST["shipping_city"]:"") ?>,&nbsp;<?php echo((isset($_POST["shipping_state_province"]))?$_POST["shipping_state_province"]:"") ?>&nbsp;<?php echo((isset($_POST["shipping_postcode"]))?$_POST["shipping_postcode"]:"") ?><br />
<?php echo((isset($_POST["shipping_country"]))?$_POST["shipping_country"]:"") ?><br />
<?php echo((isset($_POST["shipping_phone"]))?$_POST["shipping_phone"]:"") ?>
</p>
</div>
</div>
</div>

<div class="eC_Power_Pacifica_Arial">

<div class="eC_CheckoutFormWrapper">
<form name="ecart_checkout_form" action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="post">
<div class="eC_PurchaserInfoWrapper">
<div class="eC_CheckoutFormBody">

</div>
</div>
<table class="eC_ButtonWrapper" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><input type="hidden" name="cc_type" id="cc_type" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_cc_type"]))?$_SESSION["eCartCheckoutForm_cc_type"]:"") ?>" />
<input type="hidden" name="cc_number" id="cc_number" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_cc_number"]))?$_SESSION["eCartCheckoutForm_cc_number"]:"") ?>" />
<input type="hidden" name="exp_month" id="exp_month" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_exp_month"]))?$_SESSION["eCartCheckoutForm_exp_month"]:"") ?>" />
<input type="hidden" name="exp_year" id="exp_year" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_exp_year"]))?$_SESSION["eCartCheckoutForm_exp_year"]:"") ?>" />
<input type="hidden" name="cvv" id="cvv" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_cvv"]))?$_SESSION["eCartCheckoutForm_cvv"]:"") ?>" />
<input type="hidden" name="firstname" id="firstname" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_firstname"]))?$_SESSION["eCartCheckoutForm_firstname"]:"") ?>" />
<input type="hidden" name="lastname" id="lastname" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_lastname"]))?$_SESSION["eCartCheckoutForm_lastname"]:"") ?>" />
<input type="hidden" name="email" id="email" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_email"]))?$_SESSION["eCartCheckoutForm_email"]:"") ?>" />
<input type="hidden" name="phone" id="phone" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_phone"]))?$_SESSION["eCartCheckoutForm_phone"]:"") ?>" />
<input type="hidden" name="fax" id="fax" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_fax"]))?$_SESSION["eCartCheckoutForm_fax"]:"") ?>" />
<input type="hidden" name="street1" id="street1" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_street1"]))?$_SESSION["eCartCheckoutForm_street1"]:"") ?>" />
<input type="hidden" name="street2" id="street2" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_street2"]))?$_SESSION["eCartCheckoutForm_street2"]:"") ?>" />
<input type="hidden" name="city" id="city" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_city"]))?$_SESSION["eCartCheckoutForm_city"]:"") ?>" />
<input type="hidden" name="state_province" id="state_province" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_state_province"]))?$_SESSION["eCartCheckoutForm_state_province"]:"") ?>" />
<input type="hidden" name="postcode" id="postcode" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_postcode"]))?$_SESSION["eCartCheckoutForm_postcode"]:"") ?>" />
<input type="hidden" name="country" id="country" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_country"]))?$_SESSION["eCartCheckoutForm_country"]:"") ?>" />
<input type="hidden" name="shipping_firstname" id="shipping_firstname" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_shipping_firstname"]))?$_SESSION["eCartCheckoutForm_shipping_firstname"]:"") ?>" />
<input type="hidden" name="shipping_lastname" id="shipping_lastname" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_shipping_lastname"]))?$_SESSION["eCartCheckoutForm_shipping_lastname"]:"") ?>" />
<input type="hidden" name="shipping_email" id="shipping_email" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_shipping_email"]))?$_SESSION["eCartCheckoutForm_shipping_email"]:"") ?>" />
<input type="hidden" name="shipping_phone" id="shipping_phone" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_shipping_phone"]))?$_SESSION["eCartCheckoutForm_shipping_phone"]:"") ?>" />
<input type="hidden" name="shipping_fax" id="shipping_fax" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_shipping_fax"]))?$_SESSION["eCartCheckoutForm_shipping_fax"]:"") ?>" />
<input type="hidden" name="shipping_street1" id="shipping_street1" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_shipping_street1"]))?$_SESSION["eCartCheckoutForm_shipping_street1"]:"") ?>" />
<input type="hidden" name="shipping_street2" id="shipping_street2" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_shipping_street2"]))?$_SESSION["eCartCheckoutForm_shipping_street2"]:"") ?>" />
<input type="hidden" name="shipping_city" id="shipping_city" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_shipping_city"]))?$_SESSION["eCartCheckoutForm_shipping_city"]:"") ?>" />
<input type="hidden" name="shipping_state_province" id="shipping_state_province" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_shipping_state_province"]))?$_SESSION["eCartCheckoutForm_shipping_state_province"]:"") ?>" />
<input type="hidden" name="shipping_postcode" id="shipping_postcode" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_shipping_postcode"]))?$_SESSION["eCartCheckoutForm_shipping_postcode"]:"") ?>" />
<input type="hidden" name="shipping_country" id="shipping_country" value="<?php echo ((isset($_SESSION["eCartCheckoutForm_shipping_country"]))?$_SESSION["eCartCheckoutForm_shipping_country"]:"") ?>" />
<input type="button" value="Modify information" class="eC_FormButton" onclick="history.back();return false;"/><input type="submit" name="Submit_order" id="Submit_order" value="Checkout" class="eC_FormButton" />
</td>
</tr>
</table>
</form>
</div>
</div>

<p class="eC_SmallPrint">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>

</div>
</body>
</html>

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