navneetbhardwaj/akeneo-quickexport-configurator

quick export configurator for Akeneo 7

Installs: 3 475

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 4

Open Issues: 2

Language:JavaScript

Type:symfony-bundle

1.1.6 2023-08-09 10:18 UTC

This package is auto-updated.

Last update: 2024-03-09 11:35:40 UTC


README

with the help of this extenion you can configured the quickexport option dynamically.

How to download and install the connector:

Install composer dependency

composer require navneetbhardwaj/akeneo-quickexport-configurator

register bundle in config/bundles.php

return [
    \Webkul\QuickExportConfiguratorBundle\QuickExportConfiguratorBundle::class => ['all' => true],
];

define routing to create a file in the config/routes/wk_quick_export.yml

wk_quick_expoort:
    resource: "@QuickExportConfiguratorBundle/Resources/config/routing.yml"
    prefix:   /

Clear the cache and registered the route and js modules using commands

php bin/console cache:clear --env=prod;
php bin/console pim:installer:assets --symlink --clean --env=prod; 
php bin/console d:s:u --force;
yarn run webpack;
yarnpkg run update-extensions;
yarnpkg run less;

How to configure quick export in your module:

  1. create an action in the file Resources/config/datagrid/quickexport.yml e.g replace quick_export_connectorname with your bundle name like quick_export_magento2
datagrid:
    product-grid:
        mass_actions:
            quick_export_connectorname: 
                type: export
                label: pim.grid.mass_action.quick_export.connector
                handler: product_quick_export
                route: pim_datagrid_export_product_index
                route_parameters:                   
                    _format: html
                    _contentType: text/html
                    _jobCode: connector_product_quick_export
                    _displayedColumnsOnly: 0
                context:
                    withHeader: true
                messages:
                    empty_selection: pim_datagrid.mass_action.delete.empty_selection
                launcherOptions:
                    group: quick_export
            quick_export_grid_context_connectorname: 
                type: export
                label: pim.grid.mass_action.quick_export.connector
                handler: product_quick_export
                route: pim_datagrid_export_product_index
                route_parameters:                   
                    _format: html
                    _contentType: text/html
                    _jobCode: connector_product_quick_export
                    _displayedColumnsOnly: 0
                context:
                    withHeader: true
                messages:
                    empty_selection: pim_datagrid.mass_action.delete.empty_selection
                launcherOptions:
                    group: quick_export
  1. create a service in the file Resources/config/services.yml e.g Replace AcmeBundle with your bundle name like Webkul\Magento2Bundle\Magento2Bundle
services:
    quick_export_connector:
        class: Webkul\AcmeBundle\Acme2Bundle
        tags:
            - { name: wk_quick_export_register }

Features:

With Akeneo Quick Export Configurator developer can add quick export job option in the akeneo 5 easily.

Requirements:

  • Akeneo PIM >= 5.x