- This topic has 2 replies, 2 voices, and was last updated 4 months, 1 week ago by .
-
Topic
-
Hi Support,
Can you please help me with my problem using metabox plugin with woocommerce product post type, I followed the article present on the site to create a field. Actually the scenario is I am creating a field with Woocommerce CPT product to add floor plan field so our client want to upload the related floor plant to the property (product) so I have created a following codefunction samo_register_meta_boxes( $meta_boxes ) { $meta_boxes[] = array( "id" => "property-floor-plan", "title" => "Floor Plan", "context" => "side", "post_types" => array("product"), "fields" => array( array( "type" => "image_advanced", "force_delete" => true, "max_file_uploads" => 1, ), ) ); return $meta_boxes; } add_filter( "rwmb_meta_boxes", "samo_register_meta_boxes" );
This is showing field in the product editor and let me select the image or upload but after that when I update the product in the refreshed screen to edit the product I do not see that image again, it is not saving it. How can I solve it or am I missing something.
Thanks & Regards,
Calpaq
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.