Trying to change purchase-button text if has term category + is variable WooCommerce
Everything works good if I remove the && $product->is_type( 'variable' ) However, when I add that line, the first if, doesn't seem to work. What am I doing wrong? Expecting: If product is in category "farsk-ved" and is a variable…