Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: single product page is not working. #3

Open
1 task done
althafn96 opened this issue Mar 27, 2022 · 1 comment
Open
1 task done

[Bug]: single product page is not working. #3

althafn96 opened this issue Mar 27, 2022 · 1 comment
Assignees
Labels
help wanted Extra attention is needed

Comments

@althafn96
Copy link

Expected Behavior

single product page should display the product details by id.

Actual Behavior

The product page does not display the product details at all. All we get are default images with no data.

Possible Solution

No response

Steps to reproduce

No response

What version of bagisto integration are you using?

1.3.3

What version of Node.js are you using?

16.13.1

What browser (and version) are you using?

Chrome

What operating system (and version) are you using?

Windows 10

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@althafn96 althafn96 added the bug Something isn't working label Mar 27, 2022
@vivek-webkul
Copy link
Member

Hi @althafn96

To run the VueStoreFront project you need to configure the Bagisto Headless project for the server end support, configure the same project by using the below link:
[https://github.com/bagisto/headless-ecommerce/tree/v1.3.0](Bagisto Headless Commerce v1.3.0)

Once you install the Bagisto with the headless project, try to hit this URL in your browser:
https://your.domain.com/graphql-playground

After that, you can configure the Vuestorefront project, you will find the .env.example inside the packages/theme directory. Remain this file to .env and can set the BAGISTO_DOMAIN
https://github.com/bagisto/vuestorefront/blob/main/packages/theme/.env.example#L1

For more detail, you can check your demo:
https://demo.bagisto.com:2087/product/63

It might be possible that you are not getting the data from the product API, this is the reason you can see the default images and data.
I will suggest you check the console from where you ran the yarn commands.

@vivek-webkul vivek-webkul added help wanted Extra attention is needed and removed bug Something isn't working labels Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants