Having some trouble getting the empty_cart form element to work as a <button>
element.
For example this works:
{exp:store:checkout next="store/checkout/1"}
...
<input type="submit" name="empty_cart" value="Empty Cart" />
{/exp:store}
However using a button element instead of an input will not:
{exp:store:checkout next="store/checkout/1"}
...
<button type="submit" name="empty_cart">Empty Cart</button>
{/exp:store:checkout}
The other inputs such as "update_cart" work fine as button elements. Is this a bug or am I just missing something?
The reason I want to use button elements is for styling purposes and I have to add an icon in the button using the CSS framework the project uses.