Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Product Variations not selectable

    Shop / WooCommerce
    2
    10
    45
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      leoncov last edited by

      Hello,

      I have a problem with product variations: While the setup of a variable product worked without any problems the variations are not selectable when I visit the product page.

      Here's the link to the page: https://wasdas.ch/produkt/t-shirt-kleistadtverklemmt/

      I can add the product to the basket and it just adds the variation I set set as standard.
      Inspecting the page I see that the table containing the variations is hidden with the following css:

      body.single-product .variations {
        display: none;
      }
      

      I can then change the display value in the browser and the dropdown for the variations apperars…

      I'm hoping that I'm just missing something obvious, has anyone ever had this? Or do you know of a setting that I need to change?

      Here's what I tried to fix the problem so far:
      I watched some tutorials on the product setup (not with laytheme) and the product details should be ok.
      I went through all (?) the settings I could find without finding a solution (setting to turn the variations on/off).
      I disabled the custom CSS and HTML.
      Tried Firefox, Chrome and Safari.

      All without luck…

      Best, Leon

      1 Reply Last reply Reply Quote 0
      • arminunruh
        arminunruh Global Moderator last edited by

        there seems to be an error
        Screenshot 2023-07-31 at 19.23.32.png

        it is related to the social media icons data-config attribute not being formatted correctly:
        Screenshot 2023-07-31 at 19.24.38.png

        i will release an update in a few minutes that will escape these characters differently, then the rest of the javascript that displays your variations should work too

        there is another error though
        Screenshot 2023-07-31 at 19.35.55.png

        it seems you need to correctly set up your stripe plugin

        L 1 Reply Last reply Reply Quote 0
        • L
          leoncov @arminunruh last edited by leoncov

          @Armin-Unruh I updated Lay Theme and deactivated the WooCommerce-payments plugin and now everything works:)

          The WooCommerce plugin was installed but I dindn't setup anything yet so I guess that's where the stripe error came from.

          Thank you for you help!

          1 Reply Last reply Reply Quote 0
          • arminunruh
            arminunruh Global Moderator last edited by

            ok im glad it works!

            1 Reply Last reply Reply Quote 0
            • arminunruh
              arminunruh Global Moderator last edited by

              i see you're using a black background for the shop. better use a white background, the shop wasn't designed with a black background in mind, many UI elements are black lines and don't have settings to make them white, so its best to use a white website :/

              1 Reply Last reply Reply Quote 0
              • L
                leoncov last edited by leoncov

                @arminunruh yes I realized haha. i've just been working on changing the elements with custom css but might also change the background later after some testing. thanks for the tip!

                i just ran into another problem: the contact page (WAS EMAIL) is set as an overlay which doesn't work on the shop page (https://wasdas.ch/shop/), instead of sliding in it just loads the page…

                edit: it loads the contact page on both the shop page and on the product pages. on other shop related pages like the cart page it slides in as it should…

                is that a known thing? should i open a new topic for it?

                1 Reply Last reply Reply Quote 0
                • arminunruh
                  arminunruh Global Moderator last edited by

                  oh i see, update lay theme in a few minutes and then it should work

                  1 Reply Last reply Reply Quote 0
                  • L
                    leoncov last edited by

                    @arminunruh wow that was fast! just updated lay theme, i now have version 5.9.2. however the problem still persists…

                    but no stress from my side, the shop is not live yet and probably won't be for another week or two:)

                    1 Reply Last reply Reply Quote 0
                    • arminunruh
                      arminunruh Global Moderator last edited by

                      mmh it cant be :O
                      update again, now it should work!

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        leoncov @arminunruh last edited by

                        @arminunruh yess! now it works, thank you so much!

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Post a link to where the problem is if possible, please <3
                        I don't answer or check forum DMs, please just post on the forum.
                        Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com

                        Before you post:

                        Use the Search Feature. Maybe there is already a solution to your issue.

                        1. Update Lay Theme and all Lay Theme Addons
                        2. Disable all Plugins
                        3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
                        4. When using a WordPress Cache plugin, disable it or clear your cache. Now see if your problem solved itself.
                        Go here, see if your problem is listed here:
                        Troubleshooting

                        When you post:
                        1. Post a link to where the problem is
                        2. If the problem is difficult to explain, post screenshots / link to a video to explain it

                        Thanks!

                        Online Users

                        H
                        O
                        J
                        M

                        Recent Topics

                        • J

                          Images Size when scale Browser

                        • Search as icon instead of text?

                        • FILTER Categories showing all projects

                        • H

                          Vimeo embed with autoplay and loop is really slow...help!

                        laytheme.com