Hi,
TheCartPress allow to add units programming a plugin:
Create a file in your plugins folder and copy this text:
<?php
/*
Plugin Name: TheCartPress My units
Plugin URI: http://thecartpress.com
Description: Adding my units to TheCartPress
Version: 1.0
Author: Inigo
Author URI: http://thecartpress.com
License: GPL
Parent: thecartpress
*/
// Exit if accessed directly
if ( ! defined( ‘ABSPATH’ ) ) exit;
function my_tcp_product_units_list( $units ) {
$units[‘per_year’] = ‘per year’;
$units[‘per_month’] = ‘per month’;
// Add more…
return $units;
}
add_filter( ‘tcp_product_units_list’, ‘my_tcp_product_units_list’ );
Best regards
That’s great that you can add units, because I need to add hour, page, and word. However, many of us who have a quality, standard education who want to use technology to continue to work cannot understand all the techno-babble. Can you explain in regular language how to add the units “hour,” “page,” and “word” to the list of units in your software? Or, since your level of technological expertise is so incredibly impressive and intimidating, can you perhaps provide this service to your customers yourself?
Hi,
We are going to upload a new version of TheCartPress, adding a new text box to add units.
Best regards