I wanna be able to have my users select size on the items they are
selecting and be able to send it to cart with the other details of the
selected item, i dont know how to achieve this, any ideas?
{{=session.cart.get(p.id,0)}} in cart - {{=A('add to
cart',callback=URL('cart_callback',vars
user press 'button pill' - web2py.js does ajax request with URL =
('cart_callback', ...) and writes response to html element with id =
target = 'items%s'%p.id
On Tuesday, July 2, 2019 at 3:35:03 PM UTC+3, mostwanted wrote:
>
> Can anyone please explain to me in lay-man terms how the code belo
Can anyone please explain to me in lay-man terms how the code below works!
It is a function for adding items to the shopping cart. I am trying to use
the same concept to have customers add item sizes as well as they add the
items to the cart but i am missing something!
*VIEW*
{{=session.c
3 matches
Mail list logo