Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 67836

Whats the code for the updating card button

$
0
0

Replies: 0

Hey Guys,

I want to use my own HTML and CSS for my shop so I created a page where I set up some HTML and after the coding was done I have included all the woo commerce codes from the templates. For example, I Have set up a H2 where its written “Add to cart” and then I just insert the “Add to cart woo commerce code” into it and everything worked out fine with that technique, until I have added the update card button. Somehow it is not working.

For the update card button, I have copied the code from cart.php which looks like this:

<h2>
<input type=”submit” class=”button” name=”update_cart” value=”<?php esc_attr_e( ‘Update cart’, ‘woocommerce’ ); ?>” />
</h2>

Im not much into backend, so my question is, does my technique even work with woo commerce? If so, what code do I have to include to make the “update card” button work again.

Btw, this is my page
https://celonawebdesign.com/shopy/


Viewing all articles
Browse latest Browse all 67836

Trending Articles