Guest checkout with product download

  • Posts: 7
  • Thank you received: 0
  • Hikashop Business
3 weeks 3 days ago #361186

-- url of the page with the problem -- : believer.com/book-store
-- HikaShop version -- : 5.0.4
-- Joomla version -- : 4.4.4
-- PHP version -- : 8.2.18

Hello,
My question is, how does one go about making an easy checkout where if the only products selected are downloads and the customer type is Guest then only their email is required, but if a shippable product is selected, then an address is required? It seems no matter what I try, unless the address is part of the Checkout Workflow, there is an error stating that the shipping information is incomplete. If the address is in Workflow, then it is required for all registrations. The current Workflow is: Cart, Login, Address, Shipping, Terms and Conditions, Payment, Final Instructions Text and End. Is there a clear example of what I need that is working or a way to add a conditional branch in the Workflow?

Thank you for your time,
marc

Please Log in or Create an account to join the conversation.

  • Posts: 81851
  • Thank you received: 13138
  • MODERATOR
3 weeks 2 days ago #361189

Hi,

First, you want to make sure that the "force shipping regardless of weight" setting is turned off in the HikaShop configuration.
Then, in your products, enter a weight for the products to be shipped, and no weight for the downloadable products.
During the checkout, HikaShop will automatically skip the shipping method selection and remove the "shipping address" area if there are only downloadable products in the cart.
Note that you'll still have to provide a billing address.
Also, it is usually necessary to get the billing address of the customer so that you can charge the correct amount of taxes (it might be a legal requirement in your country, so please make sure you check on this, before removing the billing address).
If you don't want to ask for a billing address you can edit the address fields via the menu Display>Custom fields, and set their "type" to "shipping address". That way, HikaShop will only request the shipping address and not the billing address.
You might also want to turn off the "ask address during registration" setting in the Hikashop configuration.

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
  • Hikashop Business
3 weeks 1 day ago #361215

Hello Nicolas,
Thank you for the quick reply. The settings you recommended are as we have HikaShop set and it does not ask for a shipping address on our downloads. We do not charge for the downloads, and we do not charge sales tax, so we would like not to require the billing address of Guests who want the free download products only. If we edit the address fields via the menu Display>Custom fields and set their "type" to "shipping address," will the system still ask for address information if they chose a shippable product with a cost? If so, and their shipping and billing addresses are different, will that still work, or how do we make it work?

Thank you again for your time,
marc

Please Log in or Create an account to join the conversation.

  • Posts: 81851
  • Thank you received: 13138
  • MODERATOR
3 weeks 1 day ago #361216

Hi,

Yes, the shipping address will be asked if a shippable product is in the cart.

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
  • Hikashop Business
3 weeks 1 day ago #361218

Hi,
Thanks again for answering so quickly. Just to be clear, if I set all the Custom Fields listed under "Address" to "Type" to "Shipping address" in the "Restrictions" Box and the Guest has one address for Billing and a different address for Shipping and the Guest adds a product to be shipped HikaShop will still allow both addresses to be added when it displays the shipping address because of the Different Address Checkbox? And if this is true, then is it optional to turn off the "ask address during registration" setting in the Hikashop configuration because what if they are Registered but never input that information?

Please Log in or Create an account to join the conversation.

  • Posts: 81851
  • Thank you received: 13138
  • MODERATOR
3 weeks 1 day ago #361220

Hi,

If you set the address fields' type to "shipping address", then users won't be able to enter a billing address. They will only be asked to provide a shipping address during the checkout, if that's necessary.

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
  • Hikashop Business
3 weeks 1 day ago #361224

Hello,
Unfortunately, we are back to my original problem. Here is the scenario: The Guest user is directed by our promotional media to come to our website for a free product download. Being a Guest and being it is their first encounter with us, this Guest is not prone to want to offer up what they may consider as sensitive data (their billing address). They just want the free gift they were promised.

If they later decide they want to buy a product that has to be shipped, HikaShop, of course, then needs their address, but they, like many of us who live in rural areas, have a shipping address that is different from their billing address, and now HikaShop has no way to collect the product price and deliver the product. This is a real problem in that there is no conditional branching in the WorkFlow, and/or there is no way to set up a second WorkFlow for the Guest who only wants the free gift. Registered users will want to enter their data once billing and shipping or indicate the addresses are the same for both.

