Viewing 10 replies - 16 through 25 (of 25 total)
  • When we can see the fixed version?

    Plugin Author allaerd

    (@allaerd)

    version 3.0.5 is just out

    Still not working… v3.0.5 & WPv4.3.2 with variations and attributes plug-ins installed

    Plugin Author allaerd

    (@allaerd)

    can you hand over a test case…my test cases work

    Looks like my last comment has been ignored.

    Your code in class-woocsv-product.php should read:

    if ( empty ( $this->body['ID'] ) ) {
    	$this->meta['total_sales'] = 0;
    }

    Solved my problem at least!

    2freeaanzee
    Thanks a lot! It realy works!

    Glad I could help!

    Doug M

    (@nes-native-english-services)

    Wow…pulling my hair out….

    I have a set of 30 products. 15 are made of plastic 15 are made of steel.
    I tried an import of all the products and things weren’t importing correctly at all. Products aren’t showing in the cat section or the shop. Re-saving the product does make it appear in the cat page. Didn’t check the cat.

    I went back and updated the headers as is mentioned earlier in this thread. I added the post_name (permalink) to the csv and still no go on the showing in cat or shop pages. I’ve also messed with my permalink settings thinking this might be the issue with product not showing in the cat and shop pages.

    (I fixed the above, after writing all this, by removing the ! from the class-woocsv-product.php as mentioned by freeaanzee)

    The following is still a problem.

    Then as some point in trying to get things imported the wrong photos started getting assign to the wrong product. ie. The photo for the metal version was attaching to the plastic.

    I split my csv in 2… plastic only and metal only.

    Now, when I import, for example the plastic only, it’s assigning the first 2 with the correct photo but the other 13 are getting the image for metal assigned to the plastic. Strange as hell.

    When previewing the file before hitting import it is showing the correct image but it’s still attaching the metal image.

    plastic = blk-cga.gif
    metal = m-blk-cga.gif

    I cleared the cache, installed a db optimizer to clear out revisions etc. and it is still attaching the metal image.

    I’m using OpenOffice to create the CSV and UTF-8 is set to convert in the settings.

    Here is a list of my headers…

    ID sku post_name post_status post_title post_content post_excerpt category tags stock regular_price sale_price weight length width height tax_status tax_class stock_status visibility backorders featured manage_stock featured_image product_gallery shipping_class comment_status ping_status menu_order

    I’m using the latest versions of WP and WC.
    I have the Better Plugin Compatibility Control plugin installed and it shows that the CSV import plugin is supported only to 4.2.2. Could this be causing this problem?

    Doug M

    (@nes-native-english-services)

    Little update.

    The metal csv imported and assigned the correct images.
    The plastic is still assigning the wrong image.

    I’m not the developer, but let’s try sorting this out … Could it be that the plugin searches for the PARTIAL filename in the media library and automatically assigns the first ‘hit’ (= oldest/newest uploaded image)?

    In that case the metal ones are always correct (because it is the longest filename, there’s only one match possible) but the plastic ones CAN be wrongly assigned because the string ‘blk-cga.gif’ is also present in the URL of the file ‘m-blk-cga.gif’.

    I’m just guessing out loud, I didn’t dig into the code, but you might want to try giving your images mutually exclusive filenames, i.e. ‘p-blk-cga.gif’ (for plastic) and ‘m-blk-cga-gif’ (for metal). Good luck!

Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘Products not showing up in the Product’ is closed to new replies.