I'm creating a website using WooCommerce and I want to restrict the available products to users depending on the postcode that they enter in the search form on my home page.
To be able to achieve that I'll have to specify the conditions of each product within the database in phpMyAdmin, but I can't seem to find it.
Does anybody know where the woocommerce database for products and/or categories are within phpmyAdmin?
Thank you in advance.
Products are located mainly in 2 tables:
wp_posts table with a
wp_postmeta table with a
product_id by product.
Product categories, subcategories, and tags are located in tables: