Add items to native webflow shopping cart with a self coded configuration tool

Hello everyone,
I am trying to create a configuration tool for people who install solar panels. I am vibe coding with gpt and havent worked with the backend side of webflow e-commerce before.
Whatever i do, it wont let me add items to the shopping cart, with Webflow.push, because cart.js is not loaded . Am I missing something or understanding something wrong?


Here is my site Read-Only: [LINK][1]

Hey @tilkams ,

Have you checked this cloneable out? The implementation there is nothing but simulating add to cart button clicks when a user selects the custom “Add all to cart” button. You might try customizing something like that for your use-case.

Also do you have any event listener set for the add selection to cart button that you have on the page? Noticed that the button does not do anything and is not linked to an event which does something on click. Would also suggest to double-check the code since modifying the specification on the page likely leads to some errors that I could see on the console, might be a scope issue for updateSummaryOnChange function, so worth testing the code and the page to not lead errors. Hope this gives you some idea.