Jump to content

Use shopping cart with existing Processwire website (prestashop)

Recommended Posts

Hello everyone,

I just made a website and created the cms using Processwire. It was really great to set up and I can configure it just the way I want it which is perfect. Now this site has 1 main product to sell in 4 colors. My question now is, how do I create a checkout for the visitors with easy payment such as Paypal and iDeal (I live in holland). 

I'm not to familiair with PHP to create a whole checkout form which is save enough and with a data system for all the customers myself. So I thought I would only use the shopping cart and catalog function of Prestashop. But how exactly can I set that up?

I was thinking about permalinks. So that customers on my site can select the product and how many they want and after that they get linked right to the checkout page from Prestashop with the exact price and that they only have to fill in their info.

Do you guys have suggestions on this?

Kind regards,


Share this post

Link to post
Share on other sites

Hi Bearclaw, great you enjoyed working with Processwire.....as was to be expected..... ;)

Is the shopmodule that is available something for you: Shop-for_Processwire ?

There is also  a paypal module available to it.

I'm in the Netherlands as well, so if you need help with Ideal integration after installing shop software (no matter which), just let me know. W've done it before.

But you could also use Mollie, which integrates lots of different payment options including Paypal and Ideal, what is even easier.


@Diogo   HE, didn't know Simplecart. Looks indeed easy. Going to test it in the near future. Thanks.   :)

  • Like 1

Share this post

Link to post
Share on other sites

Has been discussed before, simplecart is a client side shopping cart

and is there for not recommended !

It is easy to change the payment providers and change prices of simpleCart(js) items before checkout.

This is a known security flaw that exists with ALL javascript shopping carts.

Anything using client side scripting will end up being hacked.

You will have to add the help of a server side system to verify the order's content
from malicious manipulation and pass it to any payment processing party,
or simply send it by email. This way of working should be avoided.

Just google simplecart.js

  • Like 2

Share this post

Link to post
Share on other sites

Apeisa has made a great shopping cart module but if you miss anything in it´s backend

I recommend to use opencart because internally opencart is very similar as processwire

and has the same freedom in how the front end looks.

Opencart has a very easy to understand and very easy to use backend for a shop owner

and end user.

Share this post

Link to post
Share on other sites

foxycart allows you to use your own cart and then use their checkout page; you do it by adding all of the products in your 'pre cart' to the foxycart cart and redirect to checkout; so this would imply that you use the shop-for-processwire and on the cart page and then modify it to be a form that submits to FC when clicking the checkout button; or you can just use the default foxycart;

for prestashop, you might run your prestashop in a subdomain like shop.domain.com and then have links to the product pages from processwire; it's awkward to do it this way nowadays, but you still see it, where companies have their main site, and then a dedicated shop site. Seems like overkill though for what you're setting up..

snipcart also looks really cool and is ahead of FC with respect to responsive design

Share this post

Link to post
Share on other sites

Thanks for all the replies but what I really want is that the customers on my site can select which products they want + the amount. And when they select the 'pay with ideal' button I want them to be redirected to the payment section from prestashop. Does anybody know how to do this or has experience doing this?

