How to add dynamic html or script to any page in Bigcommerce Store using application development API

I am developing an application for bigcommerce stores, it will be a public application that can be installed in the bigcommerce store through the application store. I want to add some dynamic html part for front page storage. I don’t know if this is possible or not in bigcommerce through their API.

I see that anyone can make changes to the theme of the bigcommerce store and its template page by editing it through the admin panel. but I do not want to do this because I want to handle these things through the application.

This is possible or not in bigcommerce, as we can use web hooks in woocommerce or magento to change the html interface.

+4
source share
1 answer

There is currently no documented API endpoint for javascript injection. We are working on future versions that will allow javascript to be inserted as soon as the store owner permits this application.

In the meantime, you can add javascript to the web analytics field, footer scripts or when using a stencil, you could change the theme for the merchant and use webpack 2 to load only certain pages.

+1
source

All Articles