XML Feed for Facebook Shop?

Phoca Cart - complex e-commerce extension
TechMistress
Phoca Enthusiast
Phoca Enthusiast
Posts: 50
Joined: 27 May 2015, 21:24

XML Feed for Facebook Shop?

Post by TechMistress » 06 Jan 2021, 01:54

Hi Everyone!

Has anyone created an xml feed for use with Facebook Shops? They have a way to sync your catalog, but I didn't know if it would work with Phoca. Facebook has their data feed specs here: https://www.facebook.com/business/help/ ... 3027795860

Also, does anyone have a sample feed setup for Google? I'm not quite understanding the fields.

Thanks!

TechMistress
Phoca Enthusiast
Phoca Enthusiast
Posts: 50
Joined: 27 May 2015, 21:24

Re: XML Feed for Facebook Shop?

Post by TechMistress » 06 Jan 2021, 04:24

Facebook does accept Google Feeds. The only REQUIRED columns I cannot figure out how to add to the feed are:

image_link (I tried using 'image', but it does not work)
url
link

I'm not sure the difference between their 'url' and 'link', but I don't know what to put in that item anyway.

Any ideas?

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 43606
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: XML Feed for Facebook Shop?

Post by Jan » 06 Jan 2021, 16:11

Hi, you can define the fields in options of XML Feed.

So you can define there image_link and url (link), but to know exactly what the difference between link and url is, you need to see the service API

Image

Image

Jan
If you find Phoca extensions useful, please support the project

TechMistress
Phoca Enthusiast
Phoca Enthusiast
Posts: 50
Joined: 27 May 2015, 21:24

Re: XML Feed for Facebook Shop?

Post by TechMistress » 06 Jan 2021, 21:35

Ohhh, Thank you!

I had it opposite! I was putting the name of the Phoca field in the blank field, rather than the asked-for item!

TechMistress
Phoca Enthusiast
Phoca Enthusiast
Posts: 50
Joined: 27 May 2015, 21:24

Re: XML Feed for Facebook Shop?

Post by TechMistress » 07 Jan 2021, 21:16

Everything works great! Thank you.

Another Question: Is there a way to NOT inlcude a category or product in the feed?

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 43606
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: XML Feed for Facebook Shop?

Post by Jan » 09 Jan 2021, 02:51

For now, you can only unpublish each product for XML feed:

Image

Jan
If you find Phoca extensions useful, please support the project

TechMistress
Phoca Enthusiast
Phoca Enthusiast
Posts: 50
Joined: 27 May 2015, 21:24

Re: XML Feed for Facebook Shop?

Post by TechMistress » 11 Jan 2021, 22:49

Great! I suppose at a glace I thought that was unpublish the entire product.

Phoca Cart continues to be a fantastic shop!

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 43606
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: XML Feed for Facebook Shop?

Post by Jan » 12 Jan 2021, 22:46

Ok
If you find Phoca extensions useful, please support the project

TechMistress
Phoca Enthusiast
Phoca Enthusiast
Posts: 50
Joined: 27 May 2015, 21:24

Re: XML Feed for Facebook Shop?

Post by TechMistress » 21 Jan 2021, 21:15

I have tried to unpublish products from the Feed in the XML Feed section of each product, however they are still showing up in the feed.

The only way to not include products in the feed that I could find is to unpublish the product entirely.

Is this a bug?

Image

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 43606
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: XML Feed for Facebook Shop?

Post by Jan » 23 Jan 2021, 00:29

Hi, which version do you use now? When you test it with this Beta:
https://github.com/PhocaCz/PhocaCart/re ... Beta5b.zip
Do you get the same problems?
If you find Phoca extensions useful, please support the project

Post Reply