Check if product has been purchased

  • Posts: 5
  • Thank you received: 0
11 years 9 months ago #123691

On the product page, I would like to check if the current product has already been purchased by the current user. If it has been purchased I would like to display some extra HTML. Is this possible? I can do this via php in the template override, but if someone can give me some code to point me in the right direction, that would be very helpful.

Is there an existing function or do i need to use sql?

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

  • Posts: 26253
  • Thank you received: 4040
  • MODERATOR
11 years 9 months ago #123765

Hi,

You need to use SQL for that.
There are similar requests in HikaShop, like for downloads.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: piggyslasher

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

Time to create page: 0.058 seconds
Powered by Kunena Forum