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

Ecart final process and email issues

Thread began 5/25/2014 2:29 pm by rgolab68503 | Last modified 6/10/2014 11:56 am by rgolab68503 | 1326 views | 26 replies

rgolab68503

Changed the cart somehow.

Sorry Jason, yes the email is working fine. But when I was going through everything to fix it a messed up the cart somehow.

When I now choose checkout I know it is not posting properly. It is actually skipping the shipping information and going straight to checkout with no ship to information.

<form action="<?php echo((isset($_POST[""]))?$_POST[""]:"") ?>" method="post" >
<table cellpadding="0" border="0" class="eC_HeadingTable">
<tr class="cart_header_d">
<td><h2>Your Shopping Cart</h2></td>
<!-- <td class="eC_bottomLine"><div>&nbsp;</div></td> -->
</tr>
</table>
<table width="95%" border="0" cellpadding="0" cellspacing="0" class="eC_ShoppingCart">
<tr>
<th >Item</th>
<th >Code</th>
<th >&nbsp;</th>
<th class="eC_PriceItem">Price</th>
<th class="eC_FormItem">Quantity</th>
<th class="eC_FormItem">Remove</th>
<th class="eC_PriceItem">Total</th>
</tr>
<?php
while (!$dtelecart->EOF()) {
?>
<tr class="eC_DataRow">
<td ><img src="../thumb/<?php echo $dtelecart->DisplayInfo("Thumbnail"); ?>" alt="Product thumbnail" class="eC_ProductThumb" /></td>
<td id="dtelecart_JSON_Display_Code_<?php echo $dtelecart->DisplayInfo("WAUID"); ?>"><?php echo $dtelecart->DisplayInfo("Code"); ?></td>
<td class="eC_GroupColumn"><p id="dtelecart_JSON_Display_Name_<?php echo $dtelecart->DisplayInfo("WAUID"); ?>" class="eC_ItemName"><?php echo $dtelecart->DisplayInfo("Name"); ?></p>
<p id="dtelecart_JSON_Display_Description_<?php echo $dtelecart->DisplayInfo("WAUID"); ?>" class="eC_ItemDescription min_tablet"><?php echo $dtelecart->DisplayInfo("Description"); ?></p>
<p class="eC_ItemRemove_Link max_tablet"><a style="font-size:1em" href="#" onclick="waec_update('Remove','dtelecart_Quantity_<?php echo $dtelecart->DisplayInfo("WAUID"); ?>',this);">Remove</a></p></td>
<td class="eC_PriceItem" id="dtelecart_JSON_Display_Price_<?php echo $dtelecart->DisplayInfo("WAUID"); ?>"><?php echo WA_eCart_DisplayMoney($dtelecart, $dtelecart->DisplayInfo("Price")); ?></td>
<td class="eC_FormItem"><input type="text" id="dtelecart_Quantity_<?php echo $dtelecart->DisplayInfo("WAUID"); ?>" name="dtelecart_Quantity_<?php echo $dtelecart->DisplayInfo("WAUID"); ?>" size="3" value="<?php echo $dtelecart->DisplayInfo("Quantity"); ?>" onkeypress="waec_showUpdate('dtelecart_Update_Quantity_<?php echo $dtelecart->DisplayInfo("WAUID"); ?>',this);" /></td>
<td class="eC_FormItem"><input type="checkbox" value="<?php echo $dtelecart->DisplayInfo("ID"); ?>" name="dtelecart_Delete_<?php echo $dtelecart->DisplayInfo("WAUID"); ?>" /></td>
<td class="eC_PriceItem" id="dtelecart_JSON_Display_TotalPrice_<?php echo $dtelecart->DisplayInfo("WAUID"); ?>"><?php echo WA_eCart_DisplayMoney($dtelecart, $dtelecart->DisplayInfo("TotalPrice")); ?></td>
</tr>
<?php
$dtelecart->MoveNext();
}
$dtelecart->MoveFirst();
?>
</table>
<div class="eC_OrderSummary">
<table border="0" cellpadding="0" cellspacing="0" class="eC_CartSummary">
<?php
//WA eCart Merchandizing Show Start
//ecart="dtelecart"
if ($dtelecart->GetDiscounts() > 0 || $dtelecart->GetCharges() > 0 || $dtelecart->GetShipping() > 0 || $dtelecart->GetTax() > 0) {
?>
<tr>
<td class="eC_Subtotal eC_SummaryLabel">Sub-total</td>
<td class="eC_Subtotal" id="dtelecart_JSON_Display_SubTotal"><?php echo WA_eCart_DisplayMoney($dtelecart, $dtelecart->TotalColumn("TotalPrice")); ?></td>
</tr>
<?php
//WA eCart Merchandizing Show End
//ecart="dtelecart"
}
?>
<?php
//WA eCart Merchandizing Show Start
//ecart="dtelecart"
if ($dtelecart->GetDiscounts() > 0) {
?>
<?php
//WA eCart Merchandizing Show End
//ecart="dtelecart"
}
?>
<?php
//WA eCart Merchandizing Show Start
//ecart="dtelecart"
if ($dtelecart->GetCharges() > 0) {
?>
<?php
//WA eCart Merchandizing Show End
//ecart="dtelecart"
}
?>
<?php
//WA eCart Merchandizing Show Start
//ecart="dtelecart"
if ($dtelecart->GetShipping() > 0) {
?>
<?php
//WA eCart Merchandizing Show End
//ecart="dtelecart"
}
?>
<?php
//WA eCart Merchandizing Show Start
//ecart="dtelecart"
if ($dtelecart->GetTax() > 0) {
?>
<?php
//WA eCart Merchandizing Show End
//ecart="dtelecart"
}
?>
<tr class="eC_SummaryFooter">
<td class="eC_SummaryLabel">Grand Total:</td>
<td id="dtelecart_JSON_Display_GrandTotal"><?php echo WA_eCart_DisplayMoney($dtelecart, $dtelecart->GrandTotal()); ?></td>
</tr>
</table>
</div>
<table class="eC_ButtonWrapper" cellpadding="0" cellspacing="0">
<tr class="cart_buttons_d">
<td><input type="submit" name="dtelecart_Continue_100" id="dtelecart_Continue_100" value="Continue Shopping" class="eC_FormButton" />
<input type="submit" name="dtelecart_Clear_100" id="dtelecart_Clear_100" value="Clear Cart" class="eC_FormButton desktop_only" />
<input type="submit" name="dtelecart_Update_100" id="dtelecart_Update_100" value="Update Cart" class="eC_FormButton desktop_only" />
<input type="submit" name="dtelecart_Checkout_1" id="dtelecart_Checkout" value="Checkout" class="eC_FormButton" /></td>
</tr>
</table>
</form>

I tried various things to have it post correctly but I know it isn't right now and couldn't get it to work. Could you take a quick look please?

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