I have a photographer client who would like to sell his work. The goal is to have a 'product' (photo) and someone would be able to: a) purchase a print in 1 of 2 sizes, and b) purchase a digital file of the photo. They could order a, or b, or a + b. Would that be possible all from the same product?
Thanks
For file hosting service: you can send large file to customer email.
View all extensions | Request custom work | Pricing | Contact Me
model
Check if customer purchased downloadable product
controller checkout success
Redirect the customer to download the digital file
View all extensions | Request custom work | Pricing | Contact Me
It could be a product with 2 options and the download could be available whichever was purchased.CJC wrote: ↑Sat Jul 22, 2023 1:19 amI have a photographer client who would like to sell his work. The goal is to have a 'product' (photo) and someone would be able to: a) purchase a print in 1 of 2 sizes, and b) purchase a digital file of the photo. They could order a, or b, or a + b. Would that be possible all from the same product?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Hi Paul,paulfeakins wrote: ↑Tue Jul 25, 2023 10:00 pmIt could be a product with 2 options and the download could be available whichever was purchased.CJC wrote: ↑Sat Jul 22, 2023 1:19 amI have a photographer client who would like to sell his work. The goal is to have a 'product' (photo) and someone would be able to: a) purchase a print in 1 of 2 sizes, and b) purchase a digital file of the photo. They could order a, or b, or a + b. Would that be possible all from the same product?
I'm not sure I understand exactly. Say a have Photo XYZ as a product. I create an option called Print Size and configure it as a checkbox with 2 entries (5x7 and 8x10). But where does the download option come into play? I know I can add a downloadable file link on the Links tab, but then that would always apply to the product.
Correct.
I believe you can add a download to a product? There's a "downloadable" option somewhere in the product edit?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Yes, the "Downloads" field is under the Links tab. The problem is that if the download is always a part of the product. That means if someone orders a 5x7 print, they will get the option to download a file as well. I'm trying to figure out a way to make the 3 things (5x7, 8x10, and downloadable file) all separate options for the same product.paulfeakins wrote: ↑Mon Jul 31, 2023 8:04 pmCorrect.
I believe you can add a download to a product? There's a "downloadable" option somewhere in the product edit?
So you are looking for option-specific downloads? We did something like that in the past, see for example this one here. I just haven't had a chance yet to port it to OpenCart 3 and 4.CJC wrote: ↑Tue Aug 01, 2023 4:31 amYes, the "Downloads" field is under the Links tab. The problem is that if the download is always a part of the product. That means if someone orders a 5x7 print, they will get the option to download a file as well. I'm trying to figure out a way to make the 3 things (5x7, 8x10, and downloadable file) all separate options for the same product.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
I don't know if I'd consider it option specific downloads, but more of a download as a product option. Maybe this is a better example: the product is a software application. The customer can purchase a CD, a USB drive, or a download of the app. The first 2 options obviously require shipping, but the download option should be available as soon as payment is made.JNeuhoff wrote: ↑Tue Aug 01, 2023 4:58 pmSo you are looking for option-specific downloads? We did something like that in the past, see for example this one here. I just haven't had a chance yet to port it to OpenCart 3 and 4.CJC wrote: ↑Tue Aug 01, 2023 4:31 amYes, the "Downloads" field is under the Links tab. The problem is that if the download is always a part of the product. That means if someone orders a 5x7 print, they will get the option to download a file as well. I'm trying to figure out a way to make the 3 things (5x7, 8x10, and downloadable file) all separate options for the same product.
1. add a new column download_link to the oc_product table
2. if product option contains "digital" word
3. Modify the checkout success view to display the download link
View all extensions | Request custom work | Pricing | Contact Me
Please take note that adding extension fields on core tables could affect the upgrades.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: Amazon [Bot], Majestic-12 [Bot], muko34 and 21 guests