Help required for API - please anyone who knows about API and WIX

CreativeLeahG
Honored Contributor III

Hello

 
I really need help with this please, I've been trying to figure it out but am not getting very far
 
re the API
 
I was looking at a particular site, amongst other things they are Zazzle affiliates and have a simple search that pulls products from Zazzle that shows image and price:
(I can send site link in pm)
 
And I'd like to have a similar thing accessible for my wix site and blogger blogs and I've been trying for ages to work this out.
 
Note: I want the code on my own site not as an iframe as per other services that offer this type of display.
 
Can someone point me in the direction of how I do this specific thing.
 
Chat bot has kindly made me some code, but I can't get it to work on my wix site.
 
Any and all help is very much appreciated.
 
Thank you
 
Leah
11 REPLIES 11

CreativeLeahG
Honored Contributor III

ps, am of course willing to pay for assistance re this, the usual sources for recruiting freelancers seem to have no clue what I'm on about .... no news there! 

TabzJones
Contributor

Have you contacted WIX? I've been with them for years but I've never used API on any of my sites. Their customer service has always been great, and they do have people on chat who can help with those things.

~Tabz
In a world full of orchids, be a Dandelion. ☼

CreativeLeahG
Honored Contributor III

Hi Tabz, I will do that but I think it's a zazzle/wix thing in that I may need help figuring out the Zazzle API side, I have also emailed Zazzle re it. Thank you 

Mark
Moderator
Moderator

Hi @CreativeLeahG,

You may have this already, but though I would send it on anyway.

Create-a-Product API

- Mark

CreativeLeahG
Honored Contributor III

Yes thank you I do, and sadly I don't understand a word of it, especially with regards to how I implement it with Wix. Hence I need help 😞 

CreativeLeahG
Honored Contributor III

 

deleted as ai not helping either x

Pixelan
Valued Contributor

I think that's an API to allow people to create a product on another site and buy it through Zazzle. @CreativeLeahG seems to be looking for displaying the products from her store on her own website.

Not sure if an API for that is offered by Zazzle?

Pixelan
Valued Contributor

There's this wordpress plugin, not sure how it pulls content from the Zazzle store. Looks like it just hard scrapes it from the web: https://wordpress.org/plugins/elegant-zazzle-plugin-ezp/#description

Edit: that plugin is 11 years old, I doubt Zazzle has an API that allows a developer to fetch products from a specific store. It would be cool though. @CreativeLeahG can you send me that link where you saw it from the initial post?

Only method I see atm, is an iframe integration.

There might be a Wix plugin for it, but I'm not familiar with Wix.

Ok, last edit, didn't want to make a new reply 🙂

it looks like you can retrieve and search your store using, an old but still working, RSS method.

See here: https://www.zazzle.com/sell/developers/rss

For example this is one of my collections: https://feed.zazzle.com/collections/119747903081187440/rss

And this is a search for mugs in my store: https://feed.zazzle.com/store/pixelatednature/rss?qs=mugs

The results are in RSS format and need to be converted, there's probably many libraries for it. But will require some programming.

 

CreativeLeahG
Honored Contributor III

Wix had no clue what I was on about when I contacted them, but I've been put through to their freelancers to see if a coder person can assist. 

Zazzle have something I am using, can see here to good effect but the images are too small and the results it throws up can be a bit hit and miss. But that might always be the case due to tags etc. 

I might just have to stick with this.

Thanks for the info, I shall look into what I can do re those feeds. I do want to affiliate for others though so need affiliate code in there somewhere. 

Yeah, I'm afraid you need something custom build by someone with experience with Wix for your use case.

I might one day take some time to look into this RSS option and see what fun stuff can be build, maybe something that generates a good image of a collection to share on social media. The current share option (when you press share link) has really small images.

AtypicalPuzzles
New Contributor III

Hi,

Late to the party but adding some info here, in non-technical terms, in case people are interested in it.

In order to embed Zazzle rss data into your own site you will need a server side component (i.e. php or the like) that gets the data from Zazzle. You can't do that directly from a HTML page because Zazzle's security policy on the feed data prevents it from intermingling with data in your HTML page. This is fairly standard practice.

The reason that Iframes works is because the iframe is an independent container and is not directly accessible via the code in the HTML page that its embedded in.

If they aren't both on the same server, to embed server side code into a HTML page without using iframes the server side code has to effectively give the browser permission to intermingle its data with the HTML page that requested it.

I hope that makes sense.

→ Atypical Puzzles focuses on large word search puzzles posters featuring thousands of words—ideal for any gathering space, including homes, workplaces, clubs, schools, and waiting areas.    https://atypicalpuzzles.tiiny.io/  ←