Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //wc add to cart button
- // section class="woocommerce"
- <a href="<?php echo $product->add_to_cart_url(); ?>" value="<?php echo esc_attr($product->get_id); ?>" class="button product_type_simple add_to_cart_button ajax_add_to_cart add-cart" data-product_id="<?php echo get_the_ID(); ?>"><?php _e('Add to cart', 'ic-core'); ?></a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement