Home Forums WoodMart support forum Issue with color swatch

Issue with color swatch

Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #200595

    prokreeger
    Participant

    Hi there!

    I have some issue with visibility of color swatch on categories and such widgets like featured products. On product page color swatch looks perfect (image 1), but on categories and some widgets color swatch didn’t appears at all or displays only one color (image 2, 3).

    Also I have attached my color attribute settings (image 4).

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

    Hello,

    First of all thanks for choosing our Theme, we are glad to be you in the WoodMart WordPress family :-).

    I saw the screenshots you attached. Please make sure that you have enabled the option for all the attribute items from Products >> Attributes.

    Screenshot for Clarification: https://ibb.co/7VGjbMJ

    Best Regards.

    #200779

    prokreeger
    Participant

    I’ve enabled the option that you said, but nothing changes. What’s next?

    #200970

    Hello,

    Please deactivate all the third party plugins, activate parent theme. Then check back.

    If the problem continues then provide admin panel login details to check it myself and help
    you out accordingly.

    Best Regards.

    #201395

    prokreeger
    Participant

    This issue caused by WooCommerce Multilingual plugin by WPML. When I turned off this plugin everything started working fine. Can you help me in this case?

    #201653

    Hello,

    Please make sure that you have translated all the attributes and items in all the languages then clear cache and check back.

    Because when you haven’t translated the attributes in all languages they do not show.

    Best Regards.

    #201660

    prokreeger
    Participant

    Hello,

    I’ve translated color attribute to all languages, but problem is still there.

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

    Hello,

    I saw the screenshots you attached. Please make sure that you have translated all the attribute items as well in all the languages not only the attribute names.

    You can read the following article for further help:
    https://wpml.org/documentation/related-projects/woocommerce-multilingual/

    Best Regards.

    #202762

    prokreeger
    Participant

    Hello,

    I have make a demo site and installed only Woodmart theme (with demo data) and WPML plugin.

    Also I have translated all attributes, but issue didn’t disappeared.

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

    Hello,

    I saw the screenshot you attached and visited your website. To display swatches on the product grids you need to Go to Theme Settings >> Shop >> Attribute Swatches. Set the attribute from there.

    Screenshot for Clarification: https://ibb.co/FWZzKhy

    Best Regards.

    #202907

    prokreeger
    Participant

    All settings are set correctly.

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

    Hello,

    Please provide admin panel login details of the website to check it myself and help you out accordingly.

    Best Regards.

    #203528

    prokreeger
    Participant

    Site admin credentials

    #203604

    Hello,

    You have not translated the Products >> Attributes >> Brand and color into both languages that is why it is not showing http://prnt.sc/t02t13

    These attributes only showing in the Russain Language not in English language when you add the attributes in the Product. See here: http://prnt.sc/t02upz These should available in the English language as well.

    Best Regards.

    #203693

    prokreeger
    Participant

    Hello,

    I’ve made translations of attributes and cheked them on product page and all translations works fine. But on category and home page colors didn’t appeared.

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

    Artem Temos
    Keymaster

    Hello,

    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

    #203846

    prokreeger
    Participant

    Hello,

    When I have added this PHP code snippet all starts working great.

    I am very appreciated for your work. Thanks a lot for a cool support.

    #203871

    Artem Temos
    Keymaster

    Great, you are welcome! Feel free to contact us if you will have any questions.

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

The topic ‘Issue with color swatch’ is closed to new replies.