Upgraded to WordPress 6.0 and have issues? Please check the hotfix which you need to apply.

Okay
  Public Ticket #2691048
Product icon customizations
Closed

Comments

  • mstfckn started the conversation

    Hello there,

    I have variations (0,5KG or 1KG) on most of the products, but I would like to ask you how can I change the current icon (image-2) with add to cart icon (image-1) for such products? 

    Besides this possible workaround, is it possible to make one variable default and have one price (instead of 2 prices for both variations) with that add to cart icon naturally without any workarounds?

    image-1

    5628743400.png

    image-2

    5472312461.png


  •  228
    Milingona replied

    Hello,

    You can change the icon as requested by adding the following code at Bakery > Custom Code > Custom CSS:

    .vu_wc-product .vu_p-icon.vu_p-i-cart.product_type_variable .fa.fa-list-alt:before,
    .vu_wc-product .vu_p-icon.vu_p-i-cart.product_type_grouped .fa.fa-list-alt:before {
     content: "\f07a";
    }

    Adding to cart directly a default variation unfortunately is not possible.

    Warm regards,


    Milingona Support

    Follow on     Envato     Facebook     Twitter

  • mstfckn replied

    I added custom CSS but this is happening.

    2720784554.png
  •  228
    Milingona replied

    We managed to fix the issue for you by using the code below.

    .vu_wc-product .vu_p-icon.vu_p-i-cart.product_type_variable .fa.fa-list-alt,
    .vu_wc-product .vu_p-icon.vu_p-i-cart.product_type_grouped .fa.fa-list-alt {
        font-weight: 900;
    }
    .vu_wc-product .vu_p-icon.vu_p-i-cart.product_type_variable .fa.fa-list-alt:before,
    .vu_wc-product .vu_p-icon.vu_p-i-cart.product_type_grouped .fa.fa-list-alt:before {
        content: "\f07a";
    }

     Please check and let us know your feedback.

    Thanks,


    Milingona Support

    Follow on     Envato     Facebook     Twitter

  • mstfckn replied

    It works fine now.

    You guys are the best! Thank you!

  •  228
    Milingona replied

    Glad to hear that. Always happy to be able to help you.

    Best,


    Milingona Support

    Follow on     Envato     Facebook     Twitter