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: 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
Tag: bigcommerce
BigCommerce Embedded Checkout NotEmbeddableError: Unable to embed the iframe because the content could not be loaded
I am trying to implement bigcommerce embedded checkout into my rails application. I followed this url to integrate embedded checkout into my local rails application. https://developer.bigcommerce.com/api-docs/storefronts/embedded-checkout/embedded-checkout-tutorial But I have error message of “NotEmbeddableError: Unable to embed the iframe because the content could not be loaded.” These are the steps I did. I am using rails application locally. it is running
Stencil – How to get CDN links from javascript
I’m working with Big Commerce’s stencil to add some advanced functionality to my product pages. Part of this functionality requires files to be loaded from the server. Each product page would need a different file so I can’t just use {{cdn …}} in the template file, I need the equivalent of that in javascript Template File: {{cdn “mydogpicture.jpg”}} outputs www.cdn.bigcommerce.com/some/link/mydogpicture.jpg
Uncaught TypeError: Cannot read property ‘substr’ of undefined
Pardon me for not being clear, but have thia script that is really long. When I have it live, I get this error in Chrome’s Console. Uncaught TypeError: Cannot read property ‘substr’ of undefined here is the snippet of code where it is reading from. I looked up substr on google and it appears to be a known property. I