Orders or downloads view inside a module

  • Posts: 43
  • Thank you received: 5
  • Hikashop Essential
1 week 2 days ago #372688

-- HikaShop version -- : 6.5.0
-- Joomla version -- : 6.1.0
-- PHP version -- : 8.1.2

Hello,

Let's say a customer who is logged in arrives on my home page while connected to the site. When this occurs, the customer must then click on a menu item to access his orders or products.

The problem is, sometimes the customer does not know which menu item to click to access his orders or products.Often they click on the products page which is for users who have not already purchased.

Instead, I would like to publish a module with Registered access only on my homepage that displays simply the user's orders or products.

That way, when a logged-in user arrives on my site's root (i.e. home page), he sees a module that displays his orders or downloads that he can click on to access his purchased products.

Is there a way to do this with the Hikashop content module? Or do I need to create a custom module using the code from the orders view or downloads view files.

Thanks in advance,
Brett

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

  • Posts: 85952
  • Thank you received: 14142
  • MODERATOR
1 week 2 days ago #372691

Hi,

You're talking about customers accessing the product page of the products they already purchased, as well as displaying the downloads.
Rather that an custom module, why not activate the "Purchased file download on product page" setting in the HikaShop configuration page ?
This way, the downloads will be automatically visible on the product page after the purchase. It seems to me that this could be the solution you're looking for.

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

  • Posts: 43
  • Thank you received: 5
  • Hikashop Essential
1 week 2 days ago #372695

Hi,
Thanks for the quick reply.
Unfortunately that's not what I had in mind at all.
I'm talking about displaying a module which is viewable on my home page root (/) not my products page (/products)
This is because sometimes logged-in users visit my home page (/) and I want a quick way for them to access their products.
I've already set most of the home page modules to Guest visibility.
And I have a special menu module viewable to logged in users which is set to Registered visibility.
I was thinking of publishing a Hikashop module on my homepage set to Registered visibility which would display orders or downloads.
Is this possible without coding a custom module?
Thanks
-Brett

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

  • Posts: 85952
  • Thank you received: 14142
  • MODERATOR
1 week 1 day ago #372696

Hi,

In that case, it would require the development of a custom module.
That's also why I was suggesting activating the "Purchased file download on product page" setting since it doesn't cost anything and doesn't involve any development.

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

  • Posts: 43
  • Thank you received: 5
  • Hikashop Essential
1 week 1 day ago #372701

Hi,
Thanks, I see the link now.
Since I use the fullwidth layout, it was at the very bottom of the page, after my (long) product description.
Turning on view files says it's (product/show_block_product_files.php)
Is there an override I can use to move this to the top of the page, above the description? Such as inside the Bottom Extra Data Section.
Thanks in advance,
Brett

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

  • Posts: 85952
  • Thank you received: 14142
  • MODERATOR
1 week 1 day ago #372702

Hi,

Sure. Edit your product / show_fullwidth layout via the menu Display>Views and use the drag & drop interface to move the files area where you want it. Then save and you should be good to go.

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

  • Posts: 278
  • Thank you received: 42
  • Hikamarket Multivendor Hikaserial Subscription Hikashop Business
1 week 13 hours ago #372708

You can create a multiple menu items as:
menu Type > Hikashop > Customer orders
menu Type > Hikashop > Customer download space
And thisplay this menu in a module.
- Your Orders
- Your downloads

The following user(s) said Thank You: nicolas

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

Time to create page: 0.073 seconds
Powered by Kunena Forum