Search the Knowledgebase |
Browse by Category |
|
|
|
Customizing Product Name and MoreInfo Link in the Updated Product Review Module |
Article Details
Last Updated 1st of October, 2009
|
User Opinions (16 votes) |
68%
31%
|
Thank you for rating this answer.
|
The newest version of our Product Review module allows you to display the product name a link back to the product MoreInfo page (if one is available) on your product reviews page. All that you will need to do is make the following changes to three of your Product Review templates:
Go to Templates in the menu at the top of your Product Review Admin:
1. Select "review/details.html" from the list of templates
-- Click on the "Version Date" link next to the template that has a status of "Enabled"
-- In the editble template, find the line containing the following code:
<p><a href="javascript:history.back(-1)">Back to previous page</a></p>
-- Replace this line with the following code:
<p><a href="{if $product.more_info_url}{$product.more_info_url}">{$product.name|truncate:30:"...":true|escape:"htmlall"}</a>{else}javascript:history.back(-1)">Back to previous page</a>{/if}</p>
-- Click "Submit" to save the changes
2. Select "review/full.html" from the list of templates
-- Click on the "Version Date" link next to the template that has a status of "Enabled"
-- In the editble template, find the line containing the following code:
<p><a href="javascript:history.back(-1)">Back to previous page</a></p>
-- Replace this line with the following code:
<p><a href="{if $product.more_info_url}{$product.more_info_url}">{$product.name|truncate:30:"...":true|escape:"htmlall"}</a>{else}javascript:history.back(-1)">Back to previous page</a>{/if}</p>
-- Click "Submit" to save the changes
3. Select "header/page.html" from the list of templates
-- Click on the "Version Date" link next to the template that has a status of "Enabled"
-- In the editble template, find the line containing the following code:
<title>Product Review</title>
-- Replace this line with the following code:
<title>Product Review {if $prodname} - {$prodname|escape:"htmlall"}{/if}{if $product.name} - {$product.name|escape:"htmlall"}{/if}</title>
-- Click "Submit" to save the changes
|
Attachments |
No attachments were found.
|