Background of the issue:
I am currently using the Product Feed Pro plugin along with WooCommerce and WooCommerce Multilingual & Multicurrency. I have added a custom field to my products to store a converted price in USD. The custom field "_converted_price" is visible and functioning correctly within the WooCommerce product edit screen. I added the following code to my theme's functions.php to create and save the custom field "_converted_price":
global $post;
if (is_object($post)) {
update_post_meta($post->ID, '_converted_price', $converted_price_to_usd);
error_log("Converted price to USD: $converted_price_to_usd for product ID: {$post->ID}");
} elseif (is_object($product)) {
update_post_meta($product->get_id(), '_converted_price', $converted_price_to_usd);
error_log("Converted price to USD: $converted_price_to_usd for product ID: {$product->get_id()}");
}
return $converted_price_to_usd;
}
}
The custom field "_converted_price" appears correctly on the WooCommerce product edit screen, and its values are saved without issues.
my web is : versteckter Link
Symptoms:
I am unable to select or map the custom field "_converted_price" within the Product Feed Pro plugin to include it in my Google Merchant Center feed.
Questions:
How can I ensure that the custom field "_converted_price" is recognized and available for selection in the Product Feed Pro plugin?
Are there any additional steps or configurations required to include this custom field in my product feed for Google Merchant Center?
Das Thema '[Geschlossen] Custom Field' ist für neue Antworten geschlossen.