Creating a Click-To-Text button that sends a text message

I haven’t tested this but you may be able to potentially do this using the wixLocation API

In the docs it states that it works with

  • mailto:@<someplace.com>?subject=: An email.

  • tel:: A phone number.

Might also work with SMS

import wixLocation from 'wix-location';

$w("#button").onClick(() => {
   wixLocation.to("sms://+1800605xxxx?      &body=I%27m%20interested%20in%20your%20product.%20Please%20contact%20me.");
});