Add to cart button doesn't display "Item was successfully added to your cart"
-
Hi,
I have an issue when using HTML to add an ‘Add to cart’ button on a page. Rather than using the shortcode (which doesn’t look great with my layout) I copied and pasted the <form class = “cart”…> into the text editor of the page:
<form class=”cart” method=”post” enctype=”multipart/form-data”>
<div class=”quantity buttons_added”><input value=”-” class=”minus” type=”button”>
<input step=”1″ min=”1″ max=”100″ name=”quantity” value=”1″ title=”Qty” class=”input-text qty text” type=”number”>
<input value=”+” class=”plus” type=”button”></div>
<input name=”add-to-cart” value=”1962″ type=”hidden”>
<button type=”submit” class=”single_add_to_cart_button button alt”>Add to cart</button>
</form>This works, in that I can add the product to the basket from a custom page:
https://prints-inc.com/lynyrd-paras-prints/
However, I do not get the ‘“item” was successfully added to your cart‘ and the ‘view cart’ button that appears below the header when you add a product from the single product page:
https://prints-inc.com/prints/paras/bilis/
Can anyone help me out? I think for user-friendliness that it’s important to have this information, and would be very grateful for some help.
Thanks in advance.
- The topic ‘Add to cart button doesn't display "Item was successfully added to your cart"’ is closed to new replies.