ducky77ar Posted November 5, 2017 Share Posted November 5, 2017 hello, Aside from the customer_comments, I need to add an additional field to the checkout page. I created a new table with zip codes and available delivery dates, I wrote a query that looks for the zip code entered at checkout and creates a dropdown list of all available dates and time frames for that specific zip code. Now I'm stuck trying to figure out how to add that new field right before the customer comments field. Any help would be greatly appreciated Thank you! Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 5, 2017 Share Posted November 5, 2017 No problem. We would like to know the skin you are using. Quote Link to comment Share on other sites More sharing options...
ducky77ar Posted November 5, 2017 Author Share Posted November 5, 2017 it's just a clone of foundation with a change css (to change theme colors) I would also need that custom field to show in the order summary and admin area. I handle the table via myphpadmin, i don't need to edit it via admin section Thank you Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 5, 2017 Share Posted November 5, 2017 Do you plan to allow a customer to checkout as a ghost? Or allow shipping to the non-billing address? That is, during checkout, normally, the customer can change the details of the delivery address. Has this been locked down? If the customer changes the delivery details, I think the Foundation skin auto-submits an "Update Basket" command and CubeCart will recalculate all the shipping. Hopefully, your code will also be recalculated. So, ignore the above concern. Quote Link to comment Share on other sites More sharing options...
ducky77ar Posted November 5, 2017 Author Share Posted November 5, 2017 hmmmm no idea. whatever is easier i guess. I read through almost all the php pages contained in cubecart but i could not find where to add that additional field. i believe they are currently allowed to checkout as ghost. And I don't think it will be a problem to disallow shipping to the non billing address. Are you interested in doing that work for me? I don't know how much you charge or if you are even interested in coding something like that, but if you are we can talk Thank you Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 5, 2017 Share Posted November 5, 2017 I added more to my response above. Please refresh the page. We can try to solve this on the forums. If, however, you wish to take this to email, that can be done as well. The template you are looking for is content.checkout.confirm.php near the bottom. Will the added data be a drop-down selector? If so, we can use the country selector code as the basis for the delivery date code. Quote Link to comment Share on other sites More sharing options...
ducky77ar Posted November 5, 2017 Author Share Posted November 5, 2017 Thank you! let me look at that page and see if i can figure it out I'll get back to you in a couple of minutes (or hours) Quote Link to comment Share on other sites More sharing options...
ducky77ar Posted November 5, 2017 Author Share Posted November 5, 2017 I'm lost... I emailed you a request Thank you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.