Skip to content

Instantly share code, notes, and snippets.

Fegul fegul

  • MD
Block or report user

Report or block fegul

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@claudiosanches
claudiosanches / add-to-cart.php
Last active Mar 31, 2020
WooCommerce - Template add-to-cart.php with quantity and Ajax!
View add-to-cart.php
<?php
/**
* Custom Loop Add to Cart.
*
* Template with quantity and ajax.
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly.
global $product;
You can’t perform that action at this time.