Home Forums WoodMart support forum Automatically replace attribute dropdown with variation thumbnails

Automatically replace attribute dropdown with variation thumbnails

Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #79784

    plusinternet
    Participant

    If you check the attached screenshot you can see that the Colour attributes for variations are shown in a drop-down. Is there a way to automatically replace the drop-down with thumbnails for each option?

    Attachments:
    You must be logged in to view attached files.
    #79805

    Hello,

    There are settings allowing to show attributes as featured images of the variations, however, some part of work is done manually.

    Please navigate to Dashboard -> Products -> Attributes -> Color -> Configure iterms, enable swatch as shown http://prntscr.com/jskm29

    Navigate to Theme Settings > Shop > Attribute swatches > choose pa_color (your color attribute) and enable “Use images from product variations”

    Make sure each variation in a variable product has an image: http://prntscr.com/kk870w

    Best Regards

    #79823

    plusinternet
    Participant

    Excellent, do you know of a way I can automatically tick that option for ALL products, either via phpMyAdmin or ideally through WP-ALL-IMPORT

    #79826

    Hello,

    No, there is no trick. Product filling is a manual process.

    Best Regards

    #79829

    plusinternet
    Participant

    OK, thank you.

    Finally, when the products are displayed on the homepage, you will see no images are displayed. Do I have to add the images manually via the attributes?

    If this is the case, is there a way this data can be implemented via my wp-all-import system.

    We work off a Google Sheet that is automatically imported with potentially 1000s of products being imported/updated daily.

    #79831

    Hello,

    Read and follow the instructions: https://docs.woocommerce.com/document/managing-products/

    Best Regards

    #79832

    plusinternet
    Participant

    What about the issue where variation/attribute images are displayed on the product page but not the category page or homepage?

    #79835

    Hello,

    What do you mean? I see the variation product works properly: https://gyazo.com/4ef19d4b3657917ff87c42e86f93700d

    Best Regards

    #79844

    plusinternet
    Participant

    They should be product thumbnails like you’ll see on the product page.

    #79848

    Artem Temos
    Keymaster

    Please, provide us your admin access so we can check the configuration.

    #79852

    plusinternet
    Participant

    added you, please see Private Content for login information.

    #79865

    Hello,

    Navigate to Products > Attributes > Color > Configure items and add the default images into each color value: http://prntscr.com/l08hbs

    Best Regards

    #79868

    plusinternet
    Participant

    I have to ask, is there anyway to automate this? I’m trying to automate the update of the website so everything can be imported automatically.

    The WP ALL IMPORT website says:
    Technical Details: Full Support For Custom Fields, Custom Post Types, Custom Taxonomies

    WP All Import can import to Custom Fields (post meta), Custom Post Types, and Custom Taxonomies. WP All Import can even import to serialized Custom Fields. And if your theme or plugin stores data in custom MySQL database tables, our API hooks let you import there as well.

    Would this apply to editing the attributes that you referenced in your last reply? I understand this might be outside the scope of your support but if I am to speak to a developer I need to understand what I am asking them to do.

    Many thanks

    #79873

    Artem Temos
    Keymaster

    Hi,

    Yes, we use custom fields and term meta table so you should be able to automatize it.

    Regards

    #79878

    plusinternet
    Participant

    Would you be able to tell me which custom fields need to be edited in order to import data to the two fields shown in the attached image?

    WP-ALL-IMPORT allows taxonomies to be imported with Term META, its auto detect feature is pulling up the following data:

    product_count_product_cat
    thumbnail_id
    category_icon_alt
    category_icon
    woodmart_chosen_sguide
    stretch_slider
    height
    height_tablet
    height_mobile
    arrows_style
    pagination_style
    pagination_color
    autoplay
    animation

    I believe, if I can find out the name of the fields I need to import data to (see attached image) I can use WP-ALL-IMPORT. At the very least could you please direct me to which file I need to review to find this info?

    I appreciate your help and assistance, thank you.

    Attachments:
    You must be logged in to view attached files.
    #79881

    plusinternet
    Participant

    After further testing, I have got the attribute images working correctly on the homepage, category page but not on the product page, it displays the attributes as a drop down box.

    When I edit the Attribute Terms and tick the box titled “Enable Swatch” it makes the attributes display as a thumbnail but stops displaying the thumbnails on the homepage and category page (it displays the attribute name as text).

    This seems to be a bug, are you able to review and help me fix this?

    #79913

    Artem Temos
    Keymaster

    We still don’t see that you uploaded default images for your color terms https://gyazo.com/36e5b5c2e3bc663ca51e4ec43e7c691e
    They are required even if you are using images from your variations.

    Term meta is called image and it is for you your attributes terms, not for the product itself.

    #80957

    plusinternet
    Participant

    I have resolved this issue, I am now able to import product data and the custom attribute data automatically using WP-ALL-IMPORT.

    Thank you for your help.

    #80968

    Artem Temos
    Keymaster

    Great, you are welcome.

Viewing 19 posts - 1 through 19 (of 19 total)