From 6a169b3a118da9a85f3630d076b044b53bfa475e Mon Sep 17 00:00:00 2001 From: Abhishek Date: Thu, 17 Oct 2024 23:14:39 +0530 Subject: [PATCH] added the item review product image on editor --- meta-boxes.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meta-boxes.php b/meta-boxes.php index 86374dc..a6042d5 100644 --- a/meta-boxes.php +++ b/meta-boxes.php @@ -202,6 +202,13 @@ function bsf_metaboxes( array $meta_boxes ) { 'class' => 'product_item_type', 'type' => 'text', ), + array( + 'name' => __( 'Product Image', 'all-in-one-schemaorg-rich-snippets' ), + 'desc' => __( 'Upload the product image or select from library. Medium size is recommended (300px X 300px)', 'all-in-one-schemaorg-rich-snippets' ), + 'id' => $prefix . 'item_pro_image', + 'class' => 'product_item_type', + 'type' => 'file', + ), array( 'name' => __( 'Product Price', 'all-in-one-schemaorg-rich-snippets' ), 'desc' => __( 'Enter the product Price.', 'all-in-one-schemaorg-rich-snippets' ),