Kind regards, 


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Gadgetto
      Status update links (inside this thread) for SnipWire development will be always posted here:
      2019-11-15 2019-10-18 2019-08-08 2019-06-15 2019-06-02 2019-05-25 If you are interested, you can test the current state of development:
      Please note that the software is not yet intended for use in a production system (alpha version).
      If you like, you can also submit feature requests and suggestions for improvement. I also accept pull requests.
      ---- INITIAL POST FROM 2019-05-25 ----
      I wanted to let you know that I am currently working on a new ProcessWire module that fully integrates the Snipcart Shopping Cart System into ProcessWire. (this is a customer project, so I had to postpone the development of my other module GroupMailer).
      The new module SnipWire offers full integration of the Snipcart Shopping Cart System into ProcessWire.
      Here are some highlights:
      simple setup with (optional) pre-installed templates, product fields, sample products (quasi a complete shop system to get started immediately) store dashboard with all data from the snipcart system (no change to the snipcart dashboard itself required) Integrated REST API for controlling and querying snipcart data webhooks to trigger events from Snipcart (new order, new customer, etc.) multi currency support self-defined/configurable tax rates etc. Development is already well advanced and I plan to release the module in the next 2-3 months.
      I'm not sure yet if this will be a "Pro" module or if it will be made available for free.
      I would be grateful for suggestions and hints!
      (please have a look at the screenshots to get an idea what I'm talking about)

    • By kongondo
      Released 29 May 2017
      Variations is a simple yet powerful commercial ProcessWire module that allows website editors to create attributes and their values and from those generate variations of any entity, most notably products.
      The module consists of  FieldtypeVariations and InputfieldVariations as well as a ProcessVariations for managing variations configurations and attributes.   Setting up the field is quite easy.   First, create a field of type Variations. Define some custom inputs that will need to be directly edited on the page containing the field, for instance a product price, SKU, etc.   Secondly, via the Inputfield, create a couple of attributes.   Thirdly, create a variations configuration and add the attributes and values you want in the configuration. Link that variations configuration to your page and the module will automatically generate all possible combinations (variations) of the attribute values in that configuration. These, together with the custom inputs you created when setting up the field will be displayed on the page (e.g. a product page), ready for editing. This makes this module quite unique; variations are defined at the page-level rather than at the field level. This presents lots of possibilities such as infinitely reusable attributes and variations configurations.    For those using Padloper, integration with the e-commerce platform is quite simple as demonstrated in this tutorial.  The module consists of 4 modules
      ProcessVariations FieldtypeVariations InputfieldVariations VariationsCustomTableManager (autoload module, working behind the scenes) Video Demo: https://youtu.be/T93nn96UL8o
      Documentation: https://variations.kongondo.com/
      Shop: https://processwireshop.pw/plugins/variations/
      Requires: ProcessWire 2.5 or newer
      Easily create variations of anything, including products for e-commerce websites, etc Create an attribute once, use it everywhere, multiple times, picking and choosing all or only the attribute values you want Bulk editing of variations configurations and attributes Reusable variations configurations Works with Padloper out-of-the-box with minimal coding User-friendly, intuitive and easy to set up
    • By Chris
      i currently evaluating differen systems for building a page to sell video courses and other payed membership content. 
      So you would get some free content after the registration and you can switch the account to a payed membership to read articles, watch videos and so on.
      There should be also content that is deliverd after X amount of days (which i think is not a problem with pw)
      As a Processwire fan , it would be cool to build it with PW, but on the downside PW has no ready to go membershipsystem with payment for all in germany common payment forms.
      On the other side there a plenty of plugins for wordpress exactly for this need. 
      So i'm asking if someone has already experiences with this stuff and can help a little to evaluate the effort it takes. 
      Can someone recomment a payment service that works well with PW? - so i quess a service that is builded to work with PHP in genereal.
    • By kongondo
      Introducing Variations, an Input- and Fieldtype for product variations and their attributes.
      Product variations is a topic that has been coming up now and then, especially in the recent past.  This module seeks to fill this gap. Though it's in its early stages of development, it is already functional and can be used as is. I decided to make an early announcement (modules development forum) in order to get early feedback from potential users. 
      The module is an alternative take on how variations can be built for a product. Imagine the ubiquitous T-Shirt. The product could vary by ...Size, Colour, Material, etc...These variations could in turn have internal variations, i.e. attributes....so, Size [Small, Large], Colour [Red, Blue]...etc; you get the drift.
      The usual approaches to building variations have been either to use Multiple pages, Repeaters, Page Table, Table or Matrix (limited to 1x1 variations). In this module, we do it a bit differently.
      First, the variations occur not at the Field level (meaning all product pages would have the same variations and attributes for each template) but at the page level. Secondly, there are no multiple pages for each variation and/or attributes; a product is a single page. The variations and their attributes are defined by site editors at the page level. Once a variations configuration has been defined, it is applied to the page and all possible combinations are generated (i.e. the Red,Small,Cotton; Red,Large,Cotton, etc) in the Inputfield. There is no limit to the number of variations and attributes that can be defined, although you will be amazed at how quickly the combinations grow! Prices are entered for each combination when editing the page. Combinations without prices are not saved to the database. Please note that prices cannot themselves vary at the page-level. Meaning, you cannot have ONE variation configuration that has different price inputs per product in the same FieldtypeVariations field.
      The module ships with an API for outputting variation combinations in the frontend. Search, database and in-memory work as normal in the frontend. In the backend, DataTables provides a nice paginated, filterable table. Prices can be entered on any pages (of the table) without loss of data (meaning you can enter prices on page 1, scroll to page 10, enter more prices, filter or search the products table, enter more prices and finally save; no data will be lost).
      I still have a couple of ideas and plans pending but would love to hear from you, thanks.
      Below is a short video demo of the module in its current state. Things may/will change, both UI and features. Btw, the Fieldtype, although primarily targeted at commerce applications, is by no means limited to this. Other uses requiring combinations of whatever number of variables are very much within the remit of the module.
      Planned/Hoped for features
      Import/Export product variations and attributes (Excel, etc) Full integration with Padloper (I will have to  discuss with @apeisa) SKU fields for each product variation Add/Remove extra subfields, e.g. multi-currency prices (currently there is only 1 input for each product variations' price) Product variation images? Etc... Please not this module is not related to this other planned module (but it may eventually).
      Sneak Peek Demo
    • By FrancisChung
      I've been asked to look into migrating an existing site into Magento & Stripe.
      I haven't mentioned to my client whether he would consider Processwire because I wasn't sure how to do the accounting side of things using PW.
      He currently has a bespoke site (PHP / MySQL) and 1 of his biggest problems is that there are some bugs with the accounting side of things and he has to reconcile his accounts manually.
      As much as I like PW, I don't know how easy it would be generate various sales and accounting report using PW. The only way I can currently think of is to store each sale as a page and I would have to write various get functions with filters and loop through them to get totals. 
      I never thought I'd say this but I'm missing SQL right now
      Any thoughts, suggestions or opinions would be welcome here.
  • Create New...