Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • 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. General Discussion
  3. embedded ThriveCart checkout form not loading on mobile version

embedded ThriveCart checkout form not loading on mobile version

Scheduled Pinned Locked Moved General Discussion
9 Posts 3 Posters 108 Views 2 Watching
  • 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.
  • F Offline
    F Offline
    FANER
    wrote last edited by
    #1

    I want to embed a checkout form on a client’s website. On the desktop version, it works perfectly using the provided code. It also works in mobile mode as long as I don’t create a separate mobile version of the site.

    However, once I create a dedicated mobile version—which is necessary since most users visit the site on mobile—the form no longer loads (or is not displayed).

    Where is my mistake in thinking?

    Here is the embed code provided by ThriveCart:

    <div data-thrivecart-account="robertherrmanncoaching" data-thrivecart-tpl="v2" data-thrivecart-product="1" class="thrivecart-embeddable" data-thrivecart-embeddable="tc-robertherrmanncoaching-1-4BE8KG"></div><script async src="//tinder.thrivecart.com/embed/v1/thrivecart.js" id="tc-robertherrmanncoaching-1-4BE8KG"></script>
    

    Here is the link to a page with the embedded form.

    May anybody helps?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      samfrancis
      wrote last edited by
      #2

      Looks like a mobile layout issue, not the embed code.

      When you create a separate mobile version, the desktop elements don’t carry over. Your ThriveCart block probably isn’t added (or is hidden) in the mobile layout.

      Just re-add the embed in the mobile version and it should work

      1 Reply Last reply
      0
      • F Offline
        F Offline
        FANER
        wrote last edited by
        #3

        hej @samfrancis, thanks for your answer.
        of course I embedet the code also in the mobile layout, it is just not showing up.

        Gridder Desktop
        gridder desktop

        Gridder Mobile
        gridder mobile

        1 Reply Last reply
        0
        • F Offline
          F Offline
          FANER
          wrote last edited by FANER
          #4

          sorry – the screenshots dont work @samfrancis.
          here some links:

          Gridder Desktop

          Gridder Mobile

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

            hey can you please try this: duplicate the page. then for that page delete the custom phone layout. then see if it shows up

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

              heres a more detailed explanation:

              hey, this is a known thing with lay themes custom phone layout: lay theme renders BOTH the desktop layout and the custom-phone-layout into the same html (one is just hidden via css depending on viewport width). so if you place the thrivecart embed in both layouts, it ends up in the dom twice — and thrivecart (like a lot of embeds with unique ids) doesnt handle duplicate instances and silently fails to load.

              two options: 1. disable the custom phone layout temporarily — lay theme then falls back to a single-column auto-mobile view of the desktop layout and your embed exists only once. try this first, its the simplest fix. 2. keep the embed in only ONE of the two layouts (e.g. only in the custom phone layout, with a placeholder element in the desktop layout) — more fiddly. let me know if option 1 works for you.

              1 Reply Last reply
              0
              • F Offline
                F Offline
                FANER
                wrote last edited by FANER
                #7

                Hej @arminunruh ,
                thanks for the response. Option 1 workes technically, as i tested it before. sadly this won’t work for the client, as he needs a custom phone version.
                page without mobile layout

                The desktop layout of the planned page is to complex for the mobile version and the mobile version to boring for desktop.

                Option 2 would show no form in desktop, or do I misunderstood? It is crucial, to have the form in both layouts.

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

                  can u create 2 different checkouts? can you ask the thrivecart people if they can make it possible that people can have 2 checkouts on their page?

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

                    im gonna think about this more too maybe i can find a solution

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


                    For 1on1 paid Lay Theme Coaching, contact: audrey@cyberslayers.work.

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

                    Our Web Development company: 100k.studio

                    Want to tip me? https://www.paypal.com/paypalme/arminunruh

                    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
                    P
                    pauljuergens
                    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