products / File - test being erased after save ?

  • Posts: 80
  • Thank you received: 1
  • Hikashop Essential
11 years 4 weeks ago #167046

-- HikaShop version -- : Essential: 2.3.2
-- Joomla version -- : 2.5.22
-- PHP version -- : 5.3.28
-- Browser(s) name and version -- : FF.31
-- Error-message(debug-mod must be tuned on) -- : none.

Hi.
Have some products, and under them, the costumer can download a file, after they have purchased the product.
But when i write the file in the 'files' and enter some text, the text being erased when i hit the save button.
I´m aware that default the hikashop, doesn't send the information in the mail, but i have made an overwrite, to exactly takes this description in the mail. (doesn't work any more, have another topics about that)
I have some products that have this requests, so in my shop, it is real serious to get that to work.

I have tried to create a new, and then i get the mail within the foles to download, but the tekst i gone... ( doesn't ) show in mail, and when i get back to the hikashop, backend under files, the text is gone ??

regards.

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

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
11 years 4 weeks ago #167051

Hi,

Please edit the view "administrator/components/com_hikashop/views/product/tmpl/selectfile.php" and replace

<td><?php
  echo $this->editor->display();
?></td>
By
<td>
  <textarea name="data[file][file_description]"><?php echo $this->escape($this->element->file_description); ?></textarea>
</td>
And it will fix your issue.
(the modifcation will be include in the next HikaShop release).

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Last edit: 11 years 4 weeks ago by Jerome.
The following user(s) said Thank You: helenbn

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

  • Posts: 80
  • Thank you received: 1
  • Hikashop Essential
11 years 4 weeks ago #167116

thanks.
It works :-)

Regards (Y)

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

Time to create page: 0.052 seconds
Powered by Kunena Forum