gridExport Product, Order, Invoice, Shipment, Credit …...Unpack the extension into Your Magento®...

17
gridExport Product, Order, Invoice, Shipment, Credit Memo for Magento®2 gridExport

Transcript of gridExport Product, Order, Invoice, Shipment, Credit …...Unpack the extension into Your Magento®...

Page 1: gridExport Product, Order, Invoice, Shipment, Credit …...Unpack the extension into Your Magento® 2 Directory /app/code folder. See the screenshot below as an example. Open up command

gridExportProduct, Order, Invoice, Shipment, Credit Memo

for Magento®2

gridExport

Page 2: gridExport Product, Order, Invoice, Shipment, Credit …...Unpack the extension into Your Magento® 2 Directory /app/code folder. See the screenshot below as an example. Open up command

INSTALLATION

Installation via Magento® Marketplace

For more details about installing custom modules see

http://docs.magento.com/marketplace/user_guide/quick-

tour/install-extension.html

Manual Installation (Installation from a Zip file)

Unpack the extension into Your Magento® 2 Directory

/app/code folder. See the screenshot below as an example.

Open up command prompt Navigate to Magento® 2 root

directory and run the following commands:

sudo –uwww-data bin/magento setup:upgrade

sudo –uwww-data bin/magento cache:clean

For more details about installing custom modules check

http://devdocs.magento.com/guides/v2.0

Page 3: gridExport Product, Order, Invoice, Shipment, Credit …...Unpack the extension into Your Magento® 2 Directory /app/code folder. See the screenshot below as an example. Open up command

General Settings

Enabled

Activate the extension

License

Add your license key

For each type

Enabled

Activate the type

Show Default Print Button

You can disable the default export button.

.

Page 4: gridExport Product, Order, Invoice, Shipment, Credit …...Unpack the extension into Your Magento® 2 Directory /app/code folder. See the screenshot below as an example. Open up command

Profiles

You can see all profiles for all types of grids.

Button Add New

To add a new Profile, click on the Add New button.

Edit Action

Click “Edit” Action Button to edit profile.

Page 5: gridExport Product, Order, Invoice, Shipment, Credit …...Unpack the extension into Your Magento® 2 Directory /app/code folder. See the screenshot below as an example. Open up command

New Profile

Creating new profile from scratch or import profile.

Download templates, macros and samples.

