Welcome to WP Beaches

WordPress Websites design specialists, based in the Northern Beaches, Sydney
Design, Develop, Host

RECENT POSTS

Remove add to cart button on WooCommerce products that belong to a certain category

Remove Add To Cart Specific Products

Here is some code to allow you to hide the Add to Cart button on WooCommerce products that belong to a certain category, so if the product page is viewed by a customer they will be unable to add the product to a cart. The code needs to be add to your themes functions.php file….

Disable WooCommerce Payments credit card/debit card gateway on Checkout

Multiple Stripe Gateway Woocommerce

To use Apple Pay as a payment gateway on WooCommerce, you’ll either need the older Stripe or newer WooCommerce Payments plugin the latter being more heavily promoted by Woo and WordPress. When using the WooCommerce Payments plugin which is powered by Stripe, as well as an Apple Pay payment gateway you also get a Stripe…

Send Full Product Details over WooCommerce Webhook Action Hook

Woocommerce Webhook Action

WooCommerce has a webhook feature that allows you to send product data to a webhook url when a certain product status is made. The configuration of the webhooks is at WooCommerce>Settings>Advanced>Webhooks The product states to choose from to fire the webhook are referred to as Topics and include states like Order Created, Order Updated and…

Restrict WooCommerce Shipping Calculator to Specific Countries and States

Shipping Countries States Woocommerce

Here is how you can restrict specific Countries and States in WooCommerce Shipping Calculator, so a user can only select from what is available. Countries The Countries field is handled inside WooCommerce General Settings. Change the ‘Selling Location’ to ‘Sell to specific countries then add the countries you want in the next field. States For…

How to make both City and Postcode fields required in WooCommerce Shipping Calculator

Woocommerce Shipping Fields Calculator

Both the City and Postcode/ZIP fields in the WooCommerce Shipping Calculator are not compulsory for the user to fill in, you may need them mandatory for a better user experience to calculate certain shipping conditions. Both the Suburb and Postcode fields are input fields inside a form which allows us to use the required attribute,…

Change the Additional Information Placeholder Text field in WooCommerce

remove order notes field woocommerce

You can change the WooCommerce  Additional Information placeholder text field in the checkout page with the woocommerce_checkout_fields filter. Use it in your themes  functions.php file like so… add_filter( ‘woocommerce_checkout_fields’ , ‘wpb_custom_additional_info’ ); // Change placeholder text in Additional Notes function wpb_custom_additional_info( $fields ) { $fields[‘order’][‘order_comments’][‘placeholder’] = ‘Any additional notes for delivery’; return $fields; } Change…

Minimum System Requirements for macOS Monterey 12, can your Mac run it?

Macos Monterey

Find out if your Apple computer meets the minimum system requirements of the latest operating system, macOS Monterey 12, can your Mac run it. Apple have announced their latest operating system in June 2021 and named it macOS Monterey, which will be version macOS 12 it is the successor to Big Sur. The name Monterey…

Find out how many inodes you are using on a hard disk or in a directory?

How Many Inodes On Disk

Inodes are like pseudo files that manage the metadata about the actual files and folders on the filing system, they don’t have any data in them. Most hosting plans have a limitation on inodes – so you need to know how many inodes there are and where they are being used if you need to…

Add WooCommerce Action Hook via Shortcode

Add Woocomerce Hook Shortcode

Some WordPresss WooCommerce templates provided by themes or page builders may not include all the WooCommerce action hooks which may hinder your woo development as you add in more Woo featured, luckily it is possible to add in Woo hooks with shortcode. add_shortcode( ‘woohook’, function( $atts ) { $atts = shortcode_atts( array( ‘hook’ => ”,…