global $woocommerce; $items = $woocommerce->cart->get_cart(); $data = $_REQUEST; $payment_first_name = $data[‘payment_first_name’]; $payment_last_name = $data[‘payment_last_name’]; $billing_adress_same = $data[‘billing_adress_same’]; $billing_address = $data[‘billing_address’];…
If you want to change default messages in woocommerce than you have to write below code in functions.php function sagepay_woocommerce_add_error(…
If anyone wants to change payment gateway details than he can do this from below way.Please write “woocommerce_available_payment_gateways” hook in…
function get_top_level_product_cat(){ global $post; $prod_terms = get_the_terms( $post->ID, ‘product_cat’ ); foreach ($prod_terms as $prod_term) { // gets product…
Please first install “WP-Pagenavi” plugin to your store.and then write below code to your home page template. <?php …