WordPress and WooCommerce Plugin Integration
This guide explains how to integrate Tento's Business Credit Monitoring (BCM) and Financing widgets into your WordPress or WooCommerce site using our official plugin.
Installation in 2 minutes
- Download the Tento Wordpress Plugin zip file. Do not unzip.
- Upload it to your WordPress site's plugins. (Admin Panel => Plugins => Add New Plugin => Upload => Upload Zip).
- Activate the plugin through the WordPress admin panel under Plugins.
- Navigate to Settings => Tento Settings, and input your partner ID to save referrals in Tento system (/wp-admin/options-general.php?page=tento-settings)
Usage
The plugin provides two main short-codes that you can use anywhere in your WordPress site:
Business Credit Monitoring Button
[tento_bcm_button
text="See My Credit Score"
style="styled"
business_name="Example Inc"
owner_first="John"
owner_last="Doe"
owner_mobile="1234567890"
]Parameters:
text(optional): Button text. Default: "See My Credit Score"style(optional): Choose between "styled" or "default". Default: "styled"- "styled": Uses Tento's pre-styled button design
- "default": Uses WordPress/WooCommerce button styles
class(optional): Additional CSS classes for the buttonbusiness_name(optional): Pre-fill business nameowner_first(optional): Pre-fill owner's first nameowner_last(optional): Pre-fill owner's last nameowner_mobile(optional): Pre-fill owner's mobile number
Financing Application Button
[tento_financing_button
text="Apply for Financing"
style="styled"
financing_amount="75000"
financing_terms="24"
business_name="Example Inc"
owner_first="John"
owner_last="Doe"
use_product_price="true"
]Parameters:
text(optional): Button text. Default: "Apply for Financing"style(optional): Choose between "styled" or "default". Default: "styled"- "styled": Uses Tento's pre-styled button design
- "default": Uses WordPress/WooCommerce button styles
class(optional): Additional CSS classes for the buttonfinancing_amount(optional): Pre-fill financing amount. Default: 50000financing_terms(optional): Pre-fill financing terms in months. Default: 24business_name(optional): Pre-fill business nameowner_first(optional): Pre-fill owner's first nameowner_last(optional): Pre-fill owner's last nameuse_product_price(optional): Set to "false" to disable the use of WooCommerce product price as financing amount. Default: "true"
WooCommerce Integration
Using Product Price as Financing Amount
This feature is enabled by default.
To NOT use the current WooCommerce product's price as the financing amount, add the use_product_price="false" parameter to the financing button shortcode:
[tento_financing_button style="styled" use_product_price="false"]Adding Buttons to Product Pages
Add the shortcodes to your product template or use WordPress hooks. Example for functions.php:
add_action('woocommerce_after_add_to_cart_button', 'add_tento_buttons');
function add_tento_buttons() {
echo do_shortcode('[tento_bcm_button style="styled"]');
echo do_shortcode('[tento_financing_button style="styled" use_product_price="true"]');
}Styling
Default WordPress/WooCommerce Buttons
When using style="default", buttons will inherit your theme's button styles. Additional classes can be added using the class parameter:
[tento_bcm_button style="default" class="wp-block-button__link wp-element-button wc-block-components-product-button__button"]Tento Styled Buttons
When using style="styled", buttons will use Tento's pre-styled design with:
- Clean, modern appearance
- Responsive design
- Hover effects
- Consistent branding
Examples
Basic Implementation
[tento_bcm_button]
[tento_financing_button]Styled Buttons with Pre-filled Data
[tento_bcm_button
text="Check Business Credit"
style="styled"
business_name="ACME Corp"
]
[tento_financing_button
text="Finance Your Business"
style="styled"
financing_amount="100000"
business_name="ACME Corp"
]WooCommerce Product Page Integration
[tento_financing_button
text="Finance This Purchase"
style="default"
use_product_price="true"
class="wp-block-button__link wp-element-button wc-block-components-product-button__button"
]Troubleshooting
- Buttons Not Appearing: Ensure the Tento script is loading properly in your page source.
- Styling Issues: Check for CSS conflicts with your theme.
- WooCommerce Price Not Working: Verify the product has a valid price and
use_product_price="true"is set.
For additional support, contact Tento's support team at [email protected].
More Examples
[tento_bcm_button text="Check Business Credit Score" business_name="Example Inc"]
[tento_bcm_button style="default" text="Check Business Credit Score" class="wp-block-button__link wp-element-button wc-block-components-product-button__button"]
[tento_financing_button text="Apply for Financing" use_product_price="false" financing_amount="75000"]
[tento_financing_button style="default" class="wp-block-button__link wp-element-button wc-block-components-product-button__button"]