the id=1 is temporary. what i want is the array[category] & [prodtype] from my table and if its the same in woocommerce category name and product type it will automatically place my sizeguide code in that category page.
for example
category data in my table category data in woocommerce
1 Rings 1 Birth Day
2 Weddings 2 Party
3 Party 3 Weddings
if the category data in my table = category data in woocommerce.
for example: i have Weddings in my table and in the woocommerce. then if they have the same data i will place my code to that Weddings category. Can you provide me or explain what is the right code for this Logic?ThankYou.