Skip to content

Commit

Permalink
Merge branch 'master' into dev-guide-update
Browse files Browse the repository at this point in the history
  • Loading branch information
gibmirmilch committed May 4, 2022
2 parents 008c563 + b5fa0a7 commit fcb9ea3
Show file tree
Hide file tree
Showing 5 changed files with 135 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
title: "File details: merchant_product_approval_status_default.csv"
description: This document describes the merchant_product_approval_status_default.csv file to configure default merchant products approval statuses in your Spryker shop.
template: import-file-template
---

This document describes the `merchant_product_approval_status_default.csv` file to configure default merchant products approval statuses in your Spryker shop.

To import the file, run the following:

```bash
console data:import merchant-product-approval-status-default
```

## Import file parameters

The file must have the following parameters:

| PARAMETER | REQUIRED? | TYPE | DEFAULT VALUE | REQUIREMENTS OR COMMENTS | DESCRIPTION |
| ------------- | ---------- | ------ | ----------- | ------------------- | ------------------------------------ |
| merchant_reference | ✓ | String | | Unique | Identifier of the merchant in the system. |
| approval_status | ✓ | String | | | Default approval status for the merchant products. |

## Import file dependencies

The file has the following dependency: [merchant.csv](/docs/marketplace/dev/data-import/{{site.version}}/file-details-merchant.csv.html).

## Import template file and content example

In the following table, you can find the template and example of the file:

| FILE | DESCRIPTION |
| -------------------------- | -------------------------- |
| [template_merchant_product_approval_status_default.csv](https://spryker.s3.eu-central-1.amazonaws.com/docs/Developer+Guide/Back-End/Data+Manipulation/Data+Ingestion/Data+Import/Data+Import+Categories/Marketplace+setup/template_merchant_product_approval_status_default.csv) | Import file template with headers only. |
| [merchant_product_approval_status_default.csv](https://spryker.s3.eu-central-1.amazonaws.com/docs/Developer+Guide/Back-End/Data+Manipulation/Data+Ingestion/Data+Import/Data+Import+Categories/Marketplace+setup/merchant_product_approval_status_default.csv) | Example of the import file with Demo Shop data. |
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: Marketplace Product Approval Process feature walkthrough
description: Marketplace Product Approval Process feature adds Merchant context to product approval process.
template: feature-walkthrough-template
---

The *Marketplace Product Approval Process* feature adds a merchant context to Product Approval Process by providing an optional `spy_merchant.default_product_abstract_approval_status` DB column where default product approval statuses for merchants are stored and can be used as default product approval statuses for merchant products. Also, the feature provides the data importer for the merchant's default product approval statuses.

## Module dependency graph

The following diagram illustrates the dependencies between the modules for the *Marketplace Product Approval Process* feature.

![Module Dependency Graph](https://confluence-connect.gliffy.net/embed/image/bdeba422-0437-4c39-a29f-9340eb153a6a.png?utm_medium=live&utm_source=custom)

| MODULE | DESCRIPTION |
|------------|----------------------------|
| [MerchantProductApproval](https://github.com/spryker/merchant-product-approval) | This module provides merchant product approval functionality. |
| [MerchantProductApprovalDataImport](https://github.com/spryker/merchant-product-approval-data-import) | This module provides functionality to import the merchant product approval process related data. |

## Domain model

The following schema illustrates the *Marketplace Product Approval Process* domain model:

![Domain Model](https://confluence-connect.gliffy.net/embed/image/6e87c4b8-7481-4150-a5e9-ff04ab90b762.png?utm_medium=live&utm_source=custom)

## Related Developer articles

|INTEGRATION GUIDES | DATA IMPORT |
|---------| --- |
| [Marketplace Product Approval Process feature integration](/docs/marketplace/dev/feature-integration-guides/{{page.version}}/marketplace-product-approval-process-feature-integration.html) | [File details: merchant_product_approval_status_default.csv](/docs/marketplace/dev/data-import/{{page.version}}/file-details-merchant-product-approval-status-default.csv.html) |
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
title: "File details: product_abstract_approval_status.csv"
description: This document contains content of the product_approval_status_default.csv file to configure products approval information on your Spryker Demo Shop.
template: data-import-template
---

This document contains content of the `product_approval_status_default.csv` file to configure products approval information on your Spryker Demo Shop.

To import the file, run

```bash
console data:import product-approval-status
```

## Import file parameters

The file must have the following parameters:

| PARAMETER | REQUIRED | TYPE | REQUIREMENTS OR COMMENTS | DESCRIPTION |
| --- | --- | --- | --- | --- |
| abstract_sku | ✓ | String | | SKU identifier of the abstract product. |
| approval_status | ✓ | String | | Default product approval status. |

## Dependencies

This file has the following dependency: [product_abstract.csv](/docs/scos/dev/data-import/{{page.version}}/data-import-categories/catalog-setup/products/file-details-product-abstract.csv.html).

## Import template file and content example

In the following table, you can find the template and example of the file:

| FILE | DESCRIPTION |
| --- | --- |
| [template_product_abstract.csv](https://spryker.s3.eu-central-1.amazonaws.com/docs/Developer+Guide/Back-End/Data+Manipulation/Data+Ingestion/Data+Import/Data+Import+Categories/Catalog+Setup/Products/202109.0/template_product_approval_status.csv) | Import file template with headers only. |
| [product_abstract.csv](https://spryker.s3.eu-central-1.amazonaws.com/docs/Developer+Guide/Back-End/Data+Manipulation/Data+Ingestion/Data+Import/Data+Import+Categories/Catalog+Setup/Products/202200.0/product_approval_status.csv) | Exemplary import file with the Demo Shop data. |
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
title: Product Approval Process feature walkthrough
description: Product Approval Process feature adds approval mechanism for products.
template: feature-walkthrough-template
---

The *Product Approval Process* feature adds approval mechanism for products by providing
an optional `spy_product_abstract.approval_status` DB column to store product approval statuses. Thus,
a shop owner can follow the review process and manage which products will be placed in the store by setting the
corresponding approval statuses. The feature also provides the Back Office UI for managing the approval statuses and
the corresponding Data importer.

## Module dependency graph

The following diagram illustrates the dependencies between the modules for the *Product Approval Process* feature.

![Module Dependency Graph](https://confluence-connect.gliffy.net/embed/image/e83e1c59-8592-46ec-906e-1483779419c7.png?utm_medium=live&utm_source=custom)

| MODULE | DESCRIPTION |
|------------|----------------------------|
| [ProductApproval](https://github.com/spryker/product-approval) | This module provides product approval functionality. |
| [ProductApprovalDataImport](https://github.com/spryker/product-approval-data-import) | Module for importing Product approval statuses from .csv file. |
| [ProductApprovalGui](https://github.com/spryker/product-approval-gui) | This module provides Zed UI interface for product approval management. |

## Domain model

The following schema illustrates the *Product Approval Process* domain model:

![Domain Model](https://confluence-connect.gliffy.net/embed/image/9307bb4e-6cb5-43d7-b7a5-e0b3d98ef664.png?utm_medium=live&utm_source=custom)

## Related Developer articles

|INTEGRATION GUIDES | DATA IMPORT |
|---------|---------|
| [Product Approval Process feature integration](/docs/scos/dev/feature-integration-guides/{{page.version}}/product-approval-process-feature-integration.html) | [File details: product_abstract_approval_status.csv](/docs/scos/dev/data-import/{{page.version}}/data-import-categories/catalog-setup/products/file-details-product-abstract-approval-status.csv) |

0 comments on commit fcb9ea3

Please sign in to comment.