Return two values from getStaticPaths – Woocommerce
I'm using getStaticPaths to create a product page within NextJS. I get my products from wooCommerce, problem is: I want to use "permalink" for my NextJS route URL, but I need product.id to get data for that particular product that…