aimementoring / website

AIME Mentoring Website
1 stars 0 forks source link

Remove legacy shop functionality and replace with simpler approach #284

Open mischacolley opened 4 years ago

mischacolley commented 4 years ago

As discussed in #32

Hmm my initial thought was as @camposcristianeze said ... I'd like to keep the Shopify cart functionality around for products like the Book etc. But given we are trying to simplify logic directly on the website I'm also open to discussion if there is a way we could essentially keep the same feel for the user minus the maintenance cost discussed above.

i.e. I have considered a few causes where using the below well could be ok:

At it's simplest a blog post or piece of content could simply link to shop.aimementoring.com/product or you could direct load products into the cart like this https://help.shopify.com/en/themes/customization/cart/use-permalinks-to-preload-cart

Adding slightly more complexity, but providing the ability to content manage and pull in Product images etc, you could of-load the integration work to Contentful using https://www.contentful.com/developers/marketplace/contentful-ui-shopify/ and then if we ever wanted to pull product details for any integrations we do so from one API/Integration. Combine with the above link destination of product single or cart and you have pretty similar functionality.

@charliemckenzie @lulen11 @kbardi @camposcristianeze @bronz3beard open to discussion ...

And as Cris said:

I like this but with a slightly different approach...

I would say remove all the "shop-like" integration (all the scripts querying to Shopify, /products, etc) and just leave one/two products that are not in shop.aimementoring.com with custom "Campaign" pages coming straight from Contentful.

This might also need a Blueprint Component so then can use it in other contexts :) but the groundwork could be made here and then transferred 👍

camposcristian commented 4 years ago

I like this approach! Simpler and less error prone.

charliemckenzie commented 4 years ago

Love the contentful approach, makes it simpler and saves using custom images etc.