This error occurs when entering the product as pdp. I'm getting an error that I'm using the websiteId somewhere and I can't get it, but I'm not sure what exactly is causing it.

Do you have any solution?

Thank you.

enter image description here

1 Answer 1


The window.checkout obj does not have websiteId in it. In browser console enter window.checkout & see the data it has. make changes according to it.

  • 1
    Thank you for your kind reply. As a result of the check, the E-commerce function was not turned on, so the websiteId value could not be retrieved.
    – Gary Kim
    Commented Jul 13, 2021 at 0:18
  • How to turn it on?
    – Black
    Commented Feb 27, 2023 at 12:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.