Define | Filter Out Shipping, VAT, and Subtotal Info
Warning
Note
Just a heads-up: This document is a friendly guide intended for developers and designers. A bit of PHP know-how is needed to get the most out of it.
Please remember, while we love to be helpful, our support policy doesn’t extend to customizations.
Think of any sample code we provide as a starting point or inspiration for your projects!
Please remember, while we love to be helpful, our support policy doesn’t extend to customizations.
Think of any sample code we provide as a starting point or inspiration for your projects!
Description
Looking to keep things simple and streamlined? Our snippet helps you do just that. It ensures that when orders are sent to your payment firm, they only include the total amount — no extra details like shipping costs, VAT, or subtotals.
PHP
1
define('ag_strip_psp_order_totals', TRUE);For a hassle-free experience, we suggest using a third-party plugin like Code Snippets to add this code. It’s a smoother alternative to diving into your theme’s function.php file.
Was this helpful?