All product fields missing in admin
-
I have woocommerce 3.0.3 installed and am using the latest WC Fields Factory plugin. I have created product fields with previous editions of WC Fields Factory but with the latest update of woocommerce when I went to ‘product fields’ all my fields were missing. In the debug log I was getting “id called incorrectly…”. This what I did to again display my product fields:
meta_box_conditions.php:
Add at the top below $index = 0;
$post_id = get_the_ID();
Then on line 21 change $post->get_id() to $post_id
wcff-dao.php:
Below line 59 where is has “foreach( $products as $product ) {” add
$product_id = get_the_ID();
Then on line 61 change $product->get_id() to $product_id
meta_box_fields.php:
Below line 46 where it shows <?php add:
$post_id = get_the_ID();
Then on line 49 change $post->get_id() to $post_id
All my product fields are being displayed but now my problem is I cannot save any newly created fields. The ‘add new field’ update button does nothing.
Any help is greatly appreciated.
- The topic ‘All product fields missing in admin’ is closed to new replies.