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

wooNuxtSEO is not a function #218

Open
tzhf opened this issue Aug 13, 2024 · 1 comment
Open

wooNuxtSEO is not a function #218

tzhf opened this issue Aug 13, 2024 · 1 comment

Comments

@tzhf
Copy link
Contributor

tzhf commented Aug 13, 2024

Hi there,
I'm running a fresh install using Local and finally got the SSL working locally, i'm able to login/manage my customer account, and load all products.
However when i click on a single product nothing happens and i'm getting this in the console :

image

And on the product/slug route :

image

I looked at the doc but found nothing about this function or any mention in the issues.

Commenting this line in product/[slug].vue seems to temporarily fix it :
image

Cheers

@grandant
Copy link

grandant commented Oct 5, 2024

TL;DR: You must have at least one product with a price set in the backend (All Products menu) to avoid WooNuxt falling back to default settings.

This happened to me seemingly out of nowhere while everything was working fine. I removed the last existing price on my products while testing, which must have triggered the issue for me. It was really frustrating because I reverted every single change to the WooNuxt template and finally tried a clean install before realizing that the root cause must be connected with the backend.

Without at least one product price, the WooNuxt Settings plugin falls back to its defaults, which impacts SEO metadata, the primary color settings, etc.

Hopefully, this helps anyone in the same position.
@scottyzen Can we consider this to be expected behavior, or is it a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants