Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Shop / WooCommerce
  3. Product Variations not selectable

Product Variations not selectable

Scheduled Pinned Locked Moved Shop / WooCommerce
10 Posts 2 Posters 258 Views
  • 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 Offline
    L Offline
    leoncov
    wrote on last edited by
    #1

    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
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      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
      0
      • arminunruhA arminunruh

        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 Offline
        L Offline
        leoncov
        wrote on last edited by leoncov
        #3

        @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
        0
        • arminunruhA Offline
          arminunruhA Offline
          arminunruh
          Global Moderator
          wrote on last edited by
          #4

          ok im glad it works!

          1 Reply Last reply
          0
          • arminunruhA Offline
            arminunruhA Offline
            arminunruh
            Global Moderator
            wrote on last edited by
            #5

            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
            0
            • L Offline
              L Offline
              leoncov
              wrote on last edited by leoncov
              #6

              @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
              0
              • arminunruhA Offline
                arminunruhA Offline
                arminunruh
                Global Moderator
                wrote on last edited by
                #7

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

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  leoncov
                  wrote on last edited by
                  #8

                  @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
                  0
                  • arminunruhA Offline
                    arminunruhA Offline
                    arminunruh
                    Global Moderator
                    wrote on last edited by
                    #9

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

                    L 1 Reply Last reply
                    0
                    • arminunruhA arminunruh

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

                      L Offline
                      L Offline
                      leoncov
                      wrote on last edited by
                      #10

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

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      I also code custom websites or custom Lay features.
                      💿 Email me here: 💿
                      info@laytheme.com

                      Before you post:
                      1. When using a WordPress Cache plugin, disable it or clear your cache.
                      2. Update Lay Theme and all Lay Theme Addons
                      3. Disable all Plugins
                      4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

                      This often solves issues you might run into

                      When you post:
                      1. Post a link to where the problem is
                      2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                      3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                      Online Users
                      D
                      dnlbrv
                      Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                      laytheme.com
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Search