I need several PHP features applied to my website that I cannot do myself!
1) Latest viewed pages
At the bottom of all pages, I have a piece of code which keeps track of the last 3 products an individual web site visitor has looked at.
However, this although this code is only meant to track which "product pages" a user has visited, it currently shows ALL pages. It is a fairly small job, but I just don’t know how to do it myself! I have all the pages I want this code to apply to in a table on their own, so hopefully this would be straightforward. I also require styling to be added to the information shown using my CSS
2) “You may also be interested in….” feature
I require some code to be produced which will show, at the bottom of certain pages, related products to what the visitor is looking at. For example, if a visitor is looking at the details of a TV, I would like 3 other randomly generated TV products to appear in a row at the bottom of the page with an image and information on each. (I will provide this)
I would like this set out in the same format as the last viewed pages section.
3) Review section
I would like visitors to my site to be able to rate a product they have bought or tested.
The best way to describe what I want is a small pop up form with a link to it on each product detail page.
The reviewer should be able to mark the item out of 5 stars (I have the images for 1-5 stars, and if this could be made into a roll over, where by the amount of blue stars changes as the mouse is moved, that would be excellent.)
Below this there should be a text box for the reviewer’s name and below this a larger box for their review.
If you could make all fields compulsory that would be good.
The form should be designed in such a way that means the reviewer does not have to say what product the review is for. Once the text areas have been filled in, it should be sent to my email address with the subject something like ”review for Sony TV”, so I know what it is. (This subject should be automatically generated.)
When I receive the email, I will need to know the mark out of 5 they gave, their name and their review.
4) Search listings
When there are more than 10 items to display in the returned results or when a category is selected from the left of the page, currently the following buttons appear: first | previous | next | last which allows the user to navigate between pages.
Can this be changed so it displays the number of pages instead and these are links. Ebay currently has this at the bottom of their returned searches.
For example: 1 | 2 | 3 | 4 | 5 etc.. (and these are all links to the different pages)
5) Sortable table
The table which returns search results on my site and which displays products from each category, is a sortable table.
It is made using Java. However, as price is one of the columns which can be sorted, it would be helpful if results were displayed in the right order. At the moment, the table recognizes $400 as more than $1000 because it sees the first number as being higher. Therefore the true results are not shown in order.
One other thing I have had to do is inset a “tb_ratingno” in the ratings column besides the image of stars. This is because I cannot apply an alt tag (or something similar) so that the code can distinguish which product has a higher rating.
Is there something that can be done so that the tb_ratingno” isn’t needed and only the “tb_rating” is required?
I understand you may not work in Java and therefore may not be able to help with this. However, if the programmer wants to change this table so it is PHP generated, that is fine.