Where are suggestions going?
Posted: Tue Jun 15, 2021 4:33 pm
Do suggestions go here or in Github?
Just a very small improvement - that was never made in all the years of OsC.
\includes\system\segments\checkout\insert_order.php (once upon a time checkout_process.php)
Change
To
To prevent any html etc being written to the DB that could be in the payment module title.
Example: using font awesome in the title of a module like:
Inserts to the DB as
Just a very small improvement - that was never made in all the years of OsC.
\includes\system\segments\checkout\insert_order.php (once upon a time checkout_process.php)
Change
Code: Select all
'payment_method' => $order->info['payment_method'],Code: Select all
'payment_method' => strip_tags($order->info['payment_method']), Example: using font awesome in the title of a module like:
Code: Select all
'<i class="fa fa-money text-primary"></i> COD'Code: Select all
'<i class="fa fa-money text-primary"></i> COD