Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I am trying to add a file definition to a custom field, then I need to upload an image that I will only use for a specific purpose and I do not want to show this image on Products page.
I managed to get something closer to it, I upload the image to
$response = $api->rest("POST", "/admin/products/123/images.json", $imagePayload);
then I get the response and save into custom field
$response = $api->rest('POST', '/admin/products/123/metafields.json', [
"metafield" => [
"namespace" => "product",
"key" => "description_image",
"value" => trim($image['src']),
"type" => "url"
]
]);
The issue is that this shows the image on the products page along with other images.
Hello @inuarYour requirement entails custom development, which necessitates paid services. Please inform us if you are open to discussing this further.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025