How To Display Item Views Counter For Each Ad Listing On OSCLASS Website

If you used FTP to in attaining the file to edit, upload to a related listing from the place you in attaining, which favor to be: \public_html\oc-content materials\themes\YOURTHEME\item.hypertext preprocessor

five) Save the object.hypertext preprocessor edited

For the sake of this occasion, we shall track item view counter on the products net page the place a single advert listing is taken beneath consideration.

Explanation:
: This is solely a remark

Item regarded as times.
:
Added text "Item regarded as X times, the place X is BOLD

Sponsored Links

Item regarded as times.

Open an item net page out of your net page and also you should in truth be succesful to see the way in which of goods the advert listing has been regarded as.



But this may increasingly track handiest the numbers. So you almost certainly can presumably perchance smartly also add some text and formating as given beneath:

Steps to add item views counter for every frame listing on OSCLASS net page:
1) Login for your webhost and use your file manager to navigate to the osclass placing in folder. If you've FTP entry, you almost certainly can moreover in attaining a duplicate, edit it and upload.
2) Under YOURSITE\oc-content materials\themes detect item.hypertext preprocessor
3) Open the object.hypertext preprocessor to edit
four) Find a applicable vicinity the place you would favor to track the object view depend and paste the code:

The perform we ought to track item view depend is: osc_item_views()
These characteristics are said in ./oc-involves/osclass/helpers/hItems.hypertext preprocessor

If you are the use of OSCLASS for a categorized advert listing net page and contained in the development you favor to track the way in which of times every frame advert listing has been regarded as, there in this post we're going to debate just that. Is it uncomplicated to track item view depend? Depends. But it for sure is also a small feature despite the fact that it would also moreover improve directors anyway friends comprehend how frequent the advert is with relish to others. In this post, we shall see ideas on how to add views counter for every frame listing on OSCLASS net page.

: blanketed a div with a category so that we will be able to add kind it the use of CSS if required
How To Display Item Views Counter For Each Ad Listing On OSCLASS Website

Image source: http://www.mobistealth.com/blog/wp-content/uploads/2012/12/grinch_data_theft.jpg

Labels: Blogging Tips

Thanks for reading How To Display Item Views Counter For Each Ad Listing On OSCLASS Website. Please share...!

0 Comment for "How To Display Item Views Counter For Each Ad Listing On OSCLASS Website"

Back To Top