Knowledgebase:
Adding Images to PowerSearch Search Page
Posted by , Last modified by on 03 September 2015 07:03 AM

Disclaimer: This will work for stores on Miva Version 9.0 or newer. Note that this will require making template changes. Make sure you make sure you are aware of what version was active before any changes are made. These edits are low-risk but if you feel uncomfortable with making these changes then we advise you to seek help from a developer.

 

Objective: These are instructions to add images to the Power Search Search page.

 

Issue(s): I installed the PowerSearch module and configured it now the Search Results page is missing images.

Example: http://puu.sh/jYvlY/cec62e2fab.png

 

Tools: Emporium Plus Toolkit Module

NOTE: The following should work on any Readytheme or non Readytheme site.

Additional styling my be needed to get a column layout on Readythemes.

Instructions:

 

Add the following code to the Product Layout Template in the Power Search admin

Utility Settings > Power Search

<mvt:item name="toolkit" param="customimagec"|main|l.all_settings:product:code|main|150|150|1

<mvt:if expr="NOT ISNULL g.main">

<img src="&mtve:global:main;" alt="&mvt:product:name:" title="&mvte:product:name;"/>

<mvt:else>

<img src="../images/img_no_thumb.jpg" alt="&mvte:product:name;" title="&mvte:product:name;"/>

</mvt:if>

 

The code is also attached.

Keep in mind the code above will only work if the user is using a image type of main.

Otherwise the references to main will need to be change to the image type code. 

 

 



Attachments 
 
 untitled (1).txt (0.46 KB)
(1 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako support.miva.com/supportsuite/index.php?