Jump to content

Edit History

overbags

overbags

I need the text to be on the "add to cart" button because many don't read the written reservation

I was thinking of creating an if in the <span> of the <button> "add to cart" type

if $ product-> quantity <= 0

book

else

Add to Cart

/ if

but with $ product-> quantity it gives me the total sum of the attributes of a product and not the quantity of the single attribute

overbags

overbags

I need the text to be on the "add to cart" button because many don't read the written reservation

×
×
  • Create New...