Home Forums Basel support forum How i can add more images in color attribute

How i can add more images in color attribute

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

    soniamit
    Participant
    #76746

    Hello,

    The default Woocommerce does not provide the option to have more than one image per color. Perhaps you will need to find a plugin.

    Best Regards

    #76759

    soniamit
    Participant

    Hi

    which plugin you recommend ?

    Thanks

    #76762

    soniamit
    Participant

    Hi

    check out this code.. same function i’m looking for my website

    https://codecanyon.net/item/woocommerce-multiple-images-per-variation/22085214

    can you implement same function in your theme system ?

    Tx

    #76776

    Artem Temos
    Keymaster

    Hi,

    Unfortunately, we didn’t test our theme with this plugin and can’t guarantee that it will be fully compatible. We will consider adding similar functionality in the future.

    Regards

    #77218

    soniamit
    Participant

    Hi

    already buy that plugin
    https://codecanyon.net/item/woocommerce-multiple-images-per-variation/22085214
    But no luck…

    when you can fix / add this function in your theme… ?

    please help / guide us.. !!

    Thanks

    #77248

    Artem Temos
    Keymaster

    Please, send us your admin and FTP access so we can check why it doesn’t work well.

    #77264

    soniamit
    Participant

    check info which you are looking for

    #77265

    soniamit
    Participant

    here is website admin path

    #77281

    Artem Temos
    Keymaster

    We need your FTP access, not your hosting control panel. If you don’t have this data you can contact your hosting provider for help.

    #77296

    soniamit
    Participant

    here is ftp info

    #77318

    Artem Temos
    Keymaster

    We can’t connect your server with this data https://gyazo.com/775b93d1130fe15e580bfa5396f5c429

    #77330

    soniamit
    Participant

    check info

    #77333

    soniamit
    Participant

    Send you new ftp access.

    it’s work fine with ws_ftp window base software.

    #77344

    Artem Temos
    Keymaster

    To make the plugin compatible you need to perform the following changes:

    1. Remove files from our theme folder
    basel/woocommerce/product-image.php
    basel/woocommerce/product-thumbnails.php.

    2. Disable JS minification in Theme Settings -> Performance.

    3. Edit the file js/functions.js and replace the following lines

    productImages: function() {

    with this one

    productImages: function() { return;

    and this line

    productImagesGallery: function() {

    replace to this

    productImagesGallery: function() { return;

    4. Put the following code to your basel/functions.php file

    add_theme_support( 'wc-product-gallery-slider' );
    
    add_action( 'wp_enqueue_scripts', 'basel_child_enqueue_scripts', 10000 );
    
    function basel_child_enqueue_scripts() {
    	wp_enqueue_script( 'flexslider' );
    }

    5. Add the following snippet to the custom CSS section in Theme Settings

    .woocommerce div.product div.images .flex-control-thumbs li {
        width: 15%;
        float: left;
        margin: 10px 0 0;
        list-style: none;
    }

    Regards

    #77352

    soniamit
    Participant

    First image of every product is not showing ?

    see –

    https://www.devonindia.com/product/zip-closure-shoulder-strap-handbag-2/

    please guide .. rest so far working fine.

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

    Artem Temos
    Keymaster

    Sorry, they are located in the folder woodmart/woocommerce/single-product/

    #77397

    soniamit
    Participant

    Code working now !!

    Thank you so much..

    cheers !!

    #77400

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

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

The topic ‘How i can add more images in color attribute’ is closed to new replies.