Commit Graph

57 Commits (fbdc1f2744f67f07d91def517592052ed48bff8d)

Author SHA1 Message Date
Mark Moffat fbdc1f2744 Remove debug 2020-03-19 17:11:16 +10:30
Mark Moffat 5f81173919 Refactor the pagination data retrieval 2020-03-19 17:02:22 +10:30
geco 7c7af39f4b
Add Bitcoin payment method (#121)
* fix settins form submit not working

* prepare routes/config structure to support new blockonomics payment method

* setup blockonomics view, get address and calculate btc

* blockonomics subscribe to web socket to listen for real time order updates on checkout page

* create order with pending status while waiting for blockonomics payment and pass orderid to frontend

* check received amount is enough

* blockonomics btc amount check, backend order confirmation, show order info into backend and frontend

* cleanup and empty cart when order is payed

* decline order if insufficient amount

* handle email and lunr indexing for blockonomis

* blockonomics new confirmation page, auto redirect at confirmation zero, 10 minutes timeout

* Update README with Blockonomics

* add countdown timer to blockonomics payment page

* updated README and checkout page

* update README with blockonomics return url

* build

* reply to blockonomics http callback

* dont check amount on frontend

* restore default settings

* switch from unirest to axios, remove unirest dep

* fix lint problems

* restore gitignore

* restore baseSchema

* build

Co-authored-by: GECKO <4787777-geckojs@users.noreply.gitlab.com>
2020-03-14 11:21:26 +10:30
Mark Moffat e64905eddd Small fixes 2020-03-07 19:48:06 +10:30
Mark Moffat d1bb5a6360 Small SEO enhancements 2020-01-24 15:12:49 +10:30
Mark Moffat de0b81d6be SEO improvements 2020-01-23 21:28:21 +10:30
Mark Moffat 5d4c469e38 Fixed same product - diff opts in cart. Added confirm on cart empty. 2020-01-21 20:30:52 +10:30
Mark Moffat 799ed301f2
Adding discount code support (#109)
Added a discount code module. Lots of work went into this. 

Please report any problems as issues to be fixed
2020-01-21 18:06:46 +10:30
Mark Moffat 3bda249c68 Adding in a maxQuantity value when adding to cart 2020-01-08 19:10:45 +10:30
Mark Moffat 7f750b4a3b Fix validating quantity 2020-01-07 21:33:35 +10:30
Mark Moffat 11302e2255 Improvements to the shipping module & cart updates 2020-01-04 17:40:58 +10:30
Mark Moffat 3373a60d8f Add/Update/Remove/empty cart without refreshing the page 2020-01-04 13:07:35 +10:30
Mark Moffat fa477dbdf4 Centralising functions & refactoring 2020-01-02 15:53:39 +10:30
Mark Moffat eafb690445 Added instore payment type. 2020-01-01 14:57:42 +10:30
Mark Moffat 029f279331 Aligned variable names 2019-12-30 18:07:12 +10:30
Mark Moffat 03573129b3 Fixing cart storage and management 2019-12-30 13:40:57 +10:30
Mark Moffat 32ea7da4da Huge rewrite and update of style/layout + theme simplification 2019-12-26 13:53:21 +10:30
Mark Moffat 0dff79f889 Cleaning up code 2019-12-21 13:23:28 +10:30
Mark Moffat b48b2237ee Improving checkout experience Fixes #103 2019-12-21 13:16:48 +10:30
Mark Moffat 588fdddb75 Fixed updating of cart + added retrieval of cart & specs 2019-12-20 09:38:46 +10:30
Mark Moffat ddf78c1618 Add country select for customer form & handle customer register fix 2019-12-19 15:35:48 +10:30
Mark Moffat c72681fdf2 Fixed some SEO 2019-12-18 19:48:31 +10:30
Mark Moffat a87d2fbf0a
Adding subscriptions (#95)
* Adding subscriptions

* Adding in ability to use webhook for subscriptions

* Add docs and ability to create subscriptions

* Fixed populating value

* Adding subscription tests

* Language update
2019-11-06 21:10:27 +10:30
Mark Moffat c92194dd56 Give option to go english only 2019-11-06 19:13:16 +10:30
Andrea Di Mario d3abc37cb0 Initialize multiple language and start translations (#91)
* Initialize multiple language and start translations

* continue with translation

* end translations for en and it

* fix json syntax en translation, otherwise i18n reset the file

* add language info in config

* fix json format invalid

* solve review comments
2019-11-06 19:01:25 +10:30
Mark Moffat 1584a2a173 Fixing deprecated DB calls 2019-10-29 18:56:30 +10:30
Mark Moffat 7070cdef7e Refactoring 2019-10-26 11:38:53 +10:30
Mark Moffat 807ab4d32c Changing productPublished from string to bool 2019-10-25 13:44:28 +10:30
Mark Moffat 7af378a7bb Linting 2019-07-12 17:36:34 +09:30
Mark Moffat fc1580ddd6 Starting to add schema validation to API endpoints 2019-06-17 19:51:45 +09:30
Mark Moffat e68be9aa14 Linting 2019-06-15 15:22:32 +09:30
Mark Moffat 291a044d0b Linting and refactoring 2019-06-15 14:16:08 +09:30
Mark Moffat 519c00f983 Revert debugging 2019-06-12 18:28:03 +09:30
Mark Moffat 9860ac2de5 Debugging travis failure 2019-06-12 18:23:34 +09:30
Mark Moffat e48bd97bf7 Fixing tests 2019-06-11 14:42:07 +09:30
Mark Moffat f1b6d1dcc8 Store cart in the DB and handle the holding of stock across sessions 2019-06-01 21:52:14 +09:30
Mark Moffat 3ab76684bb Stock management changes 2019-02-09 21:16:41 +10:30
Mark Moffat b352058e76 Starting stock management 2019-02-09 14:37:02 +10:30
Mark Moffat 9d94ea0a80 Added ability to add comments to product in order 2018-10-05 21:24:42 +09:30
Marty Sloan f9b5a84fb8 updated cartTotalItems in routes/index.js instead of adding handlebar helper. fixes quantity discrepency in the view when you first add items to the cart 2018-07-17 14:25:15 +09:30
Mark Moffat c674f86576 Small cart quantity fixes 2018-05-21 23:06:12 +09:30
Mark Moffat 61c59c8997 Started adding some tests 2018-02-22 18:41:24 +01:00
Mark Moffat de5741750a Refactoring theming 2018-02-13 21:21:22 +01:00
Mark Moffat 09cd83352f Fixed theme and partials structure 2018-02-11 20:47:26 +01:00
Mark Moffat 7037e18017 Passing proper config and params on product not found 2018-02-07 20:51:30 +01:00
Mark Moffat d6bff8496b Small typo causing bad errors 2018-02-07 20:43:01 +01:00
Mark Moffat 85faeb9168 Moved common helper to more logical location 2018-02-05 19:20:30 +01:00
Mark Moffat a3e2a6c7c1 Route separation 2018-02-05 14:20:44 +01:00
Mark Moffat 43857f9b07 Fix items not removing from cart 2018-02-03 20:14:13 +01:00
Mark Moffat ab35c2814f Made routes more logical 2018-02-03 16:23:59 +01:00