shoparize / magento-partner
Shoparize Partner Magento integration module
Installs: 133
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: ~7.4.0||~8.1.0||~8.2.0||~8.3.0
- magento/framework: ~100.1|~101.0|~102.0|~103.0|~104.0
- shoparize/partner-plugin-product-api: ^1.0
README
for install need to execute:
cd /to/magento/shop/; # install repositories(need to get access) composer config repositories.shoparize_product_api composer https://github.com/shoparize/partner-plugin-product-api.git; composer config repositories.shoparize_magento composer https://github.com/shoparize/magento-partner.git; # install magento extension composer require shoparize/magento-partner:"^1.0"; bin/magento module:enable Shparize_Partner; bin/magento setup:upgrade; bin/magento setup:di:compile; bin/magento cache:flush;
after installing config page will be available
Field of Color Attribute, Size Attribute need to set up using current color, size attributes. If the color, size attributes does not exist at a shop they will be installed in time installing the module.
Send request to product api
example of request:
GET http://localhost/shoparize-partner/products?page=1&limit=3&updated_after=2023-08-13T16:05:53+03:00 Shoparize-Partner-Key: 999999
response:
{ "items": [ { "id": "1", "title": "Joust Duffle Bag", "description": "The sporty Joust Duffle Bag can't be beat - not in the gym, not on the luggage carousel, not anywhere. Big enough to haul a basketball or soccer ball and some sneakers with plenty of room to spare, it's ideal for athletes with places to go.\r\n\r\nDual top handles.\r\nAdjustable shoulder strap.\r\nFull-length zipper.\r\nL 29\" x W 13\" x H 11\".\r\n", "link": "http:\/\/localhost\/joust-duffle-bag.html", "images": [ "http:\/\/localhost\/media\/catalog\/product\/m\/b\/mb01-blue-0.jpg" ], "mobile_link": "http:\/\/localhost\/joust-duffle-bag.html", "availability": "out_of_stock", "price": "34.00", "brand": null, "gtin": null, "condition": "new", "currency_code": "USD", "shipping_length": null, "shipping_width": null, "shipping_height": null, "shipping_weight": "11.000000", "size_unit": null, "sale_price": "34.00", "colors": [ "Black" ], "sizes": null, "shipping": { "country": "US", "service": "Best Way", "price": "0.00" }, "weight_unit": "lbs" }, { "id": "2", "title": "Strive Shoulder Pack", "description": "<p>Convenience is next to nothing when your day is crammed with action. So whether you're heading to class, gym, or the unbeaten path, make sure you've got your Strive Shoulder Pack stuffed with all your essentials, and extras as well.<\/p>\r\n<ul>\r\n<li>Zippered main compartment.<\/li>\r\n<li>Front zippered pocket.<\/li>\r\n<li>Side mesh pocket.<\/li>\r\n<li>Cell phone pocket on strap.<\/li>\r\n<li>Adjustable shoulder strap and top carry handle.<\/li>\r\n<\/ul>", "link": "http:\/\/localhost\/strive-shoulder-pack.html", "images": [ "http:\/\/localhost\/media\/catalog\/product\/m\/b\/mb04-black-0.jpg", "http:\/\/localhost\/media\/catalog\/product\/m\/b\/mb04-black-0_alt1.jpg" ], "mobile_link": "http:\/\/localhost\/strive-shoulder-pack.html", "availability": "in_stock", "price": "35.00", "brand": "Brand Name", "gtin": "123123123", "condition": "new", "currency_code": "USD", "shipping_length": null, "shipping_width": null, "shipping_height": null, "shipping_weight": "5.000000", "size_unit": "111111", "sale_price": "35.00", "colors": [ "Black", "Gray", "Multi", "Red" ], "sizes": [ false ], "shipping": { "country": "US", "service": "Best Way", "price": "0.00" }, "weight_unit": "lbs" } ] }