Shippable products and virtual products on 1 hikashop without registration

  • Posts: 91
  • Thank you received: 5
7 years 5 hours ago #283138

-- HikaShop version -- : 3.2.1
-- Joomla version -- : 3.8.2
-- PHP version -- : 7.0
-- Browser(s) name and version -- : Chrome latest

Hello,

My customer sells paper books and ebooks via Hikashop. He doesn't want the registration, so it's turned off.
It works fine for paper books, but ebooks cannot be downloaded after purchase, because no login is created for the user.

1) Is it possible to have a direct download link in the email with some authkey so the login is not required for the download?
2) The physicall address is required for paper books. Is it possible to switch it off for ebooks - so that the customer who buys ebooks gives only email address?

Thank you!

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
6 years 11 months ago #283153

Hi,

1. That's already working like that. Emails have a download link with a special token to authorize the download with the customer paid with the guest checkout.
If that's not working for you, then either you have an old version of HikaShop where this was not supported, or you've customized your emails basing yourself on old versions of HikaShop.
So make sure that you are up to date and that you have recent versions of the emails in the System>Emails menu and it should work like you need.

2. Yes. If you set some weight for the product needing shipping and no weight for the others, and that you have the "force shipping regardless of weight" setting deactivated in the HikaShop configuration, it will remove the shipping address for the products without weight and only the billing address will be asked.

The following user(s) said Thank You: bolando, slawop

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

  • Posts: 3
  • Thank you received: 1
6 years 5 months ago #293823

Hi Nicolas :-)

I am trying to do what you wrote in the first point, but it still does not work with me :-(
Look on my webside: www.slawop.net/sklep
When customer buy my ebook paid with the guest checkout, then recived e-mail with download link, but can't download ebook. the system displays the login window. I have latest version Hika Shop 3.4.0 and removed customization of e-mails (System -> Emails).
What should I do to make it work properly?

Regadrs :-)
Slawomir

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
6 years 5 months ago #293874

Hi,

Could you write us a message via our contact form and include in it:
- a link to this thread
- the download link URL that you get in the email notification
- a screenshot of the order details in the backend
www.hikashop.com/support/contact-us.html
That way, we can have a better look at the issue.

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

  • Posts: 3
  • Thank you received: 1
6 years 5 months ago #293960

OK, I've just send a message :-)

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
6 years 5 months ago #293961

Hi,

The problem is not with HikaShop. It's with the menu item with the id 979.
Edit it via the Joomla menu manager and make sure its access is public and the link will work.

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

  • Posts: 3
  • Thank you received: 1
6 years 5 months ago #294020

Hi Nicolas :-)

Oh my god! Thank You very much! <3
Couple months of work!

I hope to repay you by creating an article about Hika Shop on my blog ;-)

Best Regadrs :-)
Slawomir

The following user(s) said Thank You: nicolas

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

  • Posts: 153
  • Thank you received: 7
  • Hikashop Business
6 years 2 months ago #297657

Nicolas,

I am trying to do the same thing. However you neglected to say here what menu item that is that needs to be changed. Please let me know what menu item the download link needs public access to so I can make this work as well.

Thank you.

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
6 years 2 months ago #297659

Hi,

It's not that I neglected it. It depends on how you configured your menu items. I don't know how you did it, so I can't say. I could give the id of the menu item of that other user because I looked at what menu items were used on his website.
In most cases, it's the menu item that is used during the checkout.
If you have a menu item selected in the "force menu on checkout" setting of the HikaShop configuration, then there is a high chance it's this one.
If not, then please provide as an example a download URL of a test guest user with which you have the problem and I should be able to give more precisions.

Last edit: 6 years 2 months ago by nicolas.

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

  • Posts: 153
  • Thank you received: 7
  • Hikashop Business
6 years 2 months ago #297695

I do have a Checkout menu item created, and I have it selected under "Force a menu on the checkout" within the configuration. That menu item is set to public.

However, that is not working for guest purchases when it comes to downloads.

The URL that is generated in the email is:

www.domainname.com/books/order/download/...vanbok@uhms.org.html

I have changed the domain name for security reasons.

Any ideas from this download URL what menu item I need to change? Or do you need access to our site to tell me?

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
6 years 2 months ago #297698

Hi,

The URL is wrong. It's missing the order_token which allows for the download for guests.
That's probably because you had customized the emails via the menu System>Emails with an old version of them back when we didn't had an order_token and didn't allow downloads for guests at all.
So I would recommend to check your emails. Try to remove the customization (the preload I guess) and reapply your changes to the new version of the code.

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

  • Posts: 153
  • Thank you received: 7
  • Hikashop Business
6 years 2 months ago #297964

That was indeed the issue. Once I refreshed the emails it worked perfectly.

Thank you for the help.

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

Time to create page: 0.091 seconds
Powered by Kunena Forum