Streaming live at 10am (PST)

Setmore - Online Booking Software - Breaks Client-side Editor


#1

I'm having an issue, or have been having an issue for the last month or so, with a clients website.

I integrated Setmore as a solution to taking bookings online. Setmore calls a version of jQuery for each 'book now' button integrated onto the page. This then breaks the editor.

When I enter the editor from the client side, then click on a text element to edit it, this error appears:

When I try to select another element to edit, this appears (Cannot read..):

Here's where Setmore is calling jquery.

Here's how that inputs into the HTML. There are 5 buttons on the packages page.

Removing the booking functionality isn't really an option.. My client relies on it. What can I do?

www.mindismatter.com

https://preview.webflow.com/preview/mind-is-matter?preview=0b9d5dd1383108ddde7243a999c19e52


#2

Please paste the code you are using to embed the external plugin here.


#3

<script id="setmore_script" type="text/javascript" src="https://my.setmore.com/js/iframe/setmore_iframe.js"></script><a class="btn btn-cta btn-green margin-top-30" id="Setmore_button_iframe" style="float:none; margin-top: 40px;" href="https://my.setmore.com/shortBookingPage/7f7984e3-e157-49b7-9590-74f00113108a">Book a Callback</a>

Here you go


#4

Let’s try noConflict:

<script>
var Webflow = Webflow || [];
Webflow.push(function() {
  j = jQuery.noConflict();
  $.getScript('https://my.setmore.com/js/iframe/setmore_iframe.js', function() {
    jQuery = j;
  });
});
</script>
<a class="btn btn-cta btn-green margin-top-30" id="Setmore_button_iframe" style="float:none; margin-top: 40px;" href="https://my.setmore.com/shortBookingPage/7f7984e3-e157-49b7-9590-74f00113108a">Book a Callback</a>

If it doesn’t work, you need to request the 3rd party service to exclude jQuery.


Also, feel free to contact me for further code help and/or customization of third-party plugins


#5

Hey Samliew..

Thank you for the help. It's not having any effect. I've tried inserting the code into the of the site globally, as well as into the individual embeds for the buttons. No luck.

Edit: It doesn't seem to be calling the script, the button opens straight into a new tab.


#6