May 11
Single Product Elements
When you guys added recently the custom option in Single Page Builder Elements section, I was thrilled that now we can add some custom fields into short description other than defaults like SKU, Tags, and catogeries, but I didnt find that option in newest patch.
hope you will come with adding custom field, we have some fields that we like to shoow which are provided by our ERP solution and added automatically while syncing into products such as UPC and Weights and stuff like this.
currently I am using
add_filter('product_meta_custom_content_filter', function (){
$upc = get_post_meta( get_the_ID(), 'mm_product_upc', true );
return 'UPC: ' . $upc;
});
this code into child theme, function.php to show
example below
https://prnt.sc/7Yb8oXQIOf0R
mm_product_upc is basically acf
that would be great feature to have, if you can implement it
Closed
Hello @Shehzad Ghazi, Thank you for sharing your request with us ! We have conducted a code analysis of this idea and determined that it is not possible to create a universal solution that would be globally applicable without introducing any additional bugs for our customers. Therefore, we are grateful for the suggestion, but for now we recommend that you continue to keep the code within your child-theme as you have been doing. Thank you for your understanding. Best regards, Jack Richardson 8Theme's Team