Forum

Thread tagged as: Shop

Replace shop add-to-cart input with button

Is there any way to use:

<button type="submit">Add to cart</button>

Instead of the default:

<perch:input type="submit" value="Add to cart" />

Without losing the "<input type="hidden" name="cms-form" value ..." part of the add_to_cart form?

Benjamin Verkleij

Benjamin Verkleij 0 points

  • 4 years ago