Integrating Backlight Cart into WP

Hiya,

As I am using my own installer of Wordpress with a wordpress template I was wondering if it is somehow possible to integrate the backlight cart and albums into this template. Maybe trough API or any other method.
I enable json API in settings and try to access https://www.circuitpics.nl/webshop/backlight/api/albums.json
Also created a plugin so I can embed gallery/albums etc on my wordpress website but it does not show any albums

But it shows login screen.

Thanks

You should be able to use the buy button as explained over in Write-in Purchase Buttons | Backlight. Embedded albums in wordpress don’t support the Backlight cart feature.

Ok, ill take that in consideration. But for now I dont get any access on the gallery/albums, am i missing some authentication to access to API or is this an OPEN API feature?

If using a theme created in Backlight, you can use the album shortcode

Hi @rod_barbee this is with a wordpress template not created within backlight.

You’ll probably need to wait for @Matthew to weigh in then.

Unfortunately, we can’t make any guarantees about how things are going to work in other themes.

Hi, I do not ask for help to get it running on a different theme.
Just in need of help to get the API accessable.

As I have set my albums to public, and also enabled API in the settings. This should give me a normal json response? For some reason I can not get the backlight installation with a API in enabled state.

Might be something with server setup, htaccess or permissions?

https://www.circuitpics.nl/webshop/backlight/api/album/

@rod_barbee @Matthew

Have you checked our docs on using the JSON API? Once enabled, you should be able to use either JS or PHP, whichever you prefer, to pull data from Backlight.