I need a script developed that would automatically embed product reviews into my html pages. The process to achieve this is described below in more details. (I’m not an expert; this is what I was told by a computer programmer.) PDG refers to the shopping cart and reviews refer to the product reviews to be inserted.
Part A. Script Development
1. Put AJAX (JavaScript) on the template for the PDG page in question. (See attached html)
2. PDG does its thing and produces the page for display in html.
3. As the page loads, the AJAX makes another call to the server, using the php script, to fetch the desired data – in this case the review(s) associated with the product being displayed on the PDG page.
4. The page, rendered by PDG and enhanced with the data fetched by the AJAX call to the PHP script, is displayed in the browser to the end user.
The reviews are to be displayed right below the “Product Reviews” section: http://www.azhearing.com/cgi-bin/shopper.cgi?preadd=action&key=XL50
For a sample of the review insert, please go to http://www.assistech.com/review/review_insert.php?item_id=1
Part B. Customization of Review Insert
The review insert needs to be reformatted as follows:
1) Remove the “Product Description” title and text.
2) Remove the product image.
3) Remove “More Details” text and link.
4) Remove the “View Larger” text and image.
5) Remove the “Report this” link.
6) Remove “Start” link and product category (“Telephones”) link.
7) Remove PHPSESSIONID from all links.
Link email to www.assistech.com/recform.php
9) Configure print function to print the whole page (not just the review).
10) Align review box (on the left) with images (on the right).
** Please keep the review box as well as all the css data intact. **
If you have any questions, please feel free to ask.