Closed martijnvdbrug closed 1 month ago
The changes in this pull request focus on version 3.4.0 of the vendure-plugin-picqer
, released on October 8, 2024. Key updates include the ability to specify additional fields on order.products
when pushing orders to Picqer. The PicqerService
class has been modified to enhance order line processing and customer validation. Additionally, the PicqerOptions
interface now supports a new optional function for mapping fields, and various test files have been updated to reflect these changes and ensure proper functionality.
File Path | Change Summary |
---|---|
packages/vendure-plugin-picqer/CHANGELOG.md |
Updated changelog for version 3.4.0; added capability for additional fields on order.products . |
packages/vendure-plugin-picqer/src/api/picqer.service.ts |
Modified PicqerService to include logic for handling order lines and validating customer info; added pushPicqerOrderLineFields method. |
packages/vendure-plugin-picqer/src/picqer.plugin.ts |
Updated PicqerOptions to include pushPicqerOrderLineFields function for mapping order line fields. |
packages/vendure-plugin-picqer/test/dev-server.ts |
Added pushPicqerOrderLineFields function in PicqerPlugin.init ; adjusted import statements and commented out AssetServerPlugin . |
packages/vendure-plugin-picqer/test/picqer.spec.ts |
Updated tests to include assertions for order line remarks; added pushPicqerOrderLineFields method. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description
Allow specifying additional fiels on order.products in Picqer
Screenshots
Checklist
📌 Always:
👍 Most of the time:
📦 For publishable packages:
package.json
CHANGELOG.md
See this example