Commit Graph
2 Commits
Author SHA1 Message Date
d8a5942d3d fix(medusa) : Improperly referenced product id in product import strategy (#2351)
* What - fixing PR #2350 

* Why - In the ProductImportStrategy class, the getImportInstructions improperly checks the product.id for each row. With it setup this way, products will always be considered new because the product.id column is not read here. So products will never be updated. [Link to the code line](https://github.com/medusajs/medusa/blob/bd941309161bcee4fbfc7918d310c426ba8d8f15/packages/medusa/src/strategies/batch-jobs/product/import.ts#L166)

* How - Replacing `row["product.product.id"]` to  `row["product.id"]`

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2022-10-07 09:36:36 +00:00
a37925d6ea docs: added additional step for Gatsby and Next.js storefronts (#2328)
* Docs: Add additional step for Gatsby and Next.js storefronts

* update gatsby-medusa-starter.md

* Update docs/content/starters/nextjs-medusa-starter.md

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>

* update next-js-starter,md

* Update gatsby-medusa-starter.md

* Update gatsby-medusa-starter.md

* Update gatsby-medusa-starter.md

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2022-10-04 10:32:14 +03:00