0

I have had alot of help before from Rohil_PHPBeginner and the code he helped me with worked really well.

Today i have had someone on the site they removed a category that the code used needed to print the information i needed on screen.

The original code that solved my issues is found here:

Wordpress Woocommerce Advice with PHP code

Unfortunately the code is stopping my product page from displaying the product information. If i remove the code then it works fine but the functionality the code added really made the product page so much better.

I've checked and the category that was deleted was get_term_child, so i made sure to change this number on the product title.php

However nothing has worked and i get this error message (seen on this page) https://www.artgiftedbygod.co.uk/online-art-shop/musical-paintings/marely/

Could anyone help me?

I've tried to fix the issue but i dont think it is related to this category being deleted as i have recreated it and changed the title.php to the correct number.

Thanks

Adam

2
  • I've had to take the code out of the product page so that it would work. Commented Aug 10, 2015 at 13:28
  • I have images of what it looked like when working and what it looks like now Commented Aug 10, 2015 at 13:46

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.