Announcement

Collapse
No announcement yet.

Adding Sebenza Ratings to Power Search Sort By

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

    Adding Sebenza Ratings to Power Search Sort By

    Has anyone added the Sebenza Ratings to the Power Search Sort By drop down on the Power Search results page? Adding the Ratings to the sort by for the Sebenza Category Manager Templates is easy

    Code:
    <option value="ratings-desc">Top Rated</option>
    I checked with Bill and mentioned that I'd have to "get the value in a custom product field" - I have no idea how to pass the ratings into a custom product field.

    Has anyone else attempted to do this?

    Thanks!
    Leslie
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    Re: Adding Sebenza Ratings to Power Search Sort By

    Power Search uses the built in capabilities for sorting. That module is using a proprietary database instead of the built in custom product fields to store the data. Hence, you have to get the value into the custom product field. If that module has a token to retrieve the raw number value on the product page then you could use that token to retrieve it and then the tool kit to insert that value in the custom product field you want to sort on.
    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: Adding Sebenza Ratings to Power Search Sort By

      Just wondering if anyone has attempted this?
      Leslie Kirk
      Miva Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

      Comment


        #4
        Re: Adding Sebenza Ratings to Power Search Sort By

        g.rating is the value on the product page (or however you're displaying the reviews). That can be used to populate a custom field.

        If the number of reviews value (g.total_reviews) is under 6 we write the value to the custom field every time the product page is displayed. We have a separate page to display "all reviews" that updates the value when opened after that. We only display 5 reviews on a product page. If product rating is 0 (no ratings) we don't write it.

        Seems to remain pretty accurate.
        Last edited by nottheusual1; 11-12-14, 04:44 PM.

        Comment

        Working...
        X