[Skip to main content](#vessel-content)

#   Product View Counter in backend product listing !

##

- **[nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")**
- [![nic7071's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/42433-nic7071 "View nic7071's Profile") Topic Author
- [ Offline](/forum/user/42433-nic7071)

Less More

- Posts: 129
- Thank you received: 0
-
-

9 years 2 months ago [\#278357](#278357) by [nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")  *[Product View Counter in backend product listing !](/forum/32-content-creation/891932-product-view-counter-in-backend-product-listing#278357 "i was wondering if i can see the hit or view count of a product in backend product listing just after name or price !")* was created by *[nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")*

i was wondering if i can see the hit or view count of a product in backend product listing just after name or price !

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODkxOTMyLXByb2R1Y3Qtdmlldy1jb3VudGVyLWluLWJhY2tlbmQtcHJvZHVjdC1saXN0aW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 2 months ago [\#278360](#278360) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Product View Counter in backend product listing !](/forum/32-content-creation/891932-product-view-counter-in-backend-product-listing#278360 "i was wondering if i can see the hit or view count of a product in backend product listing just after name or price !")*

Hello,

Yes but it would require a view override for the backend product listing (and a bit of PHP code to display the product_hit value.
[ www.hikashop.com/support/documentation/1...-display.html#layout](https://www.hikashop.com/support/documentation/153-customize-the-display.html#layout)

Regards,

---

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

The following user(s) said Thank You: [nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODkxOTMyLXByb2R1Y3Qtdmlldy1jb3VudGVyLWluLWJhY2tlbmQtcHJvZHVjdC1saXN0aW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")**
- [![nic7071's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/42433-nic7071 "View nic7071's Profile") Topic Author
- [ Offline](/forum/user/42433-nic7071)

Less More

- Posts: 129
- Thank you received: 0
-
-

9 years 2 months ago [\#278572](#278572) by [nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")  Replied by *[nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")* on topic *[Product View Counter in backend product listing !](/forum/32-content-creation/891932-product-view-counter-in-backend-product-listing#278572 "i was wondering if i can see the hit or view count of a product in backend product listing just after name or price !")*

Hi Jerome,
I found out where to insert the code.
but I have no idea of the code that can echo the product hit or view count.

can you tell me if hikashop itself has a code that can echo the hit or view count of a product into backend?
if not can you get me a clue of where to begin to achieve these!

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODkxOTMyLXByb2R1Y3Qtdmlldy1jb3VudGVyLWluLWJhY2tlbmQtcHJvZHVjdC1saXN0aW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

9 years 2 months ago [\#278638](#278638) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product View Counter in backend product listing !](/forum/32-content-creation/891932-product-view-counter-in-backend-product-listing#278638 "i was wondering if i can see the hit or view count of a product in backend product listing just after name or price !")*

Hi,

It's really simple. On the products listing view file code, next to the display of the product name, you can for example add:
&lt;?php echo $row-&gt;product_hit; ?&gt;

The following user(s) said Thank You: [nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODkxOTMyLXByb2R1Y3Qtdmlldy1jb3VudGVyLWluLWJhY2tlbmQtcHJvZHVjdC1saXN0aW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")**
- [![nic7071's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/42433-nic7071 "View nic7071's Profile") Topic Author
- [ Offline](/forum/user/42433-nic7071)

Less More

- Posts: 129
- Thank you received: 0
-
-

9 years 1 month ago [\#279133](#279133) by [nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")  Replied by *[nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")* on topic *[Product View Counter in backend product listing !](/forum/32-content-creation/891932-product-view-counter-in-backend-product-listing#279133 "i was wondering if i can see the hit or view count of a product in backend product listing just after name or price !")*

Thanks,
is there any way i can sort all product by hit count ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODkxOTMyLXByb2R1Y3Qtdmlldy1jb3VudGVyLWluLWJhY2tlbmQtcHJvZHVjdC1saXN0aW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

9 years 1 month ago [\#279136](#279136) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Product View Counter in backend product listing !](/forum/32-content-creation/891932-product-view-counter-in-backend-product-listing#279136 "i was wondering if i can see the hit or view count of a product in backend product listing just after name or price !")*

Hello,

If you want to do it through your front-end product listing, you'll just have to set the "Ordering field" option to "product_hit" through your product listing content menu/module configuration page. Else, if you want to change your back-end product listing, some code customization will probably be required.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODkxOTMyLXByb2R1Y3Qtdmlldy1jb3VudGVyLWluLWJhY2tlbmQtcHJvZHVjdC1saXN0aW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.054 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
