Rename “Add to Cart” Button if Product Already at Cart

If Product already at WooCommerce Cart than change “Add to Cart” Button text and Displaying a different text instead of default “Add to Cart” text. So user can easily communicate with product. In Woocommerce it’s very easy. Woocommerce provide 2 filter hook for that. one filter hook for the Single Product page and another filter …

Rename “Add to Cart” Button if Product Already at Cart Read More »

Customize Checkout Page in Woocommerce

Hide Billing field on Checkout Page Woocommerce # Hide Shipping field on Checkout Page Woocommerce # Reorder Billing fields on Checkout Page Woocommerce # WooCommerce version 2.6 and below function reorder_wc_billing_fields($fields) { $order = array( “billing_first_name”, “billing_last_name”, “billing_company”, “billing_address_1”, “billing_postcode”, “billing_city”, “billing_email”, “billing_phone” ); foreach($order as $field) { $ordered_fields[$field] = $fields[“billing”][$field]; } $fields[“billing”] = $ordered_fields; …

Customize Checkout Page in Woocommerce Read More »

Scroll to Top