As the questions implies I want to add a setup-fee for certain products. The additional fee should be displayed in the product mask, cart and checkout. How is it possible to get that functionality?

1 Answer 1


I found a solution using this plugin. It's very easy. If you want to display the setup fee in your product description, use the following code:

$id = get_the_ID();
$fee_name   = get_post_meta( $id, 'product-fee-name', true );
$fee_amount = get_post_meta( $id, 'product-fee-amount', true );
echo $fee_name . ' - ' . $fee_amount;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.