Use the shortcode generator for page builders

WPMarmite Pay » Docs » Starter Guide » Use the shortcode generator for page builders

Published on

Are you using a page builder on your site? We’ve put together a shortcode generator for you to add wherever you like:

Read on to find out how to use it.

Add a product button

In the WordPress admin, click on the WPMarmite Pay > Shortcode Generator menu.

In the Product button shortcode section, click on the product for which you want to add a payment button, below Select a product.

Add a product button with a shortcode.

Select your thank you page (the user will be redirected to this page after purchasing your product).

Selection of a thank you page.

Customize the button label in the field provided, then click on the blue Generate button.

Generate the product button shortcode.

To customize it, click on the Customize button, below the shortcode.

You can choose the following elements:

  • button background color (normal and hover)
  • text color
  • border radius
Button customization in WPMarmite Pay's shortcode generator

Click on the Save button.

Finally, click on the Copy button next to your freshly generated shortcode, then paste it wherever you like on your site to add a payment button!

Copy the product button shortcode.

Add a button to access the Stripe customer portal

In the WordPress admin, click on the WPMarmite Pay > Shortcode Generator menu.

In the Stripe portal button shortcode section, you’ll find the shortcode for accessing the Stripe customer portal.

To customize it, click on the Customize button, below the shortcode.

Copy the shortcode of the Stripe customer portal button.

Customize your button, then click on the Save button.

Finally, click on the Copy button next to the shortcode, then paste it on a page reserved for logged-in users to include the customer portal access button.

The documentation is still fresh. Do you need further guidance or have any questions? Contact us and we’ll take care of it.