![]() |
Add additional order status xcart 4.4.x
Because this info is spread all over the forum I thought it would be handy to add this post.
This is how you can easily add an additional order status to you xcart shop. 1. In your admin go 'language' and add a textlabel describing your additional orderstatus. For instance: lbl_send_not_payed 2. Open skin/<yourskin>/main/order_status.tpl after Code:
<option value="C"{if $status eq "C"} selected="selected"{/if}>{$lng.lbl_complete}</option> Code:
<option value="U"{if $status eq "U"} selected="selected"{/if}>{$lng.lbl_send_not_payed}</option> where "U" can be any other unused orderstatus identiefier. after Code:
{elseif $status eq "C"} add Code:
{elseif $status eq "U"} Open include/func/func.order.php somewhere around line 1685 you'll find Code:
$allowed_order_status = 'IQPBDFCA'; add your status identiefier (in this case "U") so it looks like: Code:
$allowed_order_status = 'IQPBDFCAU'; that's all. Have fun. |
Re: Add additional order status xcart 4.4.x
You're opening a whole "can of worms". Get ready for questions on "how do I send emails using the new status?", "how do I decrement the quantity on hand with this new order status?", and other questions related to any new status type.
|
All times are GMT -8. The time now is 10:09 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.