Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ollybach

    (@ollybach)

    Hi

    you cannot do that at the moment, but the next version will have a filter you can use in your functions.php file like so:

    add_filter('wppizza_custom_transaction_id', 'my_custom_transactionid_filter',10,2);
    function my_custom_transactionid_filter($transactionId,$orderId){
    	/**prepend 1234 for example***/
    	$transactionId='1234-'.$transactionId;
    
    	return $transactionId;
    }

    Plugin Author ollybach

    (@ollybach)

    PS

    this filter will NOT write to or change entries in the database, it will only change the display of how you want to display the transaction id

    Plugin Author ollybach

    (@ollybach)

    should now work with v 2.9.4.3

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how to customize order id’ is closed to new replies.