Home Forums WoodMart support forum Theme visibility function

Theme visibility function

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #141785

    tvojsplet
    Participant

    Hi i have some issues with product visibility. I have plugin called WooCommerce Show Single Variations.
    On category page some colors don’t show and some do. I wrote to plugin author and they’we checked site and told me: See text below:

    Thank you for getting back to us.

    I’ve seen the attached file and the page where you have encountered the issue. Upon checking, it is coming from your theme.

    Please see: https://cl.ly/3adb86

    It seems your theme doesn’t support the product visibility. I would suggest to contact the theme developer and ask to look on this issue.

    Please let us know if they need something from us and we are happy to provide the information.

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

    Artem Temos
    Keymaster

    Hello,

    Sorry, but your issue is not quite clear for us. What exactly does your screenshot means?

    What plugin’s developers mean by theme doesn’t support the product visibility? Also, what their screenshot shows?

    Regards

    #141804

    tvojsplet
    Participant

    As you see on screenshot on some products it doesn’t show colors atributes on category page.

    https://www.freeonbaby.com/product-category/baby-strollers/ if you check this page and see first stroller Viva it show only one color but it shoul be two colors. Next to it it show variable colors that are available.
    See screen shot single.jpg, it has two colors but on category page it shows only one colors. Screenshoot category.jpg

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

    Artem Temos
    Keymaster

    Try to add the following PHP code snippet to the child theme functions.php file to fix this

    add_filter( 'woodmart_swatches_on_grid_right_order', '__return_false' );

    Regards

    #141812

    tvojsplet
    Participant

    Thanks, that worked. Now all atributes are showing. Thanky you very much.

    #141820

    Artem Temos
    Keymaster

    You are welcome.

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

The topic ‘Theme visibility function’ is closed to new replies.