Restrict payment methods based on cart total

Restrict payment methods based on cart total

Database connection test snippet

A snippet to test the connection to the database.

om.Dtr.init

document.addEventListener('om.Dtr.init', function(event) { console.log(event.detail.Dtr); console.log(event.detail.Campaign); // Registers a custom `name` smart tag. event.detail.Dtr.setCustomVariable('name', 'Thomas'); } );

om.Action.init

document.addEventListener('om.Action.init', function(event) { console.log(event.detail.Action); console.log(event.detail.Campaign); } );

om.Analytics.track

document.addEventListener('om.Analytics.track', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…

Property Analyzer Demo

// Add Property Analyzer Demo to WordPress function addPropertyAnalyzerDemo() { // Only add on homepage or…

wp-config

define( 'OPTINMONSTER_API_USER', 'your_username_here' ); define( 'OPTINMONSTER_API_KEY', 'your_key_here' );

iframe cover css

/* HTML link cover styles */ html div#om-{{id}} #iframeCover { display: block; height: 100%; width: 100%;…

Add vendor's details on customer's order email

Use this code snippet to add the following information to be included in the purchase email…

Changing the WordPress Login Logo URL

function custom_login_logo_url() { return home_url(); // Or your desired URL } add_filter( 'login_headerurl', 'custom_login_logo_url' );

1 131 132 133 134 135 229