Codeigniter Ion Auth Password length

Ion auth is an authentication library for Codeigniter framework, easy to use, change or add custom functions to it. To set minimum or maximum password length in codeigniter you have to find the config.php file. These lines do the trick.   $config[‘min_password_length’] = 7; $config[‘max_password_length’] = 20;  

Add to cart via AJAX Woocommerce without loop

To accomplish this functionality you have to make a GET call by javascript, in this call you have to pass the ID of product. Below you can see an example for this action. HTML: <div class=”add_to_cart”> <a href=”#” data_id=”12″>Add to cart</a> </div>   Where data_id is the product id.   jQuery: jQuery(‘.add_to_cart’).on(‘click’, function(e){ var href… Continue reading Add to cart via AJAX Woocommerce without loop