rajudhaka

Add to cart button markup

Jul 23rd, 2019
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.27 KB | None | 0 0
  1. <!-- Add to cart Button -->
  2. <a href="<?php echo site_url(); ?>/?add-to-cart=<?php echo get_the_ID(); ?>" data-quantity="1" class="product_type_simple add_to_cart_button ajax_add_to_cart" data-product_id="<?php echo get_the_ID(); ?>"><i class="fa fa-shopping-cart"></i></a>
Advertisement
Add Comment
Please, Sign In to add comment