Articles on: Resmark

How do I add the Resmark add to cart button to my website?

If you want to sell your products directly on your own website, simply use the Resmark add to cart button code on your JavaScript compatible website.

There are three required pieces of code that you'll need to place in your website source code to get your first Resmark add to cart button set up. To get started, go to Website Tools and click Get This Widget. Once on the setup page, you'll need to use the drop-down menu to select which product you want the code for.



1. Button Code





Paste once per button within main body content of your website. There is no limit to the number of buttons you can add to your website. You can customize the colors or text of your button before adding it to your website. Once you're happy with your changes, copy the button code.

If you plan to add multiple buttons (for multiple products), simply use the product drop-down list to switch products, and grab another button code.

Note: There is no limit to the number of buttons you can add to your website.

2. Shopping Cart



Paste once within the main body content of your website. If adding multiple buttons, do not paste the Shopping Cart code multiple times, as this one piece of code will work with multiple buttons. You can customize the color of your cart before grabbing the code.



Warning: Only paste the shopping cart code once on your page. If pasted multiple times unexpected behavior may occur.

3. JavaScript Code



Paste once per page (even if adding multiple buttons) just before the closing </body> tag. This javascript code is the piece that makes the entire Add To Cart button function. The only customizable piece of this code is to Use Brand Colors, which will pull in any of your brand colors from Settings > Brand.



Warning: Only paste the JavaScript code once on your page. If pasted multiple times unexpected behavior may occur.

Updated on: 03/20/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!