Maybe try it like this:

A(' Add to cart', _href=URL('add_to_cart', vars={'item': i.item, 'page': 
request.function}))

Reply via email to