Code Tweaks How to show the VAT and fees the correct way

proxybunker

Administrator
Staff member
Administrator
Forum Support Tech
Web Hosting Tech
Joined
May 8, 2025
Messages
117
Reaction score
45
Points
28
In this post, I will guide you through the process of adjusting the VAT and FEES displayed on the payment screen to ensure they are presented correctly. The current display method used by Sngine is inaccurate, leading to potential confusion for users. Below, I will outline the steps necessary to make these changes and provide a clearer, more accurate representation of these charges. Let's dive in!

VAT+%20
FEES +%3

Screenshot 2025-06-28 082936.webp

The current method of presenting that information is not appropriate and lacks clarity. It requires a more effective approach to ensure the details are conveyed accurately and understandably.

The illustration below demonstrates the correct formatting and presentation of the VAT and associated fees. It clearly outlines how these charges should be itemized and displayed for clarity and transparency in financial documentation. Please pay attention to the specific layout and labeling to ensure that all relevant details are easily noticeable and comprehensible.

Screenshot 2025-06-28 091055.webp

Open the /content/themes/default/templates/_js_templates.tpl

Open that file and go to line 1870, and you will see

Code:
<span>{__("VAT")} +%{get_payment_vat_percentage()}</span>

change it to

<span>{__("VAT")} = {get_payment_vat_percentage()}%</span>

Now go to line 1876, and you will see

Code:
<span>{__("Fees")} +% {$system['payment_fees_percentage']}</span>


change it to


<span>{__("Fees")} = {$system['payment_fees_percentage']}%</span>
 

Donate: Campaign

Total amount
$0.00
Goal
$60.00

AdSense

Back
Top