ferg Posted October 1, 2010 Share Posted October 1, 2010 Hi there everyoneI am looking to add an extra step into the purchase process of Prestashop, to acheive the following:customer adds item into basket (entry for a race)pop up box appears asking for extra information (that is not relevant to normal customer info) e.g. gender / estiamted swim time for race and a few other fields. clicks Submit & this info goes off to another database table on the customers server and pop up box closes back at Prestashop.Question is, is this available as a module / easily achievable without hacking the main code? I don't want to do it / get someone to do it and then it has to be repeated for each new release or patch.I hope the question is clear (and apologies if it is not - I will try to explain better).Thanks for reading,Ferg Link to comment Share on other sites More sharing options...
rocky Posted October 2, 2010 Share Posted October 2, 2010 Why don't use add the "Gender" as an attribute group with "Male" and "Female" attributes and add the extra fields as product customization text fields? Link to comment Share on other sites More sharing options...
ferg Posted October 4, 2010 Author Share Posted October 4, 2010 RockyThanks for the suggestion.I have tried it and it does indeed add all the info to the order .... however, the reason for trying to add an extra form is that the info added by choosing attributes and adding customization text does not go into the ps_order_detail table in the databases.Why do I want this?Current situation:html forms on website which collect entrant info and submit to database. Run export (to Excel) and have all entrants for that race. Sort into swim time order and then the starting line up is there along with loads of other info (t-shirt size etc).I appreciate that this is maybe not doing what Prestashop was designed to do, I was trying to kill two birds with one stone.Is this something that is impossible do you think? Or is it something that is possible with a bit more info from me?Thanks again for your help.Ferg Link to comment Share on other sites More sharing options...
rocky Posted October 5, 2010 Share Posted October 5, 2010 PrestaShop already stores selected attributes in the ps_order_detail table and it stores the customisation information in the ps_customized_data table. Can't you do a left join of the ps_order_detail able and ps_customized_data table before exporting the data to Excel? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now