Forums

Woocommerce CSV importer
many many more attributes (10 posts)

  1. nyon
    Member
    Posted 6 months 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 Mensonides
    Member
    Plugin Author

    Posted 6 months ago #

    hi there,

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

  3. nyon
    Member
    Posted 6 months 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 6 months 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 5 months 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 5 months 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 3 months 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 3 months ago #

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

  9. cjeys
    Member
    Posted 3 months 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. ecovirtual
    Member
    Posted 3 months 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!

Reply

You must log in to post.

About this Plugin

About this Topic