- Posts: 138
- Thank you received: 4
show count download files and hit in frontend
11 years 1 week ago #214521
by aminweb
Joomla Developer | am.ebrahimzadeh[at]gmail.com
show count download files and hit in frontend was created by aminweb
-- Joomla version -- : 3
-- PHP version -- : 5.4
hi
i want show count download files (for e.x: count downladed:12) and show hit(for e.x: hits:57)
in product detail page in frontend
please help me
-- PHP version -- : 5.4
hi
i want show count download files (for e.x: count downladed:12) and show hit(for e.x: hits:57)
in product detail page in frontend
please help me
Joomla Developer | am.ebrahimzadeh[at]gmail.com
Please Log in or Create an account to join the conversation.
11 years 1 week ago #214530
by nicolas
Replied by nicolas on topic show count download files and hit in frontend
Hi,
The count of the number of downloads is not already calculated. So it would require running a complex MySQL query to do the sum based on the orders and then display it. If you're not a developer, you'll want one to help you with that.
The number of hits is however already available, so you can easily display it by simply adding such code in the file "show_default" via the menu Display>Views:
The count of the number of downloads is not already calculated. So it would require running a complex MySQL query to do the sum based on the orders and then display it. If you're not a developer, you'll want one to help you with that.
The number of hits is however already available, so you can easily display it by simply adding such code in the file "show_default" via the menu Display>Views:
Code:
<?php echo $this->element->product_hit; ?>
The following user(s) said Thank You: aminweb
Please Log in or Create an account to join the conversation.
11 years 1 week ago #214672
by aminweb
Joomla Developer | am.ebrahimzadeh[at]gmail.com
Replied by aminweb on topic show count download files and hit in frontend
very thnx nicolas,
how displayed count orders?insteat of count download
how displayed count orders?insteat of count download
Joomla Developer | am.ebrahimzadeh[at]gmail.com
Please Log in or Create an account to join the conversation.
11 years 1 week ago #214692
by Jerome
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.
Replied by Jerome on topic show count download files and hit in frontend
Hi,
"product_sales"
Regards,
"product_sales"
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: aminweb
Please Log in or Create an account to join the conversation.
10 years 1 month ago #247896
by Abdelmadjid
Replied by Abdelmadjid on topic show count download files and hit in frontend
Hello,
I have the same problem, I want to see statistics for click and display of each product in the public part, and I do not know where I should put the code in any line.
thanks in advance
I have the same problem, I want to see statistics for click and display of each product in the public part, and I do not know where I should put the code in any line.
thanks in advance
Please Log in or Create an account to join the conversation.
10 years 1 week ago #250225
by Jerome
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.
Replied by Jerome on topic show count download files and hit in frontend
Hi,
Sorry for the delay, your unapproved message wasn't visible in our ticket system.
You will find details in the Nicolas' message for the line you can use to display the "product hit".
The where is also explained by Nicolas
www.hikashop.com/support/documentation/1...-display.html#layout
Regards,
Sorry for the delay, your unapproved message wasn't visible in our ticket system.
You will find details in the Nicolas' message for the line you can use to display the "product hit".
The where is also explained by Nicolas
For more details about view override, you can check that documentation page :The number of hits is however already available, so you can easily display it by simply adding such code in the file "show_default" via the menu Display>Views:
www.hikashop.com/support/documentation/1...-display.html#layout
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.
Time to create page: 0.200 seconds