how can i import the csv file in wordpress woocommerce.?

Haroon, In the past, I’ve used this paid extension through the WooCommerce store: https://woocommerce.com/products/product-csv-import-suite/ However, WooCommerce is in the process of phasing that plugin’s functionality into their core release: https://docs.woocommerce.com/document/product-csv-importer-exporter/ If the default core option does not yet meet your needs I would recommend checking out their paid extension. One other tip: I would suggest … Read more

Pull specific data from CSV

You can let the client to upload csv file. After upload you can read csv file with a php function (maybe fgetcsv) and put columns and rows to table (maybe with dataTables jQuery plugin). If you let the user to edit table, you can use these information for create a form After that you can … Read more

Having issue on Loading Meta Data From CSV to CPT

Your metas need to be passed to wp_insert_post() as an array like so: // Insert the post into the database $post[“id”] = wp_insert_post( array( “post_title” => $post[“title”], “post_type” => $cpt[“custom-post-type”], “meta_input” => array( “custom-field-1” =>$cpt[“custom-field-1”], “custom-field-2” =>$cpt[“custom-field-2”], ) “post_status” => “publish” )); https://developer.wordpress.org/reference/functions/wp_insert_post/#parameters

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)