Commit Graph

32 Commits (12c110440ffe07c48d1539041c88b2278ec66e03)

Author SHA1 Message Date
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 fe14f28994 Fix product price and amount global searching 2020-01-08 18:58:29 +10:30
Mark Moffat 36aa0375b5 Normalise file names 2020-01-01 19:56:21 +10:30
Mark Moffat 967ac66786 Linting 2019-12-30 13:18:45 +10:30
Mark Moffat 8a638a3324 Fix API endpoint for product insert 2019-12-16 14:10:56 +10:30
Mark Moffat f149b87c3a Moved form to API endpoint + fixed opts 2019-12-16 13:00:30 +10:30
Mark Moffat d57fd17718 Fixing more API endpoints 2019-12-13 21:36:25 +10:30
Mark Moffat 12c2a4d4e2 Handle schema validation properly and return error 2019-11-16 12:53:16 +10:30
Mark Moffat 17ee5bcfc4 Switching to ajv validation 2019-11-16 09:31:57 +10:30
Mark Moffat b41461c8a3 Refactoring product route 2019-11-09 13:29:20 +10:30
Mark Moffat e5ef7af4cc Linting 2019-11-03 09:48:34 +10:30
Mark Moffat 1584a2a173 Fixing deprecated DB calls 2019-10-29 18:56:30 +10:30
Mark Moffat e6feac9e7a Fixed new product insert 2019-10-26 11:50:58 +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 ea513d534a Fixed rebase issue 2019-06-20 12:47:08 +09:30
Mark Moffat 4967795821 rebase 2019-06-20 12:46:29 +09:30
Mark Moffat fad68a51ea Adding tests for updating products 2019-06-20 12:44:04 +09:30
Mark Moffat 0972565124
Small fix for indexing products 2019-06-19 10:52:04 +09:30
Mark Moffat fc1580ddd6 Starting to add schema validation to API endpoints 2019-06-17 19:51:45 +09:30
Mark Moffat 291a044d0b Linting and refactoring 2019-06-15 14:16:08 +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 ac01568036 Missing title 2018-12-12 00:35:35 +11:00
Mark Moffat b4a9ba3064 Sanitize product inputs 2018-12-12 00:31:56 +11:00
Mark Moffat 9d94ea0a80 Added ability to add comments to product in order 2018-10-05 21:24:42 +09:30
Mark Moffat 61c59c8997 Started adding some tests 2018-02-22 18:41:24 +01:00
Mark Moffat 4533e23993 Added permission validation to non admin users 2018-02-05 20:51:04 +01:00
Mark Moffat bf67621a86 Fixed all the routes I broke 2018-02-05 19:33:40 +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