E-Commerce Application Problem

Discussion in 'Web Design & Programming' started by blade, Oct 27, 2006.

  1. blade

    blade GEEK 2.0

    Likes Received:
    0
    Trophy Points:
    0
    My site won't allow customers to continue to check out.
    After adding something to cart, signing in, then proceeding, a note would say there is nothing in the shopping cart. I also tried it , and I'm getting the sae problem.
    The check out procedure works find on IE7, Opera and firefox.
    I'm not sure what page source to give you that would help, heres the code for the "cart", "cart add", and "checkout" pages...

    Cart Source
    "<!-- begin cart template -->

    <p><ss:font source="$font.heading"><b>Shopping Cart</b></ss:font></p>

    <ss:font source="$font.paragraph">

    <ss:if test="$store.eBayWelcomeTextEnabled">
    <ss:if test="$cart.hasAuctionItems()">
    <p><ss:value source="$store.eBayWelcomeText"/></p>
    </ss:if>
    </ss:if>

    <ss:if test="$address">
    <table width="100%" border="0" cellpadding="2" cellspacing="2">
    <tr valign="top">
    <td width="50%"><ss:font source="$font.paragraph"><b>Shipping Address:</b><br/>
    <ss:value source="$address.recipient"/><br/>
    <ss:value source="$address.street"/><br/>
    <ss:if test="$address.street2">
    <ss:value source="$address.street2"/><br/>
    </ss:if>
    <ss:value source="$address.city"/> <ss:value source="$address.state"/> <ss:value source="$address.postalCode"/><br/>
    <ss:value source="$address.country"/><br/>
    <ss:value source="$address.phone"/><br/>
    </ss:font></td>
    </tr>
    <ss:if test="$cart.redirectedeBayItem">
    <tr><td><font size="-2"><ss:link source="$cart.redirectedeBayItem.viewItemUrl">Change shipping address on eBay</ss:link></font></td></tr>
    </ss:if>
    </table>
    </ss:if>

    <table width="100%" border="0" cellpadding="2" cellspacing="2">

    <ss:if test="$cart.haseBayDetails">
    <tr><td colspan="6"><hr color="#c0c0c0" noshade size="1"/></td></tr>
    <tr><td colspan="6"><ss:font source="$font.paragraph"><b>eBay Items</b></ss:font></td></tr>
    <tr valign="top">
    <td>&nbsp;</td>
    <td nowrap align="center"><ss:font source="$font.paragraph"><b>Qty</b></ss:font></td>
    <td nowrap align="center"><ss:font source="$font.paragraph"><b>SKU</b></ss:font></td>
    <td width="100%"><ss:font source="$font.paragraph"><b>Description</b></ss:font></td>
    <td nowrap align="right"><ss:font source="$font.paragraph"><b>Price</b></ss:font></td>
    <td nowrap align="right"><ss:font source="$font.paragraph"><b>Total</b></ss:font></td>
    </tr>

    <ss:foreach item="detail" within="$cart.eBaydetails">
    <tr valign="top">
    <td nowrap>
    <ss:set name="detailUrl" value="$system.concat('$',$detail.TransientUrl)"/>
    <ss:set name="detailUrl" value="$system.concat($detailUrl,'#quantity')"/>
    <font size="-2">
    <ss:link source="$url.buildurlwithparameter('Cart',$system.encode($detailUrl),'0')">
    <ss:param name="smode" value="update"/>
    Remove</ss:link>
    </font>
    </td>
    <td nowrap align="center">
    <ss:font source="$font.paragraph"><ss:value source="$detail.quantity"/></ss:font>
    </td>
    <td nowrap align="center"><ss:font source="$font.paragraph"><ss:value source="$detail.productInfo.sku"/></ss:font></td>
    <td width="100%"><ss:font source="$font.paragraph">
    <ss:value source="$detail.auctionOutcome.auctionItem.title"/><br/>
    <ss:value source="$detail.attributeText"/>
    </ss:font></td>
    <td nowrap align="right" nowrap><ss:font source="$font.paragraph"><ss:value source="$detail.price"/></ss:font></td>
    <td nowrap align="right" nowrap><ss:font source="$font.paragraph"><ss:value source="$detail.total"/></ss:font></td>
    </tr>
    </ss:foreach>
    <tr><td colspan="6"><hr color="#c0c0c0" noshade size="1"/></td></tr>
    <tr valign="top">
    <td colspan="5" align="right"><ss:font source="$font.paragraph">&nbsp;<br/>Sub-Total</ss:font></td>
    <td align="right" nowrap><ss:font source="$font.paragraph">&nbsp;<br/><ss:value source="$cart.eBaySubTotal" default="0"/></ss:font></td>
    </tr>
    <tr valign="top">
    <td colspan="5" align="right"><ss:font source="$font.paragraph"><b><ss:value source="$cart.eBayShippingDescription"/></b></ss:font></td>
    <td align="right" nowrap><ss:font source="$font.paragraph"><ss:value source="$cart.eBayShipping" default="0"/></ss:font></td>
    </tr>
    <tr valign="top">
    <td colspan="5" align="right"><ss:font source="$font.paragraph"><b>Sales Tax</b></ss:font></td>
    <td align="right" nowrap><ss:font source="$font.paragraph"><ss:value source="$cart.eBayTax" default="0"/></ss:font></td>
    </tr>
    <tr valign="top">
    <td colspan="5" align="right"><ss:font source="$font.paragraph"><b>eBay Total</b></ss:font></td>
    <td align="right" nowrap><ss:font source="$font.paragraph"><ss:value source="$cart.eBayTotal" default="0"/><p></ss:font></td>
    </tr>
    </ss:if>


    <ss:if test="$cart.hasStoreDetails">
    <tr><td colspan="6"><hr color="#c0c0c0" noshade size="1"/></td></tr>
    <tr><td colspan="6"><ss:font source="$font.paragraph"><b><ss:value source="$store.name"/> Items</b></ss:font></td></tr>
    <tr valign="top">
    <td>&nbsp;</td>
    <td nowrap align="center"><ss:font source="$font.paragraph"><b>Qty</b></ss:font></td>
    <td nowrap align="center"><ss:font source="$font.paragraph"><b>SKU</b></ss:font></td>
    <td width="100%"><ss:font source="$font.paragraph"><b>Description</b></ss:font></td>
    <td nowrap align="right"><ss:font source="$font.paragraph"><b>Price</b></ss:font></td>
    <td nowrap align="right"><ss:font source="$font.paragraph"><b>Total</b></ss:font></td>
    </tr>
    <ss:form shortcut="CartUpdate">
    <ss:foreach item="detail" within="$cart.storeDetails">
    <tr valign="top">
    <td nowrap>
    <ss:set name="detailUrl" value="$system.concat('$',$detail.TransientUrl)"/>
    <ss:set name="detailUrl" value="$system.concat($detailUrl,'#quantity')"/>
    <font size="-2">
    <ss:link source="$url.buildurlwithparameter('Cart',$system.encode($detailUrl),'0')">
    <ss:param name="smode" value="update"/>
    Remove</ss:link>
    </font>
    </td>
    <td nowrap align="center"><ss:font source="$font.paragraph"><ss:edit source="$detail.quantity" size="4"/></ss:font></td>
    <td nowrap align="center"><ss:font source="$font.paragraph"><ss:value source="$detail.productInfo.sku"/></ss:font></td>
    <td width="100%"><ss:font source="$font.paragraph">
    <ss:if test="$detail.auctionOutcome">
    <ss:value source="$detail.auctionOutcome.auctionItem.title"/>
    <ss:else/>
    <ss:value source="$detail.product.name"/>
    </ss:if>
    <br/><ss:value source="$detail.attributeText"/></ss:font></td>
    <td nowrap align="right" nowrap><ss:font source="$font.paragraph">
    <ss:if test="$detail.product.onSale">
    <font color="#AA0000"><ss:value source="$detail.price"/></font>
    <ss:else/>
    <ss:value source="$detail.price"/>
    </ss:if>
    </ss:font></td>
    <td nowrap align="right" nowrap><ss:font source="$font.paragraph"><ss:value source="$detail.total"/></ss:font></td>
    </tr>
    </ss:foreach>
    <tr><td colspan="6"><hr color="#c0c0c0" noshade size="1"/><ss:button source="$templateSet.images['update.gif']" border="0"/></td></tr>
    </ss:form>
    <tr valign="top">
    <td colspan="5" align="right"><ss:font source="$font.paragraph">&nbsp;<br>Sub-Total</ss:font></td>
    <td align="right" nowrap><ss:font source="$font.paragraph">&nbsp;<br><ss:value source="$cart.storesubTotal" default="0"/></ss:font></td>
    </tr>
    <ss:if test="$store.shipping.DisplayEstimates AND $cart.storeShippingItemCount > 0">
    <tr valign="top">
    <ss:if test="$cart.shipToPostalCode AND $cart.shippingQuotes">
    <ss:form shortcut="CartUpdate">
    <ss:include template="shippingestimates"/>
    </ss:form>
    <ss:else/>
    <td colspan="5" align="right"><ss:font source="$font.paragraph"><b>ESTIMATED SHIPPING</B></ss:font></td>
    <td align="right" nowrap><ss:font source="$font.paragraph"><ss:value source="$cart.storeShipping" default="0"/></ss:font></td>
    </ss:if>
    </tr>
    </ss:if>
    <tr valign="top">
    <td colspan="5" align="right"><ss:font source="$font.paragraph"><b><ss:value source="$store.name"/> ESTIMATED TOTAL</b></ss:font></td>
    <td align="right" nowrap><ss:font source="$font.paragraph"><ss:value source="$cart.storeTotal" default="0"/><p></ss:font></td>
    </tr>
    </ss:if>

    <ss:if test="$cart.haseBayDetails AND $cart.hasStoreDetails">
    <tr><td colspan="6"><hr color="#c0c0c0" noshade size="1"/></td></tr>
    <tr valign="top">
    <td colspan="5" align="right"><ss:font source="$font.paragraph"><b>Total</b></ss:font></td>
    <td align="right" nowrap><ss:font source="$font.paragraph"><ss:value source="$cart.total" default="0"/><p></ss:font></td>
    </tr>
    </ss:if>
    </table>

    <ss:if test="$store.shipping.DisplayEstimates AND $cart.storeShippingItemCount > 0">
    <ss:form shortcut="CartUpdate">
    <table width="100%" border="0" cellpadding="2" cellspacing="2">
    <tr valign="top">
    <td colspan="2" width="100%" align="right" nowrap>
    <ss:font source="$font.paragraph">To obtain an accurate shipping amount, enter shipping postal code (US only)</ss:font>
    </td>
    </tr>
    <tr valign="top">
    <td width="100%" align="right" nowrap>
    <ss:font source="$font.paragraph"><ss:edit source="$cart.shipToPostalCode" size="10"/></ss:font>
    </td>
    <td><input type="submit" name="Calculate" value="Submit"/></td>
    </tr>
    </table>
    </ss:form>
    </ss:if>
    <br/>

    <center>
    <p align="center"><ss:form shortcut="CheckoutPro"/></p>
    </center>
    <p align="center"><ss:link source="$templateSet.searchResults"><ss:image source="$templateSet.images['continue.gif']" border="0"/></ss:link></p>

    <p align="center">
    <ss:if test="$store.storeType == 'pro'">
    <ss:if test="$customer.isLoggedIn() AND $cart.details">
    <ss:link source="$templateSet.cartSave">Save Cart</ss:link>&nbsp;
    </ss:if>

    <ss:if test="$customer.hasSavedCarts">
    <ss:link source="$templateSet.cartSelect">Select Cart</ss:link>&nbsp;
    </ss:if>
    </ss:if>

    <ss:if test="$cart.details">
    <ss:link source="$templateSet.cartEmpty">
    Empty Cart</ss:link>&nbsp;
    </ss:if>

    </p>
    <P align=center>We combine shipping!-The more you buy, the more you'll save!</P>
    <P align=center>If you're shipping an order different from your billing address (drop shipping) for the first time, then you must first <A href="mailto:[email protected]">contact us</A>.</P>
    <P align=left><A href="http://www.shopperscircuit.com/servlet/Page?template=faq"target=_blank>Frequently Asked Questions</A></P><left><A href="http://www.shopperscircuit.com/servlet/Page?template=privacy"target=_blank>Contact Us</A></P>
    <p align="center"><i>
    <ss:if test="$store.shipping.DisplayEstimates AND $cart.shipToPostalCode == ''">
    The actual shipping amount will be shown on your invoice.<br/>
    </i>
    </ss:if>

    </ss:font>

    <!-- end cart template -->"

    Cart Add Source
    "<!-- begin cartadd template -->

    <p>
    <ss:font source="$font.paragraph"><b>Quantity</b>&nbsp;<input type="text" name="qty" value="1" size="3"></ss:font>
    </p>


    <ss:if test="$product.hasAttribute1Values()">
    <p><ss:font source="$font.paragraph"><b><ss:value source="$product.attribute1Label"/></b>&nbsp;<ss:select source="$product.attribute1Values" name="color"/></ss:font>
    </p>
    </ss:if>
    <ss:if test="$product.hasAttribute2Values()">
    <p><ss:font source="$font.paragraph"><b><ss:value source="$product.attribute2Label"/></b>&nbsp;<ss:select source="$product.attribute2Values" name="size"/></ss:font>
    </p>
    </ss:if>


    <p><ss:button type='submit' value="Add To Shopping Cart"/></p>

    <!-- end cartadd template -->"

    Checkout Source
    "<!-- begin checkoutpro template -->

    <p><ss:font source="$font.heading"><b>Check Out</b></ss:font></p>

    <ss:font source="$font.paragraph">

    <p>
    <ss:radio name="smode" value="new" checked="true" onClick="toggleLogin()"/>&nbsp;New Customer - <STRONG>REGISTER</STRONG>
    </p>

    <p>
    <ss:radio id="returning" name="smode" value="returning" onClick="toggleLogin()"/>&nbsp;Existing Customer - <STRONG>SIGN-IN</STRONG>
    </p>
    <div id="logininfo" style="display:inline">
    <table border="0" cellpadding="2" cellspacing="2">
    <tr valign="top">
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td><ss:font source="$font.paragraph"><b>E-mail:</b></ss:font></td>
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td><ss:edit source="$customerRegistry.email"/></td>
    </tr>
    <tr valign="top">
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td><ss:font source="$font.paragraph"><b>Password:</b></ss:font></td>
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td><ss:password source="$customerRegistry.password"/></td>
    </tr>
    <tr valign="top">
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td><ss:font source="$font.paragraph"><b>Promo Code:</b></ss:font></td>
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td><input type="text" name="promo" size=10/> <ss:font source="$font.paragraph">(if applicable)</ss:font></td>
    </tr>
    </table>

    <p>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<ss:checkbox shortcut="ChangeBilling"/>&nbsp;Change billing information.<br/>
    <ss:if test="$cart.iseBayCheckoutRedirect()"><ss:else/>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<ss:checkbox shortcut="ChangeShippingAddress"/>&nbsp;This will be shipped to a different address. (If drop shipping for the first time, you must first contact us)<br/>
    </ss:if>
    </p>
    </div>

    <ss:if test="$store.checkoutmode != CheckoutModeType.CHECKOUT_MODE_SIGNIN_REQUIRED">
    <p>
    <ss:radio name="smode" value="anonymous" onClick="toggleLogin()"/>&nbsp;I just want to place my order without creating an account.
    </p>
    </ss:if>

    <script>
    function toggleLogin() {
    document.getElementById('logininfo').style.display = document.getElementById('returning').checked ? "inline" : "none";
    }
    document.body.onload = toggleLogin;
    toggleLogin();
    </script>

    <hr size=1 noshade/>

    <p><ss:button type="submit" value="Continue Checkout"/> <ss:button type="reset" value="Clear"/></p>
    <p><ss:link shortcut="PayPalExpressCheckout"/></p>
    </ss:font>

    <!-- end checkoutpro template -->"

    This is for site shopperscircuit.com

    Thanks
     

Share This Page