Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: How to allow a user to download a file using a QR code link  (Read 124 times)

Offline icrashin2000

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
How to allow a user to download a file using a QR code link
« on: August 18, 2021, 02:21:03 PM »
Hi All,

I want to be able to allow a user to scan a QR code and link to a file to download. For example, I want to sell a kit for knitting with the pattern available electronically. However, I only want the holder of the QR code to be able to access that pattern, not just anyone who happens to look at the website. Also, I only want that particular file to be available to the individual, not a page with a load of other patterns on. Does anyone know how I could do this using Abantecart? Many thanks for any help or suggestions.

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4321
  • Karma: +291/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: How to allow a user to download a file using a QR code link
« Reply #1 on: August 19, 2021, 08:11:13 AM »
Sounds like you need to generate unique token/id for your download and encode it to QR code with the link.
This entirely custom process, as I see it, would consist of 2 parts.

1. Backend process or admin that will generate QR code for given customer/download
2. Frontend controller (based on URL in QR code) to validate the token and provide download.

Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

 

Powered by SMFPacks Social Login Mod