Add a 'remove' button for each line item in cart and cart drop down

Comments

2 comments

  • Avatar
    Forrest F

    Hard to say without taking a closer look but you may just want to add the

    "<a href="/cart/change?line={{ forloop.index }}&quantity=0">Remove</a>"

    portion rather than the whole thing since it would already be placed in the cart loop (which is likely why its duplicating on you)

    0
    Comment actions Permalink
  • Avatar
    Chris Aynesworth

    Ah Forrest!

    Thank you - that was the issue! Feel silly for such a beginner mistake!

    0
    Comment actions Permalink

Please sign in to leave a comment.