If you've recently installed SmartrMail for BigCommerce and you're using an old or custom theme with another email app (like Mailchimp), you'll likely need to migrate any signup forms to send into SmartrMail.
Most new themes developed by BigCommerce have the standard Bigcommerce form which can't be edited. With our integration, inputs on these forms will be directly added to SmartrMail. So you can ignore this article.
Step 1: Find your replacement code within SmartrMail.
Create a new list or navigate to the list that you want your subscribers to enter after they submit their details.
โ
More details: Embedding HTML Form
Click the Get Embed Form button
Then navigate to the bottom of the page where you'll find our form designer. Choose the unstyled option and get the embed code at the bottom of the page.
Step 2: Navigate to My Themes in BigCommerce
In your BigCommerce dashboard, navigate to Storefront > My Themes. Then click Edit HTML/CSS under Advanced Options.
Step 3: Search for where your signup form is located.
You can find your form usually in the SideNewsletterBox.html file.
Step 4: Replace the <form> action attribute with the SmartrMail action attribute ex. "https://go.smartrmail.com/subscribe/xyz"
Step 5: Add the spam bot protection code:
<input name="subscribe_form[anti_bot]" type="text" style="display: none" />
Step 6 (optional): Replace the name attributes for the first and last name inputs. The name attributes are "FNAME" and "LNAME". If you had a Mailchimp form, these do not need to be replaced.
Step 7: Click Save