Announcement

Collapse
No announcement yet.

Hot to add 'Code' field to Search Results

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hot to add 'Code' field to Search Results

    Production Release 7 Update 10
    Miva Merchant Engine v5.06
    Database API: mysql


    When we search the store for an item and get a hit, the search results displays Product Name, Price, Availability.

    We would like to add the Miva 'Code' (this is our part number) to the displayed search results.

    I looked at the SRCH page and see that I can adjust the message for when there are no matches:

    No products matched your search criteria

    So I think I am looking in the right place.

    We have Emporium Plus and Sebenza, but are not exploiting their features.

    It looks like when there is a match, Miva displays this item:

    Code:
    mvt:item name="product_list"
    When there is a hit, there are three columns: Product Name, Price, Availability.

    I would like to add the Code as a fourth display column on the search results page.

    Where is this product_list item, can it be modified to add the extra column of information (the Code field), how to do it and would there be any consequences in other pages (why would this not be a good idea)?

    I just want to display the Code field in the search results.
    Last edited by joseibarra; 05-26-11, 12:10 PM.

    #2
    Re: Hot to add 'Code' field to Search Results

    Click the tab at the top of the SRCH page template screen for search results product layout.
    Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
    Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
    Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
    Facebook http://www.facebook.com/EmporiumPlus
    Twitter http://twitter.com/emporiumplus

    Comment


      #3
      Re: Hot to add 'Code' field to Search Results

      If you're using "Point and Click" mode you can easily check the box next to Code and you should be good to go. If not, let me know and I'll walk you through it.
      Korey McWilliams
      Project Director
      _____________________________
      korey usbones dot com
      http://usbones.com

      Comment


        #4
        Re: Hot to add 'Code' field to Search Results

        TH SRCH Page Template was the place.

        I looked at the SRCH Page Template and could not quite understand how it was getting the stuff to display via the style sheets and chould not get it to behave as I wanted. floatleft, floatright, first finding and then trying to figure out the .CSS files...

        I switched to Point-and-Click mode and that changed things to a table and I can relate better to a table at this point in my HTML knowledge.

        That table still didn't quite work/look right, but I was able to make it appear acceptable in the display with some adjusting.

        I was thinking tables were passe and CSS was preferred and would rather do things the "right" way, but I don't understand it.

        The bad part is, I lost the fancy header row that shows up in the non Point-and-Click mode and it is just a boring "header" so it is a little boring, but maybe I can recreate and restore that look with some practice, but it would still be using a table since that is all I know how to do.

        If there is some kind of good GUI editor that will help with these things and .CSS I would like to know about it since there are other things (like Related Items) where I also want to add the Part number column.

        If somebody knows the code to use the other method to add the column, I would like to see it.

        Thanks for the directions.

        Comment


          #5
          Re: Hot to add 'Code' field to Search Results

          Originally posted by joseibarra View Post
          The bad part is, I lost the fancy header row that shows up in the non Point-and-Click mode and it is just a boring "header" so it is a little boring, but maybe I can recreate and restore that look with some practice, but it would still be using a table since that is all I know how to do.
          I believe that you can select the point/click mode, check the box for product code, and then switch back to advanced mode. This way you could paste back the "fancy header" you used to have.

          I hope that makes sense!

          Korey
          Korey McWilliams
          Project Director
          _____________________________
          korey usbones dot com
          http://usbones.com

          Comment

          Working...
          X