Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

180
Views
Using Ecwid integration with custom React app

I'm trying to integrate Ecwid into my custom React/Gatsby project. I'm using React Helmet for external script but I get Uncaught ReferenceError: xProductBrowser is not defined .

export default class TEST extends React.Component {
  render() {
    return (
      <>
        <div id="my-store-123"></div>
        <div>
          <Helmet>
            <script
              data-cfasync="false"
              type="text/javascript"
              src="https://app.ecwid.com/script.js?123&data_platform=code&data_date=2021-11-08"
              charSet="utf-8"
            ></script>
          </Helmet>
          <Helmet>
            <script type="text/javascript">
              xProductBrowser( "categoriesPerRow=3", "views=grid(20,3) list(60)
              table(60)", "categoryView=grid", "searchView=list",
              "id=my-store-123" );
            </script>
          </Helmet>
        </div>
      </>
    );
  }
}

Is there an alternative way of using external script which will make this thing work?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!