项目作者: raj-kumar94

项目描述 :
Shopify post-purchase checkout extension app
高级语言: JavaScript
项目地址: git://github.com/raj-kumar94/checkout-extension-react.git
创建时间: 2021-08-27T08:55:39Z
项目社区:https://github.com/raj-kumar94/checkout-extension-react

开源协议:

下载


Post-purchase checkout extension

Checkout extensions allow developers to extend and customize Shopify’s checkout.

With a post-purchase extension, you can customize the experience that customers go through after completing a checkout.
For example, you can cross-sell other products, request a product review based on a previous purchase, and much more.

Getting started

The code in this folder was created automatically to give you a starting point.

Post-purchase extensions are not yet available to the general partner community.
When they become available, you will have documentation and tutorials to guide you through the development process.
Until then, you can jump right into the code in the ./src folder.

Additional resources

Here are a few additional resources you might find helpful:

Installation:

  1. shopify extension create
  2. cd checkout-extension-react
  3. shopify extension serve
  4. shopify extension serve
  5. node -v
  6. nvm use v14.15.0
  7. shopify extension serve
  8. npm install @shopify/checkout-ui-extensions-run
  9. shopify extension serve
  10. shopify extension push
  11. shopify extension connect
  12. shopify extension push

Serve extension

  1. shopify extension serve

Run the express server to get the offers and sign changes

  1. nodemon app.js

And start ngrok tunnel as well

Get lineItems from inputData