Skip to main content

products / File - test being erased after save ?

More
12 years 1 month ago #167046 by nmouse
-- 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.

More
12 years 1 month ago - 12 years 1 month ago #167051 by Jerome
Hi,

Please edit the view "administrator/components/com_hikashop/views/product/tmpl/selectfile.php" and replace
Code:
<td><?php echo $this->editor->display(); ?></td>
By
Code:
<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.
Last edit: 12 years 1 month ago by Jerome.
The following user(s) said Thank You: helenbn

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

More
12 years 1 month ago #167116 by nmouse
thanks.
It works :-)

Regards (Y)

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

Time to create page: 0.175 seconds
Powered by Kunena Forum