robconery / meteor-shop Goto Github PK
View Code? Open in Web Editor NEWA demo eCommerce site using Meteor.js - the code for this site can also be seen at Pluralsight.
License: Other
A demo eCommerce site using Meteor.js - the code for this site can also be seen at Pluralsight.
License: Other
After i follow all your steps that you just mention on the description, but it still error.
it's all the snippets, idk why..
first it's the HTML of the snippets, then i tried to adapt it to a meteor template and the error solved.
but one thing that is still and astill stuck is ..
Stripe_handles.js always got an error..
it says that "Stripe_Handler.js:1:33 unexpected token :"
can you help me?
Hi there,
Demo would be awesome if you had on repo documentation. I think that every repo should have it by default, cause it's give users faster and better insight what is in there.
Peace,
Hi im following you guide and im haveing some trouble.
My global variable currentCart does not work the same as yours does.
I dont send a new currentCart to save when i update the values in the textinput in the cart
Template.cartShow.helpers({
cart: function () {
currentCart = Carts.getCart(userKey);
return currentCart;
},
thereAreNo: function (items) {
return items.length == 0;
}
});
Template.cartShow.events({
"click .remove-from-cart": function (ev) {
ev.preventDefault();
removeFromCart(this.sku, function (err, res) {
if (err) {
console.log(err);
} else {
//any items left?
currentCart = res; //Have to save over currentCart <<<<<<<<<<<<<<<<<
if (currentCart.items.length === 0) {
Router.go("homeIndex");
}
}
});
},
"change .item-qty": function (ev) {
var newQty = parseInt($(ev.currentTarget).val());
var name = this.name;
if (newQty === 0) {
removeFromCart(this.sku)
} else {
this.quantity = parseInt(newQty); // does not change currentCart <<<<<<<<<<<<<
console.log(this.quantity); // updated to new value
console.log(currentCart); // not changed
saveCart(currentCart, function (err, res) {
if (err) {
console.log(err)
}
else {
console.log("changed data");
//alert(name + " updated");
}
});
$(ev.currentTarget).val(newQty);
}
}
});
In the "Test Data" module, you mention dragging in some test data from js files, but those js files do not appear to be included anywhere in this project. It's a little difficult to see the same results on our pages without recreating that test data, by hand. Any chance we can get these data files included in the repo?
After git clone, and meteor update....taken forever and after a few hours still cannot update?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.