Recently I needed a simple way to display Woocommerce store address for Local pickup shipping method. Therefore, let’s take a look how to accomplish somethind that looks like the one here one the screenshot below.
Find out your Local pickup ID number
If you don’t know how to do that then go to Woocommerce >> Settings >> Shipping >> Open your shipping zone.
Now hover on the Local pickup method and see the link. It is something like this:
https://yoursite.com/wp-admin/admin.php?page=wc-settings&tab=shipping&instance_id=2
See the ID=2, this is your shipping method ID.
Use CSS to display store address
Go to Appearance >> Customizer >> Additional CSS and add this piece of CSS here below.
Change the content and styling accordingly AND change your local_pickup2 for the correct id.
#shipping_method_0_local_pickup2:checked + label[for=shipping_method_0_local_pickup2]::after {
display: block;
content: "London, Buckingham palace";
color: red;
font-weight: 600;
}