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: Shopping Cart Display - rearranging order, adding thumbnail, skinning

  1. #1
    dtancredi is offline Junior Member
    Join Date
    Jul 2009
    Location
    NYC
    Posts
    5

    Red face Shopping Cart Display - rearranging order, adding thumbnail, skinning

    Heya!

    I'm a long-time programmer (front-end, back-end, db, multimedia (aka flex / flash, etc.)), but still getting my feet wet with AspDotNetStorefront (liking it a lot so far!).

    I can't seem to figure out how to customize the ShoppingCart page to:
    1) show an image thumbnail of the product,
    2) rearrange the table headers order,
    3) add table headers,
    4) customize the css for the table

    I've skinned + setup the entire site so far, but this looks like it requires me to go into shoppingcart.aspx and then into the cartitems class... Do I NEED the source code for it? The client is hesitant to pay for the entire source base for just this section.

    For edification, here's a url of what we want it to look similar to (did they have to buy the source code to do it?)
    http://www.gdiapers.com/shop/checkout/cart/

    Also, here's where our shop is (not live yet):
    http://store.dropps.com/AspDotNetSto...ppingCart.aspx

    And an image of what we want (attached).

    I'll try to be a good community member and respond asap to other queries.

    Thanks!

    Dominic

  2. #2
    George the Great is offline Senior Member
    Join Date
    Nov 2006
    Location
    Cleveland, OH
    Posts
    1,792

    Default

    To display thumbnail images of the product in the cart, set the appconfig parameter ShowPicsInCart to true.

    To rearrange the shopping cart headers, or to add additional headers, you'll need the source code, and you'll need to modify the ShoppingCart class (ShoppingCart.cs) in the AspDotNetStorefrontCore project, then recompile and deploy the new AspDotNetStorefrontCore.dll assembly to your site.

    For styling issues, the best tool in the arsenal is Firebug (add-on for Mozilla Firefox browser). If you don't have it, grab a copy of it (it's free) and you can view all css styles that apply to a particular page when the page loads, and can even adjust styles within Firebug that will apply to the page in real time. You can determine which styles you need to change to get it to look the way you want, and then can make the necessary changes in the actual stylesheet.
    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>

  3. #3
    dtancredi is offline Junior Member
    Join Date
    Jul 2009
    Location
    NYC
    Posts
    5

    Smile

    George, you're awesome.

    I set the ShowPicsInCart variable to true and got the icons. Awesome.

    I'll pass what you said to the client. That's pretty much what I suspected too after looking around.

    I'm not quite sure how to recompile the dll or what environment to use (I have Microsoft SQL Server for the SQL admin, and using dreamweaver / textmate to handle the template updates - should I try to grab Visual Studio? I use a Mac, but have TinyXP with Windows XP - do you recommend any .NET for Mac?) Also, my toolkit includes Firebug, FlashTracer, the Web Development Toolbar for FF, etc.

    Any advice?

    Best,
    Dom