iop / magento2-widget
Magento 2 widget to show 'Frequently Ordered Products' and 'Recently Ordered Products' for B2B logged customer. GraphQL API added.
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:HTML
Type:magento2-module
Requires
- php: ~7.1.3||~7.2.0||~7.3.0
- magento/framework: 102.0.*
This package is not auto-updated.
Last update: 2024-09-19 07:50:14 UTC
README
Tested on Version
- Magento 2.3.4
Main Functionalities
- For B2B/B2C project widget to show 'Frequently Ordered Products' and 'Recently Ordered Products' for logged customer.
- Manage custom widget(s) with products content on Magento 2.
- Use API with GraphQL endpoint to get Widget Instance.
NOTE: Screencast (5.5Mb): https://www.screencast.com/t/xcT8FTufDqL If screencast issue then try use other browser.
Features
- Create widget with specify to show product name | product image | product price | product link and product buttons [add to shopping cart,add to compare,add to wishlist].
- Specify via widget products quantity on frontend
- Specify via widget ordered products period (default: last 7 days products search)
- Added API with GraphQL endpoint to get Widget Instance, including it's rendered HTML.
- Supports Magento 2.0.0 and up
Installation
With Composer
Use the following commands to install this module into Magento 2:
composer require iop/magento2-widget
bin/magento module:enable Iop_Widget
bin/magento setup:upgrade
Manual (without composer)
These are the steps:
- Upload the files in the folder
app/code/Iop/Widget
of your site - Run
php -f bin/magento module:enable Iop_Widget
- Run
php -f bin/magento setup:upgrade
- Flush the Magento cache
- Done
How to use it
Possibly GraphQL Query (https://your_domain.test/graphql)
Simple Query :
{ widgetById (id:2) { id title theme_id html parameters{ name value } } }