ember1205 Posted July 27, 2012 Share Posted July 27, 2012 Hi, all. Trying to work out a "Local Pickup" option for a PrestaShop store. The store location has a fixed, known address. In order to calculate shipping costs and tax correctly, I want the customer to be able to choose "Store Pickup" as one of their address choices for delivery address and their home address for billing. In the database, I've created an address entry for the store and I know the ID number of it. What I'd like to do is to pick that as an address choice from the database while the checkout page is being built. Where do I need to be looking in terms of which files to understand how the drop-down for "Choose a delivery address" is being built? Is the OrderController.php file the location where I would need to look? I want the local pickup option for shipping to ONLY be shown if the customer has chosen the store address to ensure that tax is applied correctly. I can make it all work, but I don't want my customers having to specify the address of my store if they want to get the Local Pickup option. It's an unnecessary waste of space in the database to replicate the entry for every single user, so I want to update the DB connect process to ensure that it picks all addresses for the logged in user (based on id_customer value) and ALSO picks the address for the store identified by a known ID number. Can anyone help me out here? Link to comment Share on other sites More sharing options...
ember1205 Posted July 28, 2012 Author Share Posted July 28, 2012 Anyone? Link to comment Share on other sites More sharing options...
ember1205 Posted July 29, 2012 Author Share Posted July 29, 2012 I'm happy to be pointed to the documentation if there's a page or two that will take me through this... I can't find *anything* for it. Link to comment Share on other sites More sharing options...
ember1205 Posted July 31, 2012 Author Share Posted July 31, 2012 Gotta say... pretty disappointed in the COMPLETE lack of support for this product from the developers and the community. it would be one thing if the actual architecture, design, and function of this product were documented, but they aren't. And, it seems that everything that it does for standard rendering and database access if "[spam-filter]" enough that no one knows how to help. I guess I'll have to move on to another product that will probably be a little less refined, but being able to understand how it actually works will allow me to properly extend the features that I need. 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