Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: Ajax Mini cart 9.0.1.2

  1. #1
    brianperry is offline Member
    Join Date
    Sep 2005
    Posts
    41

    Default Ajax Mini cart 9.0.1.2

    Im try to find where the ajax cart is genreating this table so we can style it better



    <table cellspacing="0" cellpadding="0" border="0" style="width: 100%;"> <tbody><tr> <td class="mini_cart"> <table cellspacing="0" cellpadding="0" border="0" style="width: 100%; border-bottom: 1px solid rgb(68, 68, 68);" class="cart_header"> <tbody><tr> <td align="center" style="width: 15%; padding-bottom: 5px; font-weight: bold;"><span id="ctl00_ctl11_ctrlMiniCart_lblQuantityHeader">Qt y</span> </td><td><img src="images/tab-sep-minicart.gif"></td> <td align="left" style="width: 60%; padding-bottom: 5px; font-weight: bold;"><span id="ctl00_ctl11_ctrlMiniCart_lblProductHeader">Pro duct</span> </td><td><img src="images/tab-sep-minicart.gif"></td> <td align="right" style="width: 25%; padding-bottom: 5px; font-weight: bold;"><span id="ctl00_ctl11_ctrlMiniCart_lblSubtotalHeader">Su bTotal</span> </td> </tr> </tbody></table><div class="cart_items" id="ctl00_ctl11_ctrlMiniCart_pnlCartItems">
    <div>
    <table cellspacing="0" cellpadding="0" border="0" style="width: 100%; padding-top: 10px; padding-bottom: 10px;"> <tbody><tr> <td valign="top" align="center" style="width: 15%;"> <div style="float: left;"><input type="text" size="3" maxlength="3" value="1" name="ctl00$ctl11$ctrlMiniCart$ctl00$ctl00"> </div> </td> <td valign="top" style="width: 60%;"><span><table cellspacing="0" cellpadding="0" border="0" style="width: 100%;"> <tbody><tr> <td valign="top" align="left"> <table cellspacing="0" cellpadding="0" border="0" style="width: 100%;"> <tbody><tr><td style="font-weight: bold;"><a href="/p-30785-ready-to-wear.aspx" class="shoppingcartproductname" id="ctl00_ctl11_ctrlMiniCart_ctl00_ctl01_lnkProduc tName">Ready To Wear</a> </td></tr> </tbody></table> </td> </tr></tbody></table></span> </td> <td valign="top" align="right" style="width: 25%;"> <table cellspacing="0" cellpadding="0" border="0" style="width: 100%;"> <tbody><tr> <td align="right"><span>$11.06 </span> </td> </tr> <tr> <td align="right"><a href="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(&quot;ctl00$ctl11$ctrlMini Cart$ctl00$ctl03&quot;, &quot;&quot;, true, &quot;&quot;, &quot;&quot;, false, true))">Remove</a> </td> </tr> </tbody></table> </td> </tr> </tbody></table>
    </div>
    </div> <table cellspacing="0" border="0" 0="" style="width: 100%;"> <tbody><tr> <td align="center" style="width: 15%; padding-top: 10px; padding-bottom: 5px; border-top: 1px solid rgb(0, 0, 0);" colspan="2"><span><table cellspacing="0" cellpadding="0" border="0" style="width: 100%;"> <tbody><tr> <td align="right"> <table cellspacing="1" cellpadding="1" border="0" style=""> <tbody><tr> <td align="right" style="padding-right: 4px;"><span id="ctl00_ctl11_ctrlMiniCart_ctl01_lblSubTotalCapt ion">Sub Total:</span> </td> <td align="right"><span id="ctl00_ctl11_ctrlMiniCart_ctl01_lblSubTotal">$1 1.06</span> </td> </tr> <tr> <td align="right" style="padding-right: 4px;"><span id="ctl00_ctl11_ctrlMiniCart_ctl01_lblTaxCaption"> Tax:</span> </td> <td align="right" style="padding-right: 2px;"><span id="ctl00_ctl11_ctrlMiniCart_ctl01_lblTax">$0.00</span> </td> </tr> <tr> <td align="right" style="padding-right: 4px;"><span id="ctl00_ctl11_ctrlMiniCart_ctl01_lblTotalCaption ">Total:</span> </td> <td align="right" style="padding-right: 2px;"><span id="ctl00_ctl11_ctrlMiniCart_ctl01_lblTotal">$11.0 6</span> </td> </tr> </tbody></table> </td> </tr></tbody></table></span> </td> </tr> <tr> <td align="center" style="width: 15%; padding-bottom: 5px; font-weight: bold;"><input type="submit" id="ctl00_ctl11_ctrlMiniCart_btnMiniCartUpdate" onclick="javascript:WebForm_DoPostBackWithOptions( new WebForm_PostBackOptions(&quot;ctl00$ctl11$ctrlMini Cart$btnMiniCartUpdate&quot;, &quot;&quot;, true, &quot;&quot;, &quot;&quot;, false, false))" value="Update" name="ctl00$ctl11$ctrlMiniCart$btnMiniCartUpdate"> </td> <td align="center" style="width: 15%; padding-bottom: 5px; font-weight: bold;"><a href="/shoppingcart.aspx">Continue Checkout</a> </td> </tr> </tbody></table> </td> </tr></tbody></table>

  2. #2
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    Take a look at ShoppingCartControl.cs in the AspDotNetStorefrontControls project.

  3. #3
    brianperry is offline Member
    Join Date
    Sep 2005
    Posts
    41

    Default css

    is there any plan to move this to css so you dont have to recompile just to change the look of the mini cart