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

#   same file, more than one product

##

- **[cpreen](/forum/user/604-cpreen "View cpreen's Profile")**
- [![cpreen's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/604-cpreen "View cpreen's Profile") Topic Author
- [ Offline](/forum/user/604-cpreen)

Less More

- Posts: 98
- Thank you received: 3
-
-

15 years 7 months ago [\#12635](#12635) by [cpreen](/forum/user/604-cpreen "View cpreen's Profile")  *[same file, more than one product](/forum/4-how-to/12635-same-file-more-than-one-product#12635 "Hi Nicolas,  I have a situation where I sell a software downloadable that I developed either standalone or as bundles with other software. These are separate products in my shop and the pricing for the bundle is less than buying the parts separately.  Problem comes when I add the downloadable file to the products. Each time it gets uploaded with a different filename, when what I actually want is all these products to point to the same filename. Reason why? Because I develop my software constantly and I don't want to have to update several different files each time I fix a bug.  When I looked in your tables I see that the files have a field that points to the product id not the other way around.  Conrad")* was created by *[cpreen](/forum/user/604-cpreen "View cpreen's Profile")*

Hi Nicolas,

I have a situation where I sell a software downloadable that I developed either standalone or as bundles with other software. These are separate products in my shop and the pricing for the bundle is less than buying the parts separately.

Problem comes when I add the downloadable file to the products. Each time it gets uploaded with a different filename, when what I actually want is all these products to point to the same filename. Reason why? Because I develop my software constantly and I don't want to have to update several different files each time I fix a bug.

When I looked in your tables I see that the files have a field that points to the product id not the other way around.

Conrad

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzEyNjM1LXNhbWUtZmlsZS1tb3JlLXRoYW4tb25lLXByb2R1Y3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 7 months ago [\#12639](#12639) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: same file, more than one product](/forum/4-how-to/12635-same-file-more-than-one-product#12639 "Hi Nicolas,  I have a situation where I sell a software downloadable that I developed either standalone or as bundles with other software. These are separate products in my shop and the pricing for the bundle is less than buying the parts separately.  Problem comes when I add the downloadable file to the products. Each time it gets uploaded with a different filename, when what I actually want is all these products to point to the same filename. Reason why? Because I develop my software constantly and I don't want to have to update several different files each time I fix a bug.  When I looked in your tables I see that the files have a field that points to the product id not the other way around.  Conrad")*

Indeed. If you want to do that, the only solution will be to upload your files via the interface and then edit the records in the hikashop_files table so that all the file entries point to the same file. Then, they will all use the same file.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzEyNjM1LXNhbWUtZmlsZS1tb3JlLXRoYW4tb25lLXByb2R1Y3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[cpreen](/forum/user/604-cpreen "View cpreen's Profile")**
- [![cpreen's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/604-cpreen "View cpreen's Profile") Topic Author
- [ Offline](/forum/user/604-cpreen)

Less More

- Posts: 98
- Thank you received: 3
-
-

15 years 7 months ago [\#12680](#12680) by [cpreen](/forum/user/604-cpreen "View cpreen's Profile")  Replied by *[cpreen](/forum/user/604-cpreen "View cpreen's Profile")* on topic *[Re: same file, more than one product](/forum/4-how-to/12635-same-file-more-than-one-product#12680 "Hi Nicolas,  I have a situation where I sell a software downloadable that I developed either standalone or as bundles with other software. These are separate products in my shop and the pricing for the bundle is less than buying the parts separately.  Problem comes when I add the downloadable file to the products. Each time it gets uploaded with a different filename, when what I actually want is all these products to point to the same filename. Reason why? Because I develop my software constantly and I don't want to have to update several different files each time I fix a bug.  When I looked in your tables I see that the files have a field that points to the product id not the other way around.  Conrad")*

Hi Nicolas,

Yes I did that. Of course poking around using PHPmyAdmin is decidely sub-optimal. How about adding a 'browse existing files' button and an 'upload new file' button in the product file edit dialog?

This would also be useful for some icons that get used in more than one place. Right now there's a gradual bloat of duplicated media.

Conrad

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzEyNjM1LXNhbWUtZmlsZS1tb3JlLXRoYW4tb25lLXByb2R1Y3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 7 months ago [\#12683](#12683) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: same file, more than one product](/forum/4-how-to/12635-same-file-more-than-one-product#12683 "Hi Nicolas,  I have a situation where I sell a software downloadable that I developed either standalone or as bundles with other software. These are separate products in my shop and the pricing for the bundle is less than buying the parts separately.  Problem comes when I add the downloadable file to the products. Each time it gets uploaded with a different filename, when what I actually want is all these products to point to the same filename. Reason why? Because I develop my software constantly and I don't want to have to update several different files each time I fix a bug.  When I looked in your tables I see that the files have a field that points to the product id not the other way around.  Conrad")*

Yes, that's in the todo list but we didn't had the time to look at it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzEyNjM1LXNhbWUtZmlsZS1tb3JlLXRoYW4tb25lLXByb2R1Y3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

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

Time to create page: 0.057 seconds

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