Jump to content

Загрузка файлов к заказу

Recommended Posts

Кто нибудь сталкивался что при заливке файла с фронта к товару, он подозрительно кодируется  в базу со значением больше 40 знаков?
т.е. в order_option в value не - "c56117cdf97170c97829782ad70027bb7f8774d0",

А типа такого - "K2VCS1dFUE1lejJtQnVWWmlMWHYrV09tWHd0REd3bC9TSmtpSXdxQnBOeS9OK3VGMDA5QVBmbmQzajRRUU40eQ,,"

Link to comment
Share on other sites

А теперь вопрос ) зачем в account / order в функции reorder

вот это

    } elseif ($order_option['type'] == 'file') {
$option_data[$order_option['product_option_id']] = $this->encryption->encrypt($this->config->get('config_encryption'), $order_option['value']);

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...