Extension website.(https://snm-portal.com/magento2-grid-export-and-report.html)

Page 6: gridExport Product, Order, Invoice, Shipment, Credit …...Unpack the extension into Your Magento® 2 Directory /app/code folder. See the screenshot below as an example. Open up command

Edit Profile - General

Fill the input fields with your requirements.

Page 7: gridExport Product, Order, Invoice, Shipment, Credit …...Unpack the extension into Your Magento® 2 Directory /app/code folder. See the screenshot below as an example. Open up command

Edit Profile - Option

Image Dimension: For export images to Excel2007

Show Header Line: Output the first line with the field

names.

First data Row: Specifies the line to be output from.

Page 8: gridExport Product, Order, Invoice, Shipment, Credit …...Unpack the extension into Your Magento® 2 Directory /app/code folder. See the screenshot below as an example. Open up command

Edit Profile - Columns

Name: Here you can define your own column name.

Format, Option, Pivot:

For information on these fields, see the Help section in the

website and the next pages on this documentation.

Page 9: gridExport Product, Order, Invoice, Shipment, Credit …...Unpack the extension into Your Magento® 2 Directory /app/code folder. See the screenshot below as an example. Open up command

Edit Profile – Columns / Format

Format Description Default Example for Option

Standard The display is determined by the data type.

Images are displayed as embedded images.

(Excel2007 and HTML)

Text All values are output as text

Date Output as date yyyy-mm-dd h:mm:ss format=dd.mm.yy

Price Output as number #,##0.00 format=#.##0,00

Number Output as number 0.00 format=0,00

URL Output as SHOP-URL

Options Output as select/multiselect list with option list seperator=|;2=red;3=blue

User Defined Excel formula (only Excel 2007) value='=IF( INDIRECT("C"&ROW()) > 100, "ok","buy")'

Page 10: gridExport Product, Order, Invoice, Shipment, Credit …...Unpack the extension into Your Magento® 2 Directory /app/code folder. See the screenshot below as an example. Open up command

Edit Profile – Columns / Option

Format Option Description

Options 21=lightpink;22=blue;49="=black;";23=green; Escape values with quotes

Options paypal_standard=PayPal;paypal_express=PayPal Express; Map the result

User Defined value=Test Set cell to 'Test'

User Defined value='=IF( "[VALUE]" > 100, "ok","bed")' Replace the [VALUE] with the current value

Date format=dd.mm.yyyy (hh:mm:ss) Result example 01.01.2000 (12:00:00)

Number format=0.000 Result is a number with three decimal places

Page 11: gridExport Product, Order, Invoice, Shipment, Credit …...Unpack the extension into Your Magento® 2 Directory /app/code folder. See the screenshot below as an example. Open up command

Edit Profile – Pivot Table

Page 12: gridExport Product, Order, Invoice, Shipment, Credit …...Unpack the extension into Your Magento® 2 Directory /app/code folder. See the screenshot below as an example. Open up command

Edit Profile – Pivot Table

Define the data for the rows and

columns.

Aggregator value for the

aggregator function.

For example: “Grand Total” for the

function “SUM”. Total over all

“Grand Total”

Page 13: gridExport Product, Order, Invoice, Shipment, Credit …...Unpack the extension into Your Magento® 2 Directory /app/code folder. See the screenshot below as an example. Open up command

Edit Profile – Pivot Table Result

After export you can edit the pivot table

data and export as image.

Page 14: gridExport Product, Order, Invoice, Shipment, Credit …...Unpack the extension into Your Magento® 2 Directory /app/code folder. See the screenshot below as an example. Open up command

Edit Profile – Formulas

Here you can define special Excel formula. The result is visible in all output formats,

also in CSV, HTML.

Cell: Excel Cell-Definition

Value: static text or excel formula, for more information see Microsoft excel

documentation

Examples:

Cell A[LASTROW] Last data row in column A

Value =TODAY() The date of today

Page 15: gridExport Product, Order, Invoice, Shipment, Credit …...Unpack the extension into Your Magento® 2 Directory /app/code folder. See the screenshot below as an example. Open up command

Edit Profile – Conditional Formatting

The conditional formatting is only visible in the output format "Excel

2007".

Column Description Example

Type Value:

The cell is interpreted

as a number.

Text:

The cell is interpreted

as a text.

Operator Your operator BETWEEN

Cell Excel coding for a C:C

cell range

Value 1 Your value 10

Value 2 Only for operator

"BETWEEN" 20

Style Select foreground or

background color

Style Option Define color value FFFF0000

AARRGGBB (100% Alpha, Red)

Page 16: gridExport Product, Order, Invoice, Shipment, Credit …...Unpack the extension into Your Magento® 2 Directory /app/code folder. See the screenshot below as an example. Open up command

Command Line

#bin/magento snm:grid:export -o "base:" -f '{"qty":{"from":0,"to":9999}}' -s'{"field":"qty","direction":"desc"}' 1

Exporting profile ID 1.

Export for profile ID 1 completed. Check "Execution Log" for detailed results.

Finished command.

Export your profiles from command line.

snm:grid:export [-f|--filter[="..."]] [-s|--sorting[="..."]] [-o|--output[="..."]] profile

-f|--filter: you can add a filter for grid fields

-f '{"qty":{"from":0,"to":9999}, “sku":“ed"}'

-s|--sorting: Sorting option

-s'{"field":"qty","direction":"desc"}

Profile: Profile Magento-Id

Page 17: gridExport Product, Order, Invoice, Shipment, Credit …...Unpack the extension into Your Magento® 2 Directory /app/code folder. See the screenshot below as an example. Open up command

Thank you!

Should you have any questions or feature

suggestions, please contact us at:

Email: [email protected]

Website: snm-portal.com

Demo: m2demo.snm-portal.com/snm

Username: demo PW: demo123

SNM-Portal Team