Jump to content

E-commerce tutorial with ProcessWire + Snipcart: your thoughts?


maxlab
 Share

Recommended Posts

Hey everyone,

Max from Snipcart here!

We just published a full tutorial showing how to use ProcessWire + Snipcart (our dev-first HTML/JS shopping cart platform) to enable e-commerce. It was pretty much my first time playing around with the Apache/MySQL/PHP stack, so I'd love to get some feedback on the demo code. Oh, and also, if you feel like the Snipcart integration could have been done in a different/better way with ProcessWire, let me know!

> Blog post tutorial
> (Very) simple live demo
> GitHub repo

Cheers folks. :)

  • Like 22
Link to comment
Share on other sites

@Rudy thanks for taking the time to check it out! Much appreciated. Always fun to get to learn about new tools and discover their ecosystem/reality. :)

You can actually handle recurring payments & subscription with Snipcart (docs here), but the feature is still in beta. Basically, we only support Stripe, and don't support shipping/discounts yet. We'll try to work on improving the feature by the end of the year most likely!

@Christophe these look helpful! Taking a deeper look soon. Cheers!

  • Like 1
Link to comment
Share on other sites

  • 2 years later...
On 10/20/2016 at 4:34 AM, maxlab said:

@Marty Walker Looking good! :)

@FrancisChung Let us know if you've got questions, anytime, at geeks@snipcart.com

I have something to discuss for an upcoming e-commerce project. Client has only mentioned about it nothing solid so far. Initially my thoughts went straight to use OpenCart since its already a well-built block for E-Commerce but I am well versed in Processwire than Opencart. So just searching for the options in PW for an e-commerce website. 

