APIs & Integrations

prashant_bagare
Participant | Diamond Partner
Participant | Diamond Partner

Product images not displayed - Ecommerce Bridge

Portal ID = 6937773


Problem:
We recently updated the e-commerce settings for our apps for PRODUCTS and changed the setting type for 'ip__ecomm_bridge__image_url' from STRING to AVATAR_IMAGE and the images are now being displayed on products in test portals.

Using the e-commerce bridge service, we updated all the product for one of our clients (portal: 6937773), but none of the products are displaying the images in the product library. There are no sync error logs and also I have checked that we are passing the correct complete image URLs.

The products already exist and we are trying to update the products to add the images.


We are using e-commerce bridge service version 2 (v2).

Action Endpoint: /extensions/ecomm/v2/sync/messages


Status: 204


Expected result: The updated product should display the image as per the image URL link set.

Actual result: Product image is not displayed


Error Messages: None

Question: Why is other product information getting updated but the images are not showing in Sales -> Product Library. Also, newly created products are not showing the images in the product library.

0 Upvotes
10 Replies 10
BrittanyHerrick
HubSpot Product Team
HubSpot Product Team

Product images not displayed - Ecommerce Bridge

@prashant_bagare, a few changes have recently been made on our end which should resolve this issue. For the product mapping, could you do me a favor and send the sync message for the mapping again?  Just a note that in order for the image to be created, the CRM needs to identify that the value for the property changed. So resending the same 'image_url' value won't work if it's the same value that the property already has. As a workaround, you could update the name to 'image_url2" and then change it back to "image_url." Once the mapping has been updated, product images should start to populate moving forward. 

prashant_bagare
Participant | Diamond Partner
Participant | Diamond Partner

Product images not displayed - Ecommerce Bridge

@Jonno_Price @dennisedson Any news on this one?

0 Upvotes
himanshurauthan
Thought Leader | Elite Partner
Thought Leader | Elite Partner

Product images not displayed - Ecommerce Bridge

Hey @prashant_bagare   , 

 You are using wrong property name "externalPropertyName": "image_url",

Actual property name is 'externalPropertyName' => 'product_image_url',

Hope this works for you!

Digital Marketing & Inbound Expert In Growth Hacking Technology
prashant_bagare
Participant | Diamond Partner
Participant | Diamond Partner

Product images not displayed - Ecommerce Bridge

Thanks, @himanshurauthan for your reply.

But, isn't "product_image_url" or  "image_url" specific to the external application that we are using?
I mean the external name could be anything but that has to be mapped to the hubspot internal property "ip__ecomm_bridge__image_url" which our application has done.

Also, it is working when we create new products. The new product that we create does show the images.

0 Upvotes
himanshurauthan
Thought Leader | Elite Partner
Thought Leader | Elite Partner

Product images not displayed - Ecommerce Bridge

Hi @prashant_bagare , 

Can you please share the sample data that you are sending for product update?

Thanks,
Himanshu

Digital Marketing & Inbound Expert In Growth Hacking Technology
0 Upvotes
prashant_bagare
Participant | Diamond Partner
Participant | Diamond Partner

Product images not displayed - Ecommerce Bridge

Hi @himanshurauthan 

Below is the excerpt from e-commerce settings for the product mappings.
{
"externalPropertyName": "image_url",
"hubspotPropertyName": "ip__ecomm_bridge__image_url",
"dataType": "AVATAR_IMAGE"
},

Here is what we are trying to sync to the image:
"image_url": "https://cdn.shopify.com/s/files/1/0013/2294/2567/products/slate-blue-hydra-shaker-700ml-stainless-st...",

Thanks,
Prashant

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

Product images not displayed - Ecommerce Bridge

@Jonno_Price ,

Now that I know you are an Ecommerce Bridge expert 🤓, maybe you can help out here?

0 Upvotes
prashant_bagare
Participant | Diamond Partner
Participant | Diamond Partner

Product images not displayed - Ecommerce Bridge

Problem:
We recently updated the e-commerce settings for our apps for PRODUCTS and changed the setting type for 'ip__ecomm_bridge__image_url' from STRING to AVATAR_IMAGE and the images are now being displayed on products in test portals.

So now we also added the settings for LINE_ITEMS as well. While syncing data to deal line items, we are passing the value for 'ip__ecomm_bridge__image_url' as the image URL link.


When we open the product from Sales -> Library, the image is displayed correctly.
But when we open the same product that is linked to a deal, from the View Line Items section of the deal, there is no image for that product.

We are using e-commerce bridge service version 2 (v2).


Expected result: Deal line item product should display the image as per the image URL link set.


Actual result: Product image is not displayed


Error Messages: None


Question: Any idea if the product image is supported on the deal line items?

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

Product images not displayed - Ecommerce Bridge

Hey @prashant_bagare 

Could you provide some code snippets so we can take a look?

@himanshurauthan , any thoughts here?

0 Upvotes
prashant_bagare
Participant | Diamond Partner
Participant | Diamond Partner

Product images not displayed - Ecommerce Bridge

Hi @dennisedson 

Below is the excerpt from e-commerce settings for the product mappings.
{
"externalPropertyName": "image_url",
"hubspotPropertyName": "ip__ecomm_bridge__image_url",
"dataType": "AVATAR_IMAGE"
},

Here is what we are trying to sync to the image:
"image_url": "https://cdn.shopify.com/s/files/1/0013/2294/2567/products/slate-blue-hydra-shaker-700ml-stainless-st...",

I am sharing only the image field value as this is for a client.
There are no errors in the sync errors API endpoint. But we do not see an image being displayed in the Product Library even though the image URL is valid and we are setting the correct value to the image_url field.
This is happening for old products as well as new products.

Thanks,
Prashant

0 Upvotes