Download the PHP package rsilva/product-filter-api without Composer
On this page you can find all versions of the php package rsilva/product-filter-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rsilva/product-filter-api
More information about rsilva/product-filter-api
Files in rsilva/product-filter-api
Download rsilva/product-filter-api
More information about rsilva/product-filter-api
Files in rsilva/product-filter-api
Vendor rsilva
Package product-filter-api
Short Description Product Filter Api by https://github.com/SilRodrigo
License MIT
Package product-filter-api
Short Description Product Filter Api by https://github.com/SilRodrigo
License MIT
Please rate this library. Is it a good library?
Informations about the package product-filter-api
Rsilva_ProductFilterApi
Visão geral
- Módulo para Magento 2 que realiza uma chamada API retornando um JSON com os produtos cadastrados, suas categorias e atributos com base no filtro passado nos parâmetros da requisição.
Exemplo de retorno
{
"collection": [
{
"entity_id": "1",
"sku": "teste",
"name": "teste",
"type_id": "simple",
"complete_image_url": "/media/catalog/product/p/u/image.png",
"complete_page_url": "https://rsilva.vitrine/test.html",
"price": "12.990000",
"special_price": null,
"formatted_price": "US$ 12,99",
"formatted_special_price": "US$ 0,00",
"description": ""
}
],
"total_count": 1,
"pageSize": 9,
"finalPage": 1,
"currentPage": 1,
"attributeList": [
{
"backend_type": "decimal",
"frontend_input": "Price",
"options": [
{
"identifier": "price12.990000",
"value": "12.990000",
"label": "12.990000"
}
],
"name": "price"
}
]
}
Utilizando o módulo
Na sua classe JS, passe a chamada do service:
define([
'jquery',
'Rsilva_ProductFilterApi/js/service/product-api'
],function ($, productApiService) {}
Chamada para pesquisar por nome:
* @param {string} name
* @param {Function} callback
productApiService.queryProductByName(name, callback)
All versions of product-filter-api with dependencies
PHP Build Version
Package Version
The package rsilva/product-filter-api contains the following files
Loading the files please wait ....