Home Forums Basel – Premium Template How i can add more images in color attribute

This topic contains 18 replies, has 3 voices, and was last updated by Elise Noromit Elise Noromit 9 months ago.

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

    soniamit
    Customer
    Private Content Hidden
    #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
    Customer

    Hi

    which plugin you recommend ?

    Thanks

    #76762

    soniamit
    Customer

    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

    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
    Customer

    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

    Private Content Hidden
    #77248

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

    #77264

    soniamit
    Customer

    check info which you are looking for

    Private Content Hidden
    #77265

    soniamit
    Customer

    here is website admin path

    Private Content Hidden
    #77281

    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
    Customer

    here is ftp info

    Private Content Hidden
    #77318

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

    #77330

    soniamit
    Customer

    check info

    Private Content Hidden
    #77333

    soniamit
    Customer

    Send you new ftp access.

    it’s work fine with ws_ftp window base software.

    Private Content Hidden
    #77344

    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
    Customer

    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.

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

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

    #77397

    soniamit
    Customer

    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.