We are rebuilding a payment module for CS-Cart 4. We used to get the [color=#444444][font=arial, sans-serif][size=1]fn_get_statuses [/size][/font][/color] in our payment module but wonder how they are handled in de payment modules in cs-cart 4. Does anyone have an example of the code which gets the fn_get_statusses for CS-Cart 4.
The following codes we used to get the order status. Does anyone know we can get the orderstatusses in CS-cart 4.
We used to use the following code:
{include file=“common_templates/subheader.tpl” title=“$lang.order_statuses
”}
{assign var=“statuses” value=$smarty.const.STATUSES_ORDER|fn_get_statuses:true}
{$lang.status_id_pending}:
[{$s} /]
Does anyone know?
Sincerely,
Edwin
Same function exists in V4.