How to generate invoices for free packages?

Free packages will automatically skip checkout.

If you want to generate invoices for them, still, then you can do that with this snippet.

Use the Code Snippet plugin to add this PHP snippet to your site.

This snippet is only useful on a site using our premium Pricing Manager addon.

/*
 * Force to generate invoice for free package listing.
 */
function gd_snippet_invoice_for_free_package( $skip ) {
	$skip = false;

	return $skip;
}
add_filter( 'geodir_pricing_skip_invoice', 'gd_snippet_invoice_for_free_package', 20, 2 );
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us