meteor-shopify
meteor-shopify copied to clipboard
Getting Started
N00b here... How would I actually implement this package into my project. Im puzzled as to my first steps. My end goal is to access the shopify api in order to parse a json file and display the results in a meteor template.
Hi @jamesdeantv
Can you give me some more info? Do you just want it to work for your shop? Or do you want people to be able to install it from the app store? Or do you already have users and want to add a shopify integration?
Hi @froatsnook I have a question also. I can use this to build a custom store in Meteor right? I could then just utilize Shopify's check out. I did get the plugin working with my dev store as a private app. I'm just wondering what other people are using this for.
Hey @kbrissoGitHub. Huh, I didn't know that was possible. How do you start the checkout process?
I made the package while building a tool for a shop owner's warehouse -- take the new orders from the API, generate a pick list, generate bills and packing slips, scan the barcodes on the bills/packing slips to mark orders as fulfilled via the API, etc.
I'm not sure what other users are doing. Wanna chime in @ilrein, @lukeclifton, @dbnoble?
Hey @kbrissoGitHub / @froatsnook.
You could use a Meteor App to create new products via the Shopify API (using this package, or others like it). But you would need some kind of JS script / app within your Shopify theme to actually add the products to the Shopify cart via the cart AJAX API. (https://docs.shopify.com/themes/development/getting-started/using-ajax-api).
This is the breakdown for the Shopify / Meteor project i've been working on for a client:
- I have a AngularJS app embedded on a product page template, which handles product options and pricing.
- That talks to a Meteor app which generates custom advanced product pricing.
- When the 'Add to Cart' button is clicked within the Angular app it then calls the Meteor app which in turn creates a duplicate product via the Shopify API, but with the new product price and returns the new product id to Angular app.
- Which in turn adds the new product to the cart via Shopify's cart.js script
You can do some quite complex functionality with the right mix of technology.
Any questions just ask!