Home Forums WoodMart support forum Compare icon does not appear in mobile

Compare icon does not appear in mobile

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #125313

    metuza
    Participant

    Hello,

    I am using the archive product style “Show summary on hover” and found that this option does not show the compare icon in mobile view, maybe fix this?

    Also i find these empty postmetas in my database:
    woodmart_sguide_select
    woodmart_total_stock_quantity

    I have disabled anything in relation to size guide so why is this “woodmart_sguide_select” custom field added to the DB? Once per year i clean up my postmeta table and have to delete 8-10MB of unused postmetas and I always report these to plugin/theme developer so they can add a fix.

    And what is the use of “woodmart_total_stock_quantity”?

    Thanks

    Brgds
    Rune

    #125322

    Artem Temos
    Keymaster

    Hello,

    Use the following CSS code for mobile devices

    body .woodmart-hover-base .product-compare-button {
        display: block;
    }

    These fields are connected to additional options in WooCommerce for products. The correspond to initial quantity and size guide fields. Even if they are empty, they are stored in the database and it is how the WooCommerce works. We are not able to remove them.

    Kind Regards

    #125327

    metuza
    Participant

    Hello,

    I had to use this css:

    @media screen and (max-width: 768px) {
        .woodmart-hover-base.product-no-swatches .wrapp-swatches {
            display: flex;
        }
        .woodmart-hover-base .product-compare-button {
            display: block;
        }
    }

    When size guide is totally disabled then also disable the sizeguide metabox in product editor and problem is solved, there will not be any unused postmetas.

    Brgds
    Rune

    #125330

    Artem Temos
    Keymaster

    OK, we will check what we can do there in the future updates.

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