bigcommerce / sample-app-nodejs

A reference implementation of a BigCommerce single-click app, in Node.JS + Next.js/React
MIT License
59 stars 340 forks source link

how to implement an application made with nexjs in my store within the bigcommerce #153

Closed bernardojru closed 1 year ago

bernardojru commented 1 year ago

how to implement an application made with nexjs in my store within the bigcommerce?

bc-chaz commented 1 year ago

Hi @bernardojru this repo shows how to make a NextJS application for BC. It is meant to go hand-in-hand with our documentation. For a quick start, please see here. A step-by-step tutorial can be found here..

Unless there's a specific issue with the code, I am going to close this out. Please reach out if you discover any problems.

bernardojru commented 1 year ago

Hi guys, how can I insert this nextjs application that is in preliminary version in my store within bigcommerce? https://user-images.githubusercontent.com/93547947/217907271-ac96e640-cbbc-4f8b-af9e-19645867dd01.png here 👇 https://user-images.githubusercontent.com/93547947/217907610-126ad5d2-66d7-4706-9762-57a272fc57a1.png

bc-chaz commented 1 year ago

@bernardojru ah I believe what you're likely after is either Script Manager, which allows you to insert a script for a simple app on storefront page (e.g. a live chat app), or our Widgets API, which allows you to create content on specific pages/ areas of the storefront.

bernardojru commented 1 year ago

yes that's right that

bernardojru commented 1 year ago

Error when creating my script 👇 https://user-images.githubusercontent.com/93547947/217948431-6558df77-8522-481d-a22a-f2332909a553.png https://user-images.githubusercontent.com/93547947/217948456-21b1feca-50c9-4147-bde3-161afd5b0b35.png

bernardojru commented 1 year ago

where to find the script?

bc-chaz commented 1 year ago

where to find the script?

@bernardojru an application is not a script - the script manager allows you to insert a script, using JS's script tag, onto a page.

bernardojru commented 1 year ago

I've already followed the steps of how to create a nextjs app in bigcommerce, now I want to install and add within the store, how do I do that? This app here in preliminary version https://user-images.githubusercontent.com/93547947/218039707-39f3bb46-fa4c-4d3e-91ff-6ae7f8869202.png, this store, opens the image 👉 https://user-images.githubusercontent.com/93547947/217907610-126ad5d2-66d7-4706-9762-57a272fc57a1.png

ersanjay5991 commented 1 year ago

@bernardojru have you been able to interact with the store front I want the same things.

bernardojru commented 1 year ago

Where can I find this data API with scope.access_tokencontent modify?