landofcoder/module-seller-product-list

Landofcoder Magento 2 Seller Product List supports you to create a wanted list of products based on attribute, types, conditions of items.

1.0.2 2022-03-30 08:52 UTC

This package is auto-updated.

Last update: 2024-04-29 04:53:54 UTC


README

Support filter products list of seller

Core Features

  • Module supports you to create a wanted list of products based on attribute, types, conditions of items. To create a rule list is very simple. Also, this module is easy to configure too.
  • The module just support REST API features.
  • Support GraphQl Seller Product List Graph Ql Module

Install Extension

composer require landofcoder/module-seller-product-list
php bin/magento module:enable Lofmp_Productlist
php bin/magento setup:upgrade

API docs

Response Data Success:

{
    "items": [
        {
            "id": 0,
            "sku": "string",
            "name": "string",
            "attribute_set_id": 0,
            "price": 0,
            "status": 0,
            "visibility": 0
            ...
        }
    ],
    "search_criteria": {
        "filter_groups": [
        {
            "filters": [
            {
                "field": "string",
                "value": "string",
                "condition_type": "string"
            }
            ]
        }
        ],
        "sort_orders": [
        {
            "field": "string",
            "direction": "string"
        }
        ],
        "page_size": 0,
        "current_page": 0
    },
    "total_count": 0
}

Error data response:

{
  "message": "string",
  "errors": [
    {
      "message": "string",
      "parameters": [
        {
          "resources": "string",
          "fieldName": "string",
          "fieldValue": "string"
        }
      ]
    }
  ],
  "code": 0,
  "parameters": [
    {
      "resources": "string",
      "fieldName": "string",
      "fieldValue": "string"
    }
  ],
  "trace": "string"
}

API Endpoints

{sellerUrl} - is public seller url key. Example: seller-a

  1. New Arrival Products

[Your Domain]/V1/seller-productlist/{sellerUrl}/newarrival

  1. Latest Products

[Your Domain]/V1/seller-productlist/{sellerUrl}/latest

  1. Best Seller Products

[Your Domain]/V1/seller-productlist/{sellerUrl}/bestseller

  1. Random Products

[Your Domain]/V1/seller-productlist/{sellerUrl}/random

  1. Top Rated Products

[Your Domain]/V1/seller-productlist/{sellerUrl}/toprated

  1. Specials Products

[Your Domain]/V1/seller-productlist/{sellerUrl}/specials

Note: Require use current store code for endpoint. Example: http://[your_domain]/rest/default/V1/seller-productlist/{sellerUrl}/specials

default - is default store view code

  1. Most Viewed Products

[Your Domain]/V1/seller-productlist/{sellerUrl}/mostviewed

  1. Featured Products

[Your Domain]/V1/seller-productlist/{sellerUrl}/featured

  1. Deals Products

[Your Domain]/V1/seller-productlist/{sellerUrl}/deals

Note: Require use current store code for endpoint. Example: http://[your_domain]/rest/default/V1/seller-productlist/{sellerUrl}/deals default - is default store view code

Donation

If this project help you reduce time to develop, you can give me a cup of coffee :)

paypal

Our Magento 2 Extensions List

Featured Magento Services