Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

231
Vistas
How to access webdav files in the codebase in BigCommerce?

I have .js and .json files in webdav and I'm able to access them using cyberduck, however I'd like to import them in the codebase like this:

import File from "webdave/products/somefile";

I found a js package that I think will allow me to do that called webdav however I'm getting cors error when connecting to the client, and upon searching I discovered that BigCommerce does not allow api call to the store database?

Is there a way around it? basically I will be storing js files in webdav containing js objects for some product configurations, so I need those js objects in the codebase.

about 4 years ago · Santiago Gelvez
1 Respuestas
Responde la pregunta

0

You can grab the files with an AJAX request, and use its contents within the success.

$.ajax({
    type: 'GET',
    url: '/content/filname.json',
    dataType: 'json',
    success(data) { 
        console.log(data);
    },
});
about 4 years ago · Santiago Gelvez Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda