Hello @magluz,
Without the use of additional plugins or snippets, you have a few options if you want the item to be purchasable while the cart may contain other, shippable items.
- If you are using Flat Rates, you could set up a ‘Unshippable’ shipping class that doesn’t charge any shipping. For more about this approach, check out Flat Rate documentation.
- If you are using other paid shipping methods, you might get away with marking the product as ‘Virtual’ so that it can be purchased, but won’t engage shipping calculations. For this, you will want to message carefully on your product page that the item is for pickup only / will not be shipped along with the other items.
To make the messaging more explicit, you could add a ‘Notice’ attribute on the product, and make the value ‘Pickup only’: https://d.pr/i/4a6ixf
If you further make it a ‘Variable’ product and use this attribute in variations, you can force folks to select the option when adding it to their cart: https://d.pr/i/KQ9cew
If you don’t need the item to be purchaseable but want it in your catalog, you can ensure out of stock items aren’t hidden from your catalog in your WooCommerce Product settings and set the item to ‘out of stock’.
Using a plugin, you can additionally force ‘Local Pickup Only’ to be the only option for products like this with a plugin like Advanced Shipping Packages or Conditional Shipping and Payments.
I hope that helps, and if you have any further questions please let us know with a reply or a new topic. Thanks!