Questions tagged [simplecart]

A free and open-source javascript shopping cart that easily integrates with your current website.

100 questions
0
votes
0 answers

Saving cart details in a database using simplecart.js

I am using simplecart.js. The cart displays properly. What I want to do now is to retrieve the details in the cart and insert into a database. Here is my code. simpleCart({ cartColumns: [ { attr: "name", label: "Name" }, { attr:…
dkum
  • 105
  • 8
0
votes
2 answers

Parsing JSON stored in local storage with jQuery

I'm currently using Simplecart.js to store items into local storage. The JSON below is what I'm working with. I need to parse just the thumb and name, then display them on the browser using jQuery. what's the best approach in achieving this? { …
JONxBLAZE
  • 81
  • 2
  • 10
0
votes
1 answer

Jquery, what is best way to separate two interfering functions and pass variables to each other?

I realize this may have been answered in one way or another and I will continue trying to find a solution in the mean time. I was just hoping to get some ideas on the BEST way to handle this one. I have a shopping cart. My site links many stores…
user7923788
0
votes
1 answer

Using Jquery to find two input values for 1 checkbox selection?

I need to retrieve two values, "price and weight" , from 1 checkbox. I am using Jquery Mobile CSS for this. I simplified the code down and wrote out as much as I could. I don't know how to approach this. I need the outputs in two separate divs…
user7923788
0
votes
2 answers

Add simpleCart Items to Form as Input Values

I need to add the items from simpleCart to a form. I can't find any built-in functions that will do this so I'm trying to create my own script. On the checkout page simpleCart adds the items like this:
Brad West
  • 943
  • 7
  • 19
0
votes
1 answer

Can simplecart be integrated with jotform?

I am using Github pages for my website, and it does not allow PHP. But since I am doing an e-commerce website, I need a shopping cart - with buttons "add item to cart" and "checkout". The idea is, upon checkout, the user will have to fill out the…
sophie
  • 991
  • 2
  • 15
  • 34
0
votes
1 answer

Add function before checkout with simplecartjs

I use Simplecartjs and I see they have custom to add function beforeCheckout. In my shop.html I have this code in the body;
laimingl
  • 37
  • 1
  • 1
  • 5