[Skip to main content](#vessel-content)

#  Profile for dixit

##

[![dixit's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/61778-dixit "View dixit's Profile")

**[ Offline](/forum/user/61778-dixit)**

- **User Type:** User

- **Register Date:** 15 Jul 2021
- **Last login:** 5 years 3 months ago
- **Time Zone:**  UTC +0:00
- **Local Time:** 06:33

- **Posts:** 3
- **Profile views:** 24

- **Gender:** Unknown
- **Birthdate:** Unknown

- Posts

#  dixit's recent posts  (3 messages )

All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year     All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year

| <a id="forumtop"> </a> [  ](#forumbottom) | Subject | Replies / Views | Last Post | <a id="forumbottom"> </a> [   ](#forumtop) |
|---|---|---|---|---|
| [](/forum/4-how-to/902970-hhow-to-customize-product-image-upload-code#334521) | [Hhow to customize Product Image upload code?](/forum/4-how-to/902970-hhow-to-customize-product-image-upload-code#334521 "-- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27 -- PHP version -- : 8.0.7 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : How to add manual code for product image upload?  when the image is uploaded from hikahop product admin I want to upload this image at a custom path instead of the default hikashop image upload path.")        Category: [How to?](/forum/4-how-to "If you didn't find the answer on our documentation neither on existing posts, please ask your question here.")     Topic started 5 years 3 months ago, by [dixit](/forum/user/61778-dixit "View dixit's Profile")       [Last Post](/forum/4-how-to/902970-hhow-to-customize-product-image-upload-code#334524 "Hi,  We do have the event onAfterFileDelete for that. However, looking at the file there, I can see a problem with how we've added it previously. The first parameter is an array of ids, but the entries are already removed from the database by that point. So that won't help. To fix that, you need to change the line:  to:  in the file administrator/components/com&#95;hikashop/classes/file.php That way, in $oldEntries you'll get an array of the files that were just deleted (we'll remove the $type variable since each element of the array has a file&#95;type with its type). We'll include that modification in the next version of HikaShop and we'll also add a onBeforeFileDelete in that same deleteFiles function.") 5 years 3 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:5  Views:1019 | [Last Post](/forum/4-how-to/902970-hhow-to-customize-product-image-upload-code#334524 "Hi,  We do have the event onAfterFileDelete for that. However, looking at the file there, I can see a problem with how we've added it previously. The first parameter is an array of ids, but the entries are already removed from the database by that point. So that won't help. To fix that, you need to change the line:  to:  in the file administrator/components/com&#95;hikashop/classes/file.php That way, in $oldEntries you'll get an array of the files that were just deleted (we'll remove the $type variable since each element of the array has a file&#95;type with its type). We'll include that modification in the next version of HikaShop and we'll also add a onBeforeFileDelete in that same deleteFiles function.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      5 years 3 months ago |
| [](/forum/4-how-to/902970-hhow-to-customize-product-image-upload-code#334480) | [Hhow to customize Product Image upload code?](/forum/4-how-to/902970-hhow-to-customize-product-image-upload-code#334480 "-- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27 -- PHP version -- : 8.0.7 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : How to add manual code for product image upload?  when the image is uploaded from hikahop product admin I want to upload this image at a custom path instead of the default hikashop image upload path.")        Category: [How to?](/forum/4-how-to "If you didn't find the answer on our documentation neither on existing posts, please ask your question here.")     Topic started 5 years 3 months ago, by [dixit](/forum/user/61778-dixit "View dixit's Profile")       [Last Post](/forum/4-how-to/902970-hhow-to-customize-product-image-upload-code#334524 "Hi,  We do have the event onAfterFileDelete for that. However, looking at the file there, I can see a problem with how we've added it previously. The first parameter is an array of ids, but the entries are already removed from the database by that point. So that won't help. To fix that, you need to change the line:  to:  in the file administrator/components/com&#95;hikashop/classes/file.php That way, in $oldEntries you'll get an array of the files that were just deleted (we'll remove the $type variable since each element of the array has a file&#95;type with its type). We'll include that modification in the next version of HikaShop and we'll also add a onBeforeFileDelete in that same deleteFiles function.") 5 years 3 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:5  Views:1019 | [Last Post](/forum/4-how-to/902970-hhow-to-customize-product-image-upload-code#334524 "Hi,  We do have the event onAfterFileDelete for that. However, looking at the file there, I can see a problem with how we've added it previously. The first parameter is an array of ids, but the entries are already removed from the database by that point. So that won't help. To fix that, you need to change the line:  to:  in the file administrator/components/com&#95;hikashop/classes/file.php That way, in $oldEntries you'll get an array of the files that were just deleted (we'll remove the $type variable since each element of the array has a file&#95;type with its type). We'll include that modification in the next version of HikaShop and we'll also add a onBeforeFileDelete in that same deleteFiles function.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      5 years 3 months ago |
| [](/forum/4-how-to/902970-hhow-to-customize-product-image-upload-code#334459) | [Hhow to customize Product Image upload code?](/forum/4-how-to/902970-hhow-to-customize-product-image-upload-code#334459 "-- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27 -- PHP version -- : 8.0.7 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : How to add manual code for product image upload?  when the image is uploaded from hikahop product admin I want to upload this image at a custom path instead of the default hikashop image upload path.")        Category: [How to?](/forum/4-how-to "If you didn't find the answer on our documentation neither on existing posts, please ask your question here.")     Topic started 5 years 3 months ago, by [dixit](/forum/user/61778-dixit "View dixit's Profile")       [Last Post](/forum/4-how-to/902970-hhow-to-customize-product-image-upload-code#334524 "Hi,  We do have the event onAfterFileDelete for that. However, looking at the file there, I can see a problem with how we've added it previously. The first parameter is an array of ids, but the entries are already removed from the database by that point. So that won't help. To fix that, you need to change the line:  to:  in the file administrator/components/com&#95;hikashop/classes/file.php That way, in $oldEntries you'll get an array of the files that were just deleted (we'll remove the $type variable since each element of the array has a file&#95;type with its type). We'll include that modification in the next version of HikaShop and we'll also add a onBeforeFileDelete in that same deleteFiles function.") 5 years 3 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:5  Views:1019 | [Last Post](/forum/4-how-to/902970-hhow-to-customize-product-image-upload-code#334524 "Hi,  We do have the event onAfterFileDelete for that. However, looking at the file there, I can see a problem with how we've added it previously. The first parameter is an array of ids, but the entries are already removed from the database by that point. So that won't help. To fix that, you need to change the line:  to:  in the file administrator/components/com&#95;hikashop/classes/file.php That way, in $oldEntries you'll get an array of the files that were just deleted (we'll remove the $type variable since each element of the array has a file&#95;type with its type). We'll include that modification in the next version of HikaShop and we'll also add a onBeforeFileDelete in that same deleteFiles function.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      5 years 3 months ago |

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.051 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
