Order Number format lost on updates

  • Posts: 12
  • Thank you received: 0
13 years 3 months ago #3461

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

Please Log in or Create an account to join the conversation.

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
13 years 3 months ago #3462

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:

echo $this->config->get('order_number_format','{automatic_code}');
that you can replace by:
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.056 seconds
Powered by Kunena Forum