A free and open-source javascript shopping cart that easily integrates with your current website.
Questions tagged [simplecart]
100 questions
6
votes
2 answers
SimpleCart additional information with custom columns
I am using the SimpleCart Javascript Library.
I want to add an id to each product and when the user proceeds to checkout,
these id's would be sent as well.
Instead of these columns, for example:
Name Price
book 5$
I want to have a Product Id…

Aviran Cohen
- 5,581
- 4
- 48
- 75
2
votes
1 answer
simpleCart js formatting cart
I'm having trouble formatting the cart items. I was the increment and decrement on the same line as the Quantity. Additionally, I'd like to add some tags in between some lines. My code is live at…

Ted
- 487
- 2
- 12
- 23
2
votes
1 answer
SimpleCart js - display item options in cart?
For the life of me I can't figure out how to get the options I created for a product to be displayed in the cart. They pass just fine to Paypal! I've spent all day searching for an answer (including ALL the issues on GitHub for simpleCart) and I'm…

M211
- 21
- 1
- 3
2
votes
1 answer
Creating MySQL Insert statement from Simplecart array
I have implemented Simplecart and am passing the contents of the shopping cart to another page where i want to save the product identifier to a MySQL database table along with the quantity and a unique identifier so i can pull the products and…

user2522177
- 47
- 1
- 1
- 6
1
vote
0 answers
Get one element from simplecart.js to JSP
just a simple question about simplecart.js. Is it possible to get one element such as name from simplecart.js into label/table at JSP web? And if anyone have the example, please let me know, i'm beginner about JS so i don't really know how to read…

blacoffees
- 43
- 7
1
vote
1 answer
How to use paypal express checkout with SimpleCart?
Does SimpleCart supports paypal express checkout ?
I need to get shipping address from customers which is not supported in standard checkout by paypal.Please suggest any way of doing that without involving backend.

psyborg.eth
- 310
- 5
- 18
1
vote
0 answers
jQuery.post() data returns entire PHP script as string?
I've already set up a basic SimpleCart.js web shop and am trying to implement realseanp's solution for adding a promo/discount code feature.
He uses the following JavaScript to post the user's entered promo code to…

Troubadour
- 11
- 1
1
vote
0 answers
Custom field value not displaying at checkout in Simplecart
I am not able to get 2 custom attributes to display on checkout in simplecart for size or color. I am able to generate the headers for each column, but no data is displayed in my two custom attributes. Everything else is in the correct spot and…

L4M4l2
- 11
- 2
1
vote
0 answers
Simplecart checkout by email not working
I am working with simplecart and I wish to send the order to my email. Im not getting an email now and I don't know how to solve this. Any help would be appreciated!
This is my simpleCart.js
me.emailCheckout = function() {
itemsString =…

Nirakander
- 199
- 1
- 11
1
vote
3 answers
How to set Javascript "name" when link is clicked?
When I click the button it preforms a function, I am now trying to make it so name: "", is entered when the button is pressed.
I added name="item1" inside the tag but this does not yield the desired result.

Jeff
- 1,018
- 1
- 15
- 33
1
vote
1 answer
Function to update total cost not working
I am building a simple shopping cart using simpleCart.js.
I have been able to display items, add them to my basket and checkout. However, i am trying to add a dropdown to allow the users to select a country to determine the shipping cost.
Plunker:…

Oam Psy
- 8,555
- 32
- 93
- 157
1
vote
2 answers
Limit quantity of items that can be added to cart - simpleCart
Trying to limit the total quantity of items allowed to be added to 4, this function alerts first time but still adds items to the cart.
simpleCart.bind( 'beforeAdd' , function( item ){
if(simpleCart.quantity() === 4 ){
…

user1199795
- 63
- 1
- 11
1
vote
1 answer
AngularJS + simpleCart Issue Showing Cart Contents Until Item is Added
I have introduced simpleCart into my AngularJS application.
The issue i am having is that i can only see the cart contents, when i click on the Add To Cart button.
Steps to reproduce issue:
Open:…

Oam Psy
- 8,555
- 32
- 93
- 157
1
vote
1 answer
SimpleCart.js - add shipping information to object
I am integrating SimpleCart.js (http://simplecartjs.org/) into a small project. I wanted to see if it is possible to actually add the shipping information to the SimpleCart Object.
I get the shipping information from an existing user account, and it…

AnuragBabaresco
- 604
- 8
- 19
1
vote
4 answers
SimpleCartJS: Add CSS classes to generated cart table - displaying a custom cart
I'm trying to figure out how to add css classes to the cart table that SimpleCartJS generates. (The cart layout I'm using is this: http://bootsnipp.com/snippets/featured/shopping-cart-bs-3 but it doesn't really matter)
============
input
This is my…

Katie
- 45,622
- 19
- 93
- 125