- Posts: 12
- Thank you received: 0
Order Number format lost on updates
15 years 9 months ago #3461
by brathbon
Order Number format lost on updates was created by brathbon
Using Business 1.4:
Any visit to the configuration main page and then a save, results in a short version of the order number format string being saved. Once entered and saved, all is fine, but when read back in on your next visit, only the first 13 characters are shown, and if not fixed before saving, the abbreviated version will become the active format.
Actual Example from my site:
Format saved as: BPW-{id size="5"}{date format="mdy"}
Next visit to the same screen: BPW-{id size=
I have to reset this value on each visit to the configuration screen.
Hopefully you can address this minor issue in the next version.
Thanks, Bill
Any visit to the configuration main page and then a save, results in a short version of the order number format string being saved. Once entered and saved, all is fine, but when read back in on your next visit, only the first 13 characters are shown, and if not fixed before saving, the abbreviated version will become the active format.
Actual Example from my site:
Format saved as: BPW-{id size="5"}{date format="mdy"}
Next visit to the same screen: BPW-{id size=
I have to reset this value on each visit to the configuration screen.
Hopefully you can address this minor issue in the next version.
Thanks, Bill
Please Log in or Create an account to join the conversation.
15 years 9 months ago #3462
by nicolas
Replied by nicolas on topic Re: Order Number format lost on updates
Thank you for your feedback.
We will correct that display issue.
If you want to fix it directly, you can edit the file administrator/components/com_hikashop/views/config/tmpl/main.php, and near line 100, you have the code:
that you can replace by:
We will correct that display issue.
If you want to fix it directly, you can edit the file administrator/components/com_hikashop/views/config/tmpl/main.php, and near line 100, you have the code:
Code:
echo $this->config->get('order_number_format','{automatic_code}');
Code:
echo $this->escape($this->config->get('order_number_format','{automatic_code}'));
Please Log in or Create an account to join the conversation.
Time to create page: 0.146 seconds