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: Two shopping cart items

  1. #1
    babslimo is offline Member
    Join Date
    Apr 2008
    Location
    North Carolina
    Posts
    67

    Default Two shopping cart items

    We'd like to customize the default shopping cart in two ways:

    1. Use "Add to Cart" buttons instead of a checkboxes for each Upsell item
    2. Put an update button with each line item (next to each "Delete" button) in the Cart review area, rather than one "Update button" for the entire table.

    Can anyone comment on the complexity/feasibility of either of these items? Anything we need to consider/avoid? Thanks!
    Annette L. Fowler
    Beacon Technologies
    http://www.beacontechnologies.com

  2. #2
    Dusty is offline Member
    Join Date
    Jun 2009
    Posts
    176

    Default

    Both of these tasks should be relatively simple to accomplish.

    For your first example the simplest way would be to change the checkboxes to hidden inputs. Then add an "Add to Cart" button which assigns the appropriate value to the hidden input and calls the postback function identical to the existing "Update Cart" button.

    For your second task you can use a similar approach but there's no need to hide existing inputs. Just add a button that calls the same postback as the existing "Update Cart" button.

    Dusty
    ASPDotNetStorefront Staff

  3. #3
    babslimo is offline Member
    Join Date
    Apr 2008
    Location
    North Carolina
    Posts
    67

    Default Thanks!

    Awesome, thanks! We'll give it a try!
    Annette L. Fowler
    Beacon Technologies
    http://www.beacontechnologies.com