Commit Graph

165 Commits (master)

Author SHA1 Message Date
Mark Moffat ce2d6c5bd0 Added config to sort products 2020-03-25 15:43:45 +10:30
Mark Moffat e91b44074a Fixed order sorting + instore orders missing values 2020-03-25 12:48:23 +10:30
Mark Moffat 2a78fe5290 Allow disabling stock for certain products 2020-03-22 19:53:47 +10:30
Mark Moffat 5dec4bba02 Added ability to show related products 2020-03-22 15:14:45 +10:30
Mark Moffat 212a40632b Stock check fixes 2020-03-21 20:21:18 +10:30
Mark Moffat da34f3e63c Refactoring the payment config/schema, loading and routes path 2020-03-20 20:06:44 +10:30
Mark Moffat 5f68a5bc1f Fixed updating of stock and stopped duplication on page refresh 2020-03-20 19:58:15 +10:30
Mark Moffat 9079509c42 Fixes #129 2020-03-20 13:40:45 +10:30
Mark Moffat 1b030dce27 Fixes #128 2020-03-19 21:05:46 +10:30
Mark Moffat fbdc1f2744 Remove debug 2020-03-19 17:11:16 +10:30
Mark Moffat a7a1fadae6 Added pagination to products and orders in admin 2020-03-19 17:02:52 +10:30
Mark Moffat 5f81173919 Refactor the pagination data retrieval 2020-03-19 17:02:22 +10:30
Mark Moffat 9911fe04a9 Fixed validation, added modal errors + partial 2020-03-17 19:08:46 +10:30
Mark Moffat 78e06e511b
Customer account page (#124)
* Adding customer login & account page support

* Added account link

* Sorting orders on account page

* Small UI fixes

* Removed debugs

* Added tests

Co-authored-by: Mark Moffat <mark@Marks-MacBook-Pro-2.local>
2020-03-17 16:56:04 +10:30
Mark Moffat c591263eb9 Added new field 2020-03-14 11:38:13 +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 f3a7231016 Added customer company name for shipping 2020-03-07 20:07:49 +10:30
Mark Moffat e64905eddd Small fixes 2020-03-07 19:48:06 +10:30
Mark Moffat cd3ba1bc60 Fixes for CSRF 2020-02-23 14:10:35 +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 fe14f28994 Fix product price and amount global searching 2020-01-08 18:58:29 +10:30
Mark Moffat 7f750b4a3b Fix validating quantity 2020-01-07 21:33:35 +10:30
Mark Moffat 0d44ce7cbb Added global search to the admin UI 2020-01-07 21:15:23 +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 445c4f62ff Fixed display of shipping amount in cart & populate through to order 2020-01-03 22:39:51 +10:30
Mark Moffat b410d25ccf Added ability to create manual orders via the admin panel 2020-01-02 16:00:24 +10:30
Mark Moffat fa477dbdf4 Centralising functions & refactoring 2020-01-02 15:53:39 +10:30
Mark Moffat 36aa0375b5 Normalise file names 2020-01-01 19:56:21 +10:30
Mark Moffat eafb690445 Added instore payment type. 2020-01-01 14:57:42 +10:30
Mark Moffat f2e6b32384 Changed txn ID variable 2020-01-01 14:54:17 +10:30
Mark Moffat e7cbed7132 Fixes for blank data 2019-12-30 23:06:06 +10:30
Mark Moffat 7cef58dae3 Added a dashboard 2019-12-30 22:58:37 +10:30
Mark Moffat 029f279331 Aligned variable names 2019-12-30 18:07:12 +10:30
Mark Moffat 48b4963dfe Collect additional data in orders 2019-12-30 18:05:43 +10:30
Mark Moffat 03573129b3 Fixing cart storage and management 2019-12-30 13:40:57 +10:30
Mark Moffat 967ac66786 Linting 2019-12-30 13:18:45 +10:30
Mark Moffat 77c9cecaeb Add country select to customer in admin 2019-12-28 17:01:28 +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 c992673bc6 Added rate limiter on customer forgotten password 2019-12-16 17:03:51 +10:30
Mark Moffat 7e6d6e9b8c Fixed delete user account api 2019-12-16 15:15:02 +10:30