Jump to content

Is this possible?


Recommended Posts

Hello all,

 

I set up my first PrestaShop system a few hours ago on a test subdomain. Everything's gone smoothly thus far - I've got a theme set up, and reduced the shop to barebones ready for everything to be uploaded and added etc.

 

But there's something I've hit a brick wall with. I was originally planning to remove all requirement for any kind of address for my customers, but decided against it. Now, what I would like to do is make entering addresses optional, except for when a customer BUYS an item (there will be free downloads on the site), when they will have to enter an address which will be attached to their account as normal. I have seen various modifications to all kinds of things in PrestaShop. While I don't have much knowledge of PrestaShop or .PHP, I'm willing and a quick learner. I would appreciate any help you might be able to give me.

 

 

Thanks in advance,

 

James Littlewood

Proprietor

JLD Modern Media Depot

Link to comment
Share on other sites

Some payment modules will fail if there is no full address (paypal using the API is one example), or if it is not accurate.

This may become an issue if someone goes for a free download and then buys an item.

 

If you decide to still go this route, the easiest way would be to simply populate the address fields with pseudo data when the cart has only free products, you would then be able to hide all the address fields (add display:none to them) and will not require any core file changes.

Link to comment
Share on other sites

Thanks for your responses.

 

tomerg3, I'm not sure that I have tried to convey my idea quite correctly, sorry.

 

Basically, my site will be offering both free and payware products. What I would like to do is change my shop so that no address details are required in registration, but are still optional with the form stating that you only need to fill in an address if you plan to buy one of the payware products, etc. Then, if a customer goes to buy a product but has no address, the system prompts them to fill in their address details before they checkout.

 

 

Thanks.

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...