Submit
Path:
~
/
home
/
getwphos
/
www
/
techniquetechs
/
wp-content
/
plugins
/
woocommerce
/
includes
/
admin
/
importers
/
mappings
/
File Content:
generic.php
<?php /** * Generic mappings * * @package WooCommerce\Admin\Importers */ if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Add generic mappings. * * @since 3.1.0 * @param array $mappings Importer columns mappings. * @return array */ function wc_importer_generic_mappings( $mappings ) { $generic_mappings = array( __( 'Title', 'woocommerce' ) => 'name', __( 'Product Title', 'woocommerce' ) => 'name', __( 'Price', 'woocommerce' ) => 'regular_price', __( 'Parent SKU', 'woocommerce' ) => 'parent_id', __( 'Quantity', 'woocommerce' ) => 'stock_quantity', __( 'Menu order', 'woocommerce' ) => 'menu_order', ); return array_merge( $mappings, $generic_mappings ); } add_filter( 'woocommerce_csv_product_import_mapping_default_columns', 'wc_importer_generic_mappings' );
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
default.php
4470 bytes
0644
generic.php
817 bytes
0644
mappings.php
344 bytes
0644
shopify.php
2902 bytes
0644
wordpress.php
660 bytes
0644
N4ST4R_ID | Naxtarrr