I shall send you an email to geeks@snipcart.com 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Similar Content

    • By fruid
      Still haven't resolved this issue 
      I thought I move my issue to a separate thread.
      I'm in SnipWire/SnipCart test mode, SnipWire version 0.8.7, PW version 3.0.169
      I'm struggling with the taxes, they just won't get applied to the products, what appears in the cart is always – all the way to the confirm order dialogue – without taxes.
      Here's everything I'm working with:
      SnipWire Settings
      Taxes Provider, I can choose between:
      - Snipcart (no effect - I added additional taxes on snipcart.com which just won't appear)
      - Integrated (SnipWire)
      On snipcart.com:
      - "included in price" (no effect, checked or unchecked)
      - "applies on shippings" (no effect, checked or unchecked)
      So I selected Integrated (SnipWire). Then…
      - Taxes Included in Prices (no effect, checked or unchecked)
      Taxes Configuration:
      - 10 % VAT, Shipping: unchecked
      Shipping Taxes Handling
      - No shipping taxes (for now)
      SnipWire Webhooks Endpoint: /webhooks/snipcart (also added to the Snipcart dashboard like this: http://mywebshop/webhooks/snipcart)
      Product Settings
      Taxable
      - Product is taxable (no effect, checked or unchecked)
      VAT (select field)
      - 10% VAT (no effect, selected or not)
      Ironically enough, I entered the products' gross prices yet in the cart their net prices appear.
      Snipcart Products
       click "Refresh" – no effect
      Snipcart.com Settings
      prices are wrong here. I entered "," as a decimal seperator, now the prices are all hundredfold, i.e. 14,80 -> 1,480.00
      - refreshed products - no effect
      ____
      Also tried the usual suspects, deleting cache, incognito mode.
      What else can I try? If I contact to snipcart.com, they always advise me to talk to the PW "SnipWire" module developer @Gadgetto
      Please help!
    • By kongondo
      Announcing the current status, planned release, roadmap and preview of Padloper 2.
      Status
      Feature freeze. Full multilingual support. Only PHP 7.2+ supported. Support for ProcessWire 3.0 only. Backend support for modern browsers only (that support JavaScript ES6 modules). Current Work
      Finish work on admin/backend. Work on installer and uninstaller (including configurable availability of some features). Work on UI/UX improvements. Start work on documentation with special focus on technical documentation. Continue work on Padloper API and data/model component. Roadmap
      Please note that these ARE NOT hard and fast targets. The roadmap may have to be adjusted to accommodate technical and non-technical constraints.
      Q1 2021
      Inbuilt support for (latest) PayPal (full rewrite, no external modules required). Additional work on Padloper API. Invite a limited number of early alpha testers (fully-priced product). Soft and closed release of Padloper 2.
      Q2 2021
      Start work on relaunch of Padloper website. Inbuilt support for Stripe (no external modules required). Future Plans
      Support for more Payment Gateways. Support for order, customers, etc imports and exports. Support for AdminThemeReno and AdminThemeDefault. Separate fully-featured frontend shop module. Consider support for multiple currencies. FAQ
      1. Have you abandoned this project? 
      No.
      2. When will Padloper 2 be released?
      First early alpha release is scheduled for Q1 2021. This target may change depending on circumstances! Access will be by invite only for this first release.
      3. What is the pricing model of Padloper 2? 
      Three licences: Single Site, Developer and Agency licences (12 months’ updates and VIP support).
      4. How much will Padloper 2 Cost?
      No price has been set yet. It will cost more than Padloper 1.
      5. Can we upgrade from Padloper 1?
      No.
      6. Will existing users of Padloper 1 get a discount for Padloper 2?
      No, this will not be possible. Apologies for the earlier announcement. It was unrealistic and unworkable.
      7. Can we pay for Padloper 2 in advance?
      No.
      8. Does Padloper 2 render markup/templates in the frontend?
      No. Access to all data you need to build your shop’s frontend is via the Padloper API.
      9. Can we keep sending you ‘Are we there yet’ messages?
      No, please.
       
      Preview
      Here is a video preview of the current state of the backend/admin of Padloper 2. Please note the following:
      This is early alpha. There are bugs! It even includes WIP/notes!! FOUC, misaligned things, etc. The video shows the near-raw implementation of Vuetify UI. The UI/UX improvements work is yet to start. What you see here is the development version.  Some of the incomplete features may not be available in the early releases. Most of the features you see will be optional to install.  

       
    • By fruid
      I get an "Undefined Variable" Error on a template for a variable that I declare on the _main.php template which is clearly included.
      Some background: At the beginning I didn't have a _main.php template for that particular project because I started off with a different profile but all my other projects work that way so I just created one and yes also included it on the config.php…
      $config->prependTemplateFile = '_init.php'; $config->appendTemplateFile = '_main.php'; $config->useMarkupRegions = true; $config->useFunctionsAPI = true;  Might there be something that am I doing wrong or missing out on though? 
      Also, not sure if related, when I include "namespace ProcessWire" on the top of the template, cause I thought that might be the issue, it wouldn't know the functions like __() and _x(), you know, the ones to make strings multilingual.
      Call to undefined function _x(), did you mean _()?  
    • By Gadgetto
      SnipWire - Snipcart integration for ProcessWire
      Snipcart is a powerful 3rd party, developer-first HTML/JavaScript shopping cart platform. SnipWire is the missing link between Snipcart and the content management framework ProcessWire.
      With SnipWire, you can quickly turn any ProcessWire site into a Snipcart online shop. The SnipWire plugin helps you to get your store up and running in no time. Detailed knowledge of the Snipcart system is not required.
      SnipWire is free and open source licensed under Mozilla Public License 2.0! A lot of work and effort has gone into development. It would be nice if you could donate an amount to support further development:

      Status update links (inside this thread) for SnipWire development
      2020-07-03 -- SnipWire 0.8.7 (beta) released! Fixes some small bugs and adds an indicator for TEST mode 2020-04-06 -- SnipWire 0.8.6 (beta) released! Adds support for Snipcart subscriptions and also fixes some problems 2020-03-21 -- SnipWire 0.8.5 (beta) released! Improves SnipWires webhooks interface and provides some other fixes and additions 2020-03-03 -- SnipWire 0.8.4 (beta) released! Improves compatibility for Windows based Systems. 2020-03-01 -- SnipWire 0.8.3 (beta) released! The installation and uninstallation process has been heavily revised. 2020-02-08 -- SnipWire 0.8.2 (beta) released! Added a feature to change the cart and catalogue currency by GET, POST or SESSION param 2020-02-03 -- SnipWire 0.8.1 (beta) released! All custom classes moved into their own namespaces. 2020-02-01 -- SnipWire is now available via ProcessWire's module directory! 2020-01-30 -- SnipWire 0.8.0 (beta) first public release! (module just submitted to the PW modules directory) 2020-01-28 -- added Custom Order Fields feature (first SnipWire release version is near!) 2020-01-21 -- Snipcart v3 - when will the new cart system be implemented? 2020-01-19 -- integrated taxes provider finished (+ very flexible shipping taxes handling) 2020-01-14 -- new date range picker, discount editor, order notifiactions, order statuses, and more ... 2019-11-15 -- orders filter, order details, download + resend invoices, refunds 2019-10-18 -- list filters, REST API improvements, new docs platform, and more ... 2019-08-08 -- dashboard interface, currency selector, managing Orders, Customers and Products, Added a WireTabs, refinded caching behavior 2019-06-15 -- taxes provider, shop templates update, multiCURL implementation, and more ... 2019-06-02 -- FieldtypeSnipWireTaxSelector 2019-05-25 -- SnipWire will be free and open source Plugin Key Features
      Fast and simple store setup Full integration of the Snipcart dashboard into the ProcessWire backend (no need to leave the ProcessWire admin area) Browse and manage orders, customers, discounts, abandoned carts, and more Multi currency support Custom order and cart fields Process refunds and send customer notifications from within the ProcessWire backend Process Abandoned Carts + sending messages to customers from within the ProcessWire backend Complete Snipcart webhooks integration (all events are hookable via ProcessWire hooks) Integrated taxes provider (which is more flexible then Snipcart own provider) Useful Links
      SnipWire in PW modules directory SnipWire Docs (please note that the documentation is a work in progress) SnipWire @GitHub (feature requests and suggestions for improvement are welcome - I also accept pull requests) Snipcart Website  

       
      ---- INITIAL POST FROM 2019-05-25 ----
       
×
×
  • Create New...