Jump to content

Can I build a module / flow like this?


Brazzan

Recommended Posts

Would it be fairly easy to build a module in presta that works like this. And would it be possible to make it fairly protected from future updates of the platform?

 

First create a new column in the order table (ex. file_id). Then create a separate table (ex. file_attach). When a customer buys a certain product, that also demands a file upload before the order is complete, the file is saved on the server, and it's path and some file information is saved in the table file_attach. 

 

Then we save the id of that row in file_id in the order table. In back end, there is a module with different funktions for handling what's in the table file_attach table. The module is also accessable from the order module with a custom link of some sort, that leads you to the custom module.

 

I hope you understand.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...