Hide & show products by country
-
Hi
is there a way to hide certain published products depending of the user country ?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.
Home / Plugin: WooCommerce / Hide & show products by country
Hi
is there a way to hide certain published products depending of the user country ?
is there a way to hide certain published products depending of the user country ?
Yes! Check out the snippet here: https://www.businessbloomer.com/woocommerce-hide-product-based-on-ip-address-geolocation/
Instead of adding it to the functions.php
file as the guide mentions, use the Code Snippets plugins.
Cheers!