Results 1 to 2 of 2

Thread: Repeater-Based Dynamic Cart Content

  1. #1
    Join Date
    Dec 2011
    Chicago, IL
    Thanked 221 Times in 156 Posts

    My Twitter My LinkedIn

    Lightbulb Repeater-Based Dynamic Cart Content

    Hi All,

    I was playing some more with repeaters lately. This time I put together a dynamically updating Cart: a user can remove completely or update the quantity for any item. This then gets reflected in the Cart total.

    To display the cart total at first, this information had to be hard-coded since there seems to be no mechanism allowing to iterate over row data in a repeater. If you found a way to do this, please share it!

    See it live

    Comments and suggestions for improvement are welcome as always!

    Attached Files Attached Files
    Last edited by Paul Axure; 07-25-2013 at 10:21 AM.
    Svetlin Denkov
    User Experience Professional
    Twitter: @svetlindenkov LinkedIn:

  2. The Following 3 Users Say Thank You to light_forger For This Useful Post:

    easyishard (07-29-2013), Milkbomb (07-24-2013), Paul Axure (07-23-2013)

  3. #2
    Apprentice Level
    Join Date
    Jul 2013
    Hamburg, Germany
    Thanked 25 Times in 12 Posts

    For a solution (well, more of a workaround) to iterating over items in a repeater (a foreach loop in a way), check out my post on this other thread: Finding data from one Repeater to add to second Repeater

    You can easily adapt the principle used there to loop through a repeater to your case of adding up numbers.

  4. The Following User Says Thank You to jaern For This Useful Post:

    light_forger (08-09-2013)

Similar Threads

  1. Repeater - Bug v7 beta - Content displayed even when dynamic panel is hidden
    By Luca Benazzi in forum 7.0 Technical Troubleshooting
    Replies: 1
    Last Post: 01-02-2014, 03:32 PM
  2. (Resolved) Dynamic panel in repeater - cant set state on Onpageload
    By melibrion in forum 7.0 Technical Troubleshooting
    Replies: 8
    Last Post: 09-09-2013, 01:07 AM
  3. Replies: 2
    Last Post: 07-26-2013, 06:27 PM
  4. E-Commerce Cart
    By ericchao827 in forum 6.x Archived Discussions
    Replies: 0
    Last Post: 05-04-2013, 11:09 AM
  5. Moving Content on page dynamically (based on what you click)?
    By martini in forum 6.x Archived Discussions
    Replies: 3
    Last Post: 06-08-2012, 11:20 AM

Search Engine Friendly URLs by vBSEO 3.6.0 PL2