Check if a product has been downloaded

  • Posts: 105
  • Thank you received: 6
  • Hikashop Business
8 years 11 months ago #222322

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5

Hello.

Occasionally some users email me and say that they did not receive the email with the download link.
I'd like to improve my customer service and be able to check if a product has been downloaded or not.
If it has not been downloaded I will contact the buyer to cross-check that he has received the D/L link.

So, my question is: is there a way to know if a digital product has been downloaded by the customer?

Thanks
Panos

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 11 months ago #222330

Hi,

HikaShop provides an "email log" plugin.
There is also a download counter when you look at the order details in the backend.

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.

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

  • Posts: 105
  • Thank you received: 6
  • Hikashop Business
8 years 11 months ago #222380

Hi Jerome.

I've checked the order details but I don't seem to find a download counter anywhere:

I am selecting Hikashop > Orders from the menu.
Then I am clicking on the order number to open the order details.

I can't see a download counter there. I may be looking at the wrong place.
I've also exported the orders in a CSV which I opened in Excel. I didn't find anything there either.

<Edit>: I also checked the list of Hikashop plugins. There is no "email log" plugin there.
The email history doesn't track the # of downloads.

Last edit: 8 years 11 months ago by panefs.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 11 months ago #222385

Hi,

You have to look again your order details.
The download counter is in that page.
www.hikashop.com/support/documentation/i...order-form.html#list

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.

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

  • Posts: 105
  • Thank you received: 6
  • Hikashop Business
8 years 11 months ago #222598

Jerome, unless I am missing something, I am afraid that this solution doesn't work.

The number of downloads shows up ONLY when the number of downloads is not infinite.
In that case the order details page shows how many downloads are left.

But if there is no limit in the number of downloads, the order details page doesn't help.
Is there anything else I can do to get this information?

thanks
Panos

Last edit: 8 years 11 months ago by panefs.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 11 months ago #222645

Hi,

Oh, I see.
So the best would be to perform a view override for "backend | your backend template | order | show_products"
And replace

	if(!empty($download_number_limit)){
		if($download_number_limit<=$file->download_number){
			$fileHtml .= ' / <b>'.JText::_('MAX_REACHED_NO_DOWNLOAD').'</b>';
		}else{
			$fileHtml .= ' / '.JText::sprintf('X_DOWNLOADS_LEFT',$download_number_limit - $file->download_number);
		}
		if($file->download_number){
			$fileHtml .= '<a href="'.hikashop_completeLink('file&task=resetdownload&file_id='.$file->file_id.'&order_id='.$this->order->order_id.'&'.hikashop_getFormToken().'=1&return='.urlencode(base64_encode(hikashop_completeLink('order&task=edit&cid='.$this->order->order_id,false,true)))).'"><img src="'.HIKASHOP_IMAGES.'delete.png" alt="'.JText::_('HIKA_DELETE').'" /></a>';
		}
	}			
By
	if(!empty($download_number_limit)){
		if($download_number_limit<=$file->download_number){
			$fileHtml .= ' / <b>'.JText::_('MAX_REACHED_NO_DOWNLOAD').'</b>';
		}else{
			$fileHtml .= ' / '.JText::sprintf('X_DOWNLOADS_LEFT',$download_number_limit - $file->download_number);
		}
		if($file->download_number){
			$fileHtml .= '<a href="'.hikashop_completeLink('file&task=resetdownload&file_id='.$file->file_id.'&order_id='.$this->order->order_id.'&'.hikashop_getFormToken().'=1&return='.urlencode(base64_encode(hikashop_completeLink('order&task=edit&cid='.$this->order->order_id,false,true)))).'"><img src="'.HIKASHOP_IMAGES.'delete.png" alt="'.JText::_('HIKA_DELETE').'" /></a>';
		}
	} else {
		$fileHtml .= ' / ' . JText::sprintf('X_DOWNLOADS_MADE', $file->download_number);
	}
And then you can add a new translation
X_DOWNLOADS_MADE="%d 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: panefs

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

  • Posts: 105
  • Thank you received: 6
  • Hikashop Business
8 years 11 months ago #222800

Perfect!
Merci, that did the trick.

Panos

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

  • Posts: 410
  • Thank you received: 9
  • Hikaserial Subscription Hikashop Business
4 years 11 months ago #313966

Hello,
Question about this topic.
I like to know how i can get a overview for the admin of the shop to get a list of users(customers) and then see how many ofeach product they bought products is downloaded. in a simple view like this:

customername|product|x times downloaded[/td}
Piet|e-book production 1|10 times downloaded
Like the download area for the customer itselfs but need an overview for admin of all customers..
Hope you can help

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
4 years 11 months ago #313967

Hi,

There is no such interface in the backend and no easy way to get something like that using reports or mass actions as the data of the number of downloads is stored in a table not supported by either systems.
I'm afraid the only solution would be to develop the interface.

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

Time to create page: 0.077 seconds
Powered by Kunena Forum