WordPress.org

Forums

Woocommerce CSV importer
many many more attributes (10 posts)

  1. nyon
    Member
    Posted 2 years ago #

    I want to be able to add many attributes such as the specification of a camera.

    Sensor
    ISO
    Lens Mount
    etc.

    As there are many attributes to add, it would be easier to import from an excel. Can this be done also ?

    PS, this free plugin so far is really great, I am sure to donate when my shops starts earning !

    http://wordpress.org/extend/plugins/woocommerce-csvimport/

  2. allaerd
    Member
    Plugin Author

    Posted 2 years ago #

    hi there,

    I am working on the attribute part. Will take me 2 weeks i think.

  3. nyon
    Member
    Posted 2 years ago #

    Great, thanks! Again, want to show my appreciation for you developing this for free! The Plugin works like a treat so far!

  4. l.tamburo
    Member
    Posted 2 years ago #

    Hi there,
    I add this code

    //product attributes
    		if ($num > 17){
    			$prod_catt = array();
    			$catt_count = 0;
    			for ($i = 17; $i < $num; $i++){
    				$custom_field = explode(':', $data[$i]);
    		 		$custom_values = esc_html(stripslashes($custom_field[1]));
    		 		// Text based, separate by pipe
    		 		$custom_values = explode('|', $custom_values);
    		 		$custom_values = array_map('trim', $custom_values);
    		 		$custom_values = implode('|', $custom_values);
    
    			 	$prod_catt[ sanitize_title( $custom_field[0] ) ] = array(
    			 		'name'	=> htmlspecialchars(stripslashes($custom_field[0])),
    			 		'value' => $custom_values,
    			 		'position'	=> $catt_count,
    			 		'is_visible' 	=> 1,
    			 		'is_variation'	=> 0,
    			 		'is_taxonomy'	=> 0
    			 	);
    				$catt_count++;
    
    			}
    			$prod_catt = maybe_serialize($prod_catt);
    			update_post_meta( $post_id, '_product_attributes', $prod_catt);
    		}

    into function woocsv_import_products_from_csv before end of foreach( $content as $data ) {

  5. getjohnv
    Member
    Posted 2 years ago #

    Please have you been able to work on the attribute update yet? My very use of the plugin could depend on this! Thanks so much.

  6. Sun15
    Member
    Posted 2 years ago #

    Hi there,

    your plugin is exactly what i have been finding for.

    Can you pls update if attribute functionality is yet added or will be added soon.

    Thanks and great plugin.

  7. Wellton
    Member
    Posted 2 years ago #

    How to get attributes to work with this plugin?

    I really need attributes to work and i believe others also need it. Other than that, it's perfect!

  8. ormagon
    Member
    Posted 2 years ago #

    That would be great indeed. I would like to add things like inner sizes, color, etcetera.

  9. cjeys
    Member
    Posted 2 years ago #

    Could you please explain how the attributes should be formatted in csv?

    when are you planning to release the next update of the plugin with the full attributes import feature?

    Thanks!

  10. Ramiro
    Member
    Posted 2 years ago #

    First of all, thank you for the plugin!! It really save me.

    I'm also waiting for the attribute update. If you manage to do it I thing it's a good idea to put a little price for the plugin. It's really the only alternative for the 99$ plugin form Woocommerce.

    Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Woocommerce CSV importer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic