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 : hidden 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?
The topic ‘[Closed] Custom Field’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.