• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WooCommerce a2z

WooCommerce a2z

WooCommerce

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Files / includes/import/class-wc-product-csv-importer.php


Lines:

1 to 58 of 58
<?php

/**
 * WooCommerce Product CSV importer
 *
 * @package WooCommerce\Import
 * @version 3.1.0
 */

if ( ! defined( 'ABSPATH' ) ) {
  exit;
}


/**
 * Include dependencies.
 */
if ( ! class_exists( 'WC_Product_Importer', false ) ) {
  include_once dirname( __FILE__ ) . '/abstract-wc-product-importer.php';
}

if ( ! class_exists( 'WC_Product_CSV_Importer_Controller', false ) ) {
  include_once WC_ABSPATH . 'includes/admin/importers/class-wc-product-csv-importer-controller.php';
}

/* class WC_Product_CSV_Importer */
/* function WC_Product_CSV_Importer::__construct() – Initialize importer. */
/* function WC_Product_CSV_Importer::read_file() – Read file. */
/* function WC_Product_CSV_Importer::remove_utf8_bom() – Remove UTF-8 BOM signature. */
/* function WC_Product_CSV_Importer::set_mapped_keys() – Set file mapped keys. */
/* function WC_Product_CSV_Importer::parse_relative_field() – Parse relative field and return product ID. */
/* function WC_Product_CSV_Importer::parse_id_field() – Parse the ID field. */
/* function WC_Product_CSV_Importer::parse_relative_comma_field() – Parse relative comma-delineated field and return product ID. */
/* function WC_Product_CSV_Importer::parse_comma_field() – Parse a comma-delineated field from a CSV. */
/* function WC_Product_CSV_Importer::parse_bool_field() – Parse a field that is generally ‘1’ or ‘0’ but can be something else. */
/* function WC_Product_CSV_Importer::parse_float_field() – Parse a float value field. */
/* function WC_Product_CSV_Importer::parse_stock_quantity_field() – Parse the stock qty field. */
/* function WC_Product_CSV_Importer::parse_tax_status_field() – Parse the tax status field. */
/* function WC_Product_CSV_Importer::parse_categories_field() – Parse a category field from a CSV. */
/* function WC_Product_CSV_Importer::parse_tags_field() – Parse a tag field from a CSV. */
/* function WC_Product_CSV_Importer::parse_tags_spaces_field() – Parse a tag field from a CSV with space separators. */
/* function WC_Product_CSV_Importer::parse_shipping_class_field() – Parse a shipping class field from a CSV. */
/* function WC_Product_CSV_Importer::parse_images_field() – Parse images list from a CSV. Images can be filenames or URLs. */
/* function WC_Product_CSV_Importer::parse_date_field() – Parse dates from a CSV. */
/* function WC_Product_CSV_Importer::parse_backorders_field() – Parse backorders from a CSV. */
/* function WC_Product_CSV_Importer::parse_skip_field() – Just skip current field. */
/* function WC_Product_CSV_Importer::parse_download_file_field() – Parse download file urls, we should allow shortcodes here. */
/* function WC_Product_CSV_Importer::parse_int_field() – Parse an int value field */
/* function WC_Product_CSV_Importer::parse_description_field() – Parse a description value field */
/* function WC_Product_CSV_Importer::parse_published_field() – Parse the published field. 1 is published, 0 is private, -1 is draft. */
/* function WC_Product_CSV_Importer::get_formating_callback() – Deprecated get formatting callback method. */
/* function WC_Product_CSV_Importer::get_formatting_callback() – Get formatting callback. */
/* function WC_Product_CSV_Importer::starts_with() – Check if strings starts with determined word. */
/* function WC_Product_CSV_Importer::expand_data() – Expand special and internal data into the correct formats for the product CRUD. */
/* function WC_Product_CSV_Importer::set_parsed_data() – Map and format raw data to known fields. */
/* function WC_Product_CSV_Importer::get_row_id() – Get a string to identify the row from parsed data. */
/* function WC_Product_CSV_Importer::import() – Process importer. */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: includes/import/class-wc-product-csv-importer.php
      Plugin ref: WooCommerce
      Version: 4.8.0
      Deprecated?: No
      API Letters: C,I,P,W

      Published: 26th November 2019 | Last updated: 10th December 2020

      Primary Sidebar

      Information

      File name: includes/import/class-wc-product-csv-importer.php
      Plugin ref: WooCommerce
      Version: 4.8.0
      Deprecated?: No
      API Letters: C,I,P,W

      includes/import

      Footer

      WooCommerce a2z
      WooCommerce a2z
      WooCommerce
      WordPress 5.6
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  woocommerce.wp-a2z.org
      © Copyright WooCommerce a2z 2014-2021. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins

      • Home
      • Blog
      • Sitemap
      • Sites