Skip to content

4n project migration 注意事項

Mylio-chang edited this page Mar 18, 2022 · 3 revisions

4n2211

sdk version

  • 0.12.0+ Code migrate:
  1. siteCache https://github.com/revtel/gatsby-starter/pull/133/commits/cbf254bbf5f3ab6ef7397d259b6419177b7baa68
  2. GA/FB https://github.com/revtel/gatsby-starter/pull/133/commits/9a055c08ec29742505e02806e1f7c2bcd3ac27fb
  3. AppActions/custom.js AppOutlet/custom.js https://github.com/revtel/gatsby-starter/pull/133/commits/94c87a873363ffef9bec6b87db0c4839ba26d8e2
  4. onCartLoaded https://github.com/revtel/gatsby-starter/pull/133/commits/1a56cca4f7debebe5b88a1a1d2eb9a53fbd75baf
  5. buildCat / useDimensionDetect https://github.com/revtel/gatsby-starter/pull/133/commits/3b3bc821b4e5413c2c0685db7bac0cacef20dbc6
  6. Proxy comp for loadingSpinner and LoginModal https://github.com/revtel/gatsby-starter/pull/133/commits/c6b9a48d00d471a9ee9850bffd529d8e14d57e69

4n2207

sdk [email protected] ### gtm/ga - 記得改 config 帳號(是否提供 default 公用帳號(不在乎 ga 的、沒要用 ga 的?)) - 目前皆使用 revtel.ga 帳號開 - extra: config 是不是都會一直 conflict(不然就讓他 conflict ㄅ) - Layout/index.js 若有另外加 custom.js,記得 apply ga 相關邏輯。 - gatsby-config remove: gatsby-plugin-google-analytics, gatsby-plugin-google-tagmanager - sdk version 0.1.77

api 後端(default 後端拉 BE starter 就會對)

  • private profile: 後端也要 enable private profile (舊有資料要 migrate 兩段 provider:user -> profile -> private_profile)
  • extra_discount
  • coupon owner validation
  • checkout resume api
  • staff create custom order api
  • *線下付款要跟後端講(offline) (BE 要設定 step function 回填物流 id)

others:

Clone this wiki locally