Commit Graph

39 Commits

Author SHA1 Message Date
57dae22591 Product reads variations and uses new sizePicker.
Product component no longer has static data, but reads from variations
and changes stock and amount based on selected size.
2020-07-26 21:16:44 +02:00
35d69399ae Fully supports editing product and its variations.
Edit page now handles customizing most properties of a product. This
uses new color and size picker.
2020-07-26 21:15:05 +02:00
bbc5d33f40 New color picker and sizePicker for edit pages. 2020-07-26 21:14:30 +02:00
adbd85197f Optimized positioning for mobile. 2020-07-21 20:22:19 +02:00
7cc00dbc49 New edit product page that live edits a ui/product. 2020-07-21 18:46:44 +02:00
e7b5ac1fc8 Check if localhost before making fetch request. 2020-07-21 18:46:16 +02:00
c09a29134d Uses prop "to" to send to edit from admin page. 2020-07-21 18:45:26 +02:00
8f5dc52dc5 Product now fetches and passes to ui/product. 2020-07-21 18:44:16 +02:00
cc009b1ffd Cart icon follows scroll on all shop pages. w/ shopping cart icon & lower desktop positioning. 2020-07-21 13:22:08 +02:00
c572c967a4 Icon positioning in buttons. 2020-07-21 13:21:01 +02:00
e21bc1f1b8 White table for cart. 2020-07-21 13:20:42 +02:00
290e49fe26 New contact page. 2020-07-21 13:19:48 +02:00
723b7be5c8 Singular name for route. 2020-07-21 13:17:22 +02:00
f6c8e1fdf6 Custom route for product details when localhost. 2020-07-21 13:15:00 +02:00
cc7308cdfa Merge pull request #12 from KevinMidboe/feat/product-page
Feat/product page
2020-07-21 13:11:47 +02:00
f05336b5b9 Navigation bar should have dark text for product view page. 2020-07-21 13:02:36 +02:00
942a9140f0 New product page with defined route and link from productCard. 2020-07-21 13:00:08 +02:00
f57b3295bb Implemented payments with stripe. 2020-07-21 12:56:16 +02:00
5757d4ba90 Can handle apple pay requests with local certificate files. 2020-07-21 12:40:05 +02:00
6f889cdfd4 ApplePay checkout button (only frontend). 2020-07-19 23:38:52 +02:00
310955eb6e Home banner button not links to shop. 2020-07-19 19:21:12 +02:00
7e7e0568f5 Button has xs prop and size. 2020-07-19 19:18:28 +02:00
0c94c75c63 Table cart table for mobile. 2020-07-19 19:18:18 +02:00
73ae20eb88 Id on header for cart intersection observer. 2020-07-19 18:06:14 +02:00
800bbf808e When adding cart items always create copy of product first. 2020-07-19 18:05:04 +02:00
0ef676ba98 Link title for better accessibilty 2020-07-19 18:04:46 +02:00
e8ee4f832c Remove button for cart items. 2020-07-19 18:04:31 +02:00
c7653cd9f1 Intersection observer for cart to always appear on screen when on shop page. 2020-07-19 18:03:35 +02:00
06280b4fd9 Forgot to use newly declared url var. 2020-07-19 16:19:05 +02:00
b77fe8c8dc Adds to cart w/ store. Moved color classes to global.scss. 2020-07-19 16:14:02 +02:00
2ce06580a8 Cleaned up cart page, now with tables. 2020-07-19 16:12:48 +02:00
9d2cd9e9f9 Changed api calls to check for localhost. 2020-07-19 16:12:16 +02:00
df18245f0d Separated cart nav item to separate component.
Includes a badge that shows number of items, connected with store and
links to /cart page.
Always visible on mobile.
2020-07-19 16:11:15 +02:00
68123bf0b0 Add card that has same shape as products, but links to /add 2020-07-19 16:10:10 +02:00
af0db6f4e4 Changed home image to planetposen.no url. 2020-07-19 16:09:09 +02:00
0059b85674 Only hoved button when on hover enable browsers. 2020-07-19 16:08:47 +02:00
7078d994c0 Finally landed on a design, created a bunch of pages. 2020-07-18 21:48:06 +02:00
59bfbbfc01 Renamed header to navigation. Added scss mixin for desktop and mobile. Separate mobile and desktop navigation elements. Transparent planetposen logos in assets/ 2019-12-03 00:45:13 +01:00
6f15c53cca Created header and the start of a shopping cart. 2019-12-02 23:46:32 +01:00