I spent years using and offering our products through Zencart, which handles all of these options easily and is offered free from its author, but it does not combine single seamless registration with Joomla (it is not a Joomla Extension). We now face the same situation in effect with HikaShop because the Guest is one WorkFlow and the Registered User is another or at least a conditional branch. If we were to point our advertising media to a free product page, we would lose touch with our customers unless we write code to collect their data outside of HikaShop, and once again, the user experience would suffer.

How can we accomplish this basic task using your product? Most successful stores use free gifts to attract new patrons who we hope will become loyal, long-term customers.

Please advise,
marc

Please Log in or Create an account to join the conversation.

  • Posts: 81851
  • Thank you received: 13138
  • MODERATOR
2 weeks 6 days ago #361246

Hi,

I don't understand what the problem is with what I said.
If you set HikaShop as I told you here is how the workflow will be:
The guest user arrives on your website, add the download product to the cart, goes to the checkout, enters his email address and a password, click on finish, is redirected to the payment gateway and pays. Then, he is redirected back to the thank you page, with a link to the order details page, with a download link.
Now, suppose that this same user comes back to purchase a shippable good. He goes to the product page, clicks on add to cart, goes to the checkout, logs in with the account he already has. HikaShop asks him his shipping address and he fills in the fields. Then, he clicks on finish, is redirected to the payment gateway and pays. Then, he is redirected back to the thank you page.

So as far as I understand, it works like you want. When applying the solution I talked about in my previous messages, did you had an issue with this ?

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
  • Hikashop Business
2 weeks 5 days ago #361251

Hello again,
You said, "If you don't want to ask for a billing address, you can edit the address fields via the menu Display>Custom fields and set their "type" to "shipping address." That way, HikaShop will only request the shipping address and not the billing address." Then you said, "If you set the address fields' type to "shipping address", then users won't be able to enter a billing address. They will only be asked to provide a shipping address during the checkout if that's necessary."

I said, "Registered users will want to enter their data once billing and shipping or indicate the addresses are the same for both."

Please provide a WorkFlow and appropriate settings so this will work for both Guest and Registered users if they have one address or both Billing and Shipping. I just don't understand how to set this up based on your statement: "If you set the address fields' type to "shipping address," then users won't be able to enter a billing address."

Thank you for your time,
marc

Please Log in or Create an account to join the conversation.

  • Posts: 81851
  • Thank you received: 13138
  • MODERATOR
2 weeks 5 days ago #361252

Hi,

"Registered users will want to enter their data once billing and shipping or indicate the addresses are the same for both."
-> Well no. If you do what I explained before, there won't be a billling address to be filled. Either they will fill the shipping address, or nothing based on the situation. So they should not want to indicate the address is the same for both as there will either be one or zero address to be filled, not two.

I believe I already explained 4 days ago what to do:

If you don't want to ask for a billing address you can edit the address fields via the menu Display>Custom fields, and set their "type" to "shipping address". That way, HikaShop will only request the shipping address and not the billing address.
You might also want to turn off the "ask address during registration" setting in the Hikashop configuration.

Is something not clear with these instructions ?

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
  • Hikashop Business
2 weeks 4 days ago #361311

Hello,
So there is really no way to satisfy both conditions? This would be a needed feature.

What if I turned off the required fields for the Billing Address and added a text message to the WorkFlow explaining that the Billing Address is optional for Guests? Would that work, or would the system error with a blank Billing Address?

Please Log in or Create an account to join the conversation.

  • Posts: 81851
  • Thank you received: 13138
  • MODERATOR
2 weeks 3 days ago #361312

Hi,

What both conditions ?
Having no address for donwloads AND a shipping address for shippable goods ?
The instructions I wrote will allow you to do that.
I already told you that the instructions I wrote will allow you to do what you want. I don't understand why you're talking about adding a new feature.

You could also turn off the required option of the custom address fields, restrict the fields to the "billing" type, create new address fields restricted to the shipping address with the required option turned on. But that's more convoluted.
I would rather recommend to just set the default fields to the shipping address type and turn off the "ask address during registration" setting, like I said from the beginning. This will allow you to do what you want as far as I understand.

Please Log in or Create an account to join the conversation.

Time to create page: 0.072 seconds
Powered by Kunena Forum