Announcement

Collapse
No announcement yet.

Product Review by Tess - How do you set up the actual reviews?

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

  • lesliekirk
    replied
    Originally posted by greggc View Post

    Leslie, did you ever get a final resolution as the above being the only way to display the stars?
    Sadly, no

    Leave a comment:


  • greggc
    replied
    Originally posted by lesliekirk View Post

    Sooooo...this IS the only way to display the stars? Really?!?
    Leslie, did you ever get a final resolution as the above being the only way to display the stars?

    Leave a comment:


  • lesliekirk
    replied
    Originally posted by lesliekirk View Post

    Not the actual reviews - just the stars (pretty much like every eCommerce store has). I think I've got something in place but I think it might be more than is needed:


    Code:
    <mvt:item name="tgreviews" param="Product_Review_Count( l.settings:product:id, l.settings:product:customfield_values:tgreviews:tgr_review_count )" />
    <mvt:if expr="l.settings:product:customfield_values:tgreviws:tgr_review_count GT 0">
    <mvt:item name="tgreviews" param="Product_Rating( l.settings:product:id, l.settings:product:customfield_values:tgreviews:tgr_rating )" />
    </mvt:if>
    
    <mvt:item name="tgreviews" param="Product_Review_Count( l.settings:product:id, l.settings:product:customfield_values:tgreviews:tg r_review_count )" />
    
    <mvt:if expr="l.settings:product:customfield_values:tgreviews:tgr_review_count GT 0">
    <mvt:item name="tgreviews" param="Product_Rating( l.settings:product:id, l.settings:product:customfield_values:tgreviews:tgr_rating )" />
    </mvt:if>
    <mvt:if expr="( l.settings:product:customfield_values:tgreviews:tgr_review_count GT 0 ) AND ( NOT ISNULL l.settings:product:customfield_values:tgreviews:tgr_rating )">
    <mvt:item name="tgreviews" param="Product_Rating( l.settings:product:id, l.settings:tgr:avg_rating )" />
    <div class="tgreviews-average">
    <mvt:assign name="l.settings:star_width" value="( l.settings:product:customfield_values:tgreviews:tgr_rating / 5 ) * 100" />
    <span class="tgreviews-average__star" title="&mvte:product:customfield_values:tgreviews: tgr_rating; out of 5.">
    <span class="u-icon-star-full"></span>
    <span class="u-icon-star-full"></span>
    <span class="u-icon-star-full"></span>
    <span class="u-icon-star-full"></span>
    <span class="u-icon-star-full"></span>
    <span class="tgreviews-average__star-overlay" style="width:&mvte:star_width;%;">
    <span class="u-icon-star-full"></span>
    <span class="u-icon-star-full"></span>
    <span class="u-icon-star-full"></span>
    <span class="u-icon-star-full"></span>
    <span class="u-icon-star-full"></span>
    </span>
    </span>(&mvte:product:customfield_values:tgreviews:tgr_review_count;)
    </div>
    </mvt:if>

    Now to figure out how to make the stars on the product page open up the Reviews tab (I did this eons ago, now to just find the code).
    Sooooo...this IS the only way to display the stars? Really?!?

    Leave a comment:


  • lesliekirk
    replied
    Originally posted by Miss Kate View Post

    To me, it's not logical to have the stars review on the category page but I had never thought about it before. Why does the store want reviews at the category level? It's been so long since I installed this, I can't really remember what all went into this.

    Could the following code be altered to say category instead of product and duplicate that part of the code?

    <mvt:if expr="l.settings:product:link">
    <mvt:assign name="l.settings:tgr:link" value="l.settings:product:link" />
    <mvt:else>
    <mvt:assign name="l.settings:tgr:link" value="l.settings:urls:_self:auto" />
    </mvt:if>

    <mvt:if expr="g.TGR_Review_Success EQ 1">
    <div style="color: #4F8A10;background-color: #DFF2BF;margin: 10px 0;padding: 0.75rem 1rem; font-size: 11px; text-transform: uppercase; font-weight: bold; text-align:center;">Thank you for your review!</div>
    Not the actual reviews - just the stars (pretty much like every eCommerce store has). I think I've got something in place but I think it might be more than is needed:


    Code:
    <mvt:item name="tgreviews" param="Product_Review_Count( l.settings:product:id, l.settings:product:customfield_values:tgreviews:tg r_review_count )" />
    <mvt:if expr="l.settings:product:customfield_values:tgrevi ews:tgr_review_count GT 0">
    <mvt:item name="tgreviews" param="Product_Rating( l.settings:product:id, l.settings:product:customfield_values:tgreviews:tg r_rating )" />
    </mvt:if>
    
    <mvt:item name="tgreviews" param="Product_Review_Count( l.settings:product:id, l.settings:product:customfield_values:tgreviews:tg r_review_count )" />
    
    <mvt:if expr="l.settings:product:customfield_values:tgrevi ews:tgr_review_count GT 0">
    <mvt:item name="tgreviews" param="Product_Rating( l.settings:product:id, l.settings:product:customfield_values:tgreviews:tg r_rating )" />
    </mvt:if>
    <mvt:if expr="( l.settings:product:customfield_values:tgreviews:tg r_review_count GT 0 ) AND ( NOT ISNULL l.settings:product:customfield_values:tgreviews:tg r_rating )">
    <mvt:item name="tgreviews" param="Product_Rating( l.settings:product:id, l.settings:tgr:avg_rating )" />
    <div class="tgreviews-average">
    <mvt:assign name="l.settings:star_width" value="( l.settings:product:customfield_values:tgreviews:tg r_rating / 5 ) * 100" />
    <span class="tgreviews-average__star" title="&mvte:product:customfield_values:tgreviews: tgr_rating; out of 5.">
    <span class="u-icon-star-full"></span>
    <span class="u-icon-star-full"></span>
    <span class="u-icon-star-full"></span>
    <span class="u-icon-star-full"></span>
    <span class="u-icon-star-full"></span>
    <span class="tgreviews-average__star-overlay" style="width:&mvte:star_width;%;">
    <span class="u-icon-star-full"></span>
    <span class="u-icon-star-full"></span>
    <span class="u-icon-star-full"></span>
    <span class="u-icon-star-full"></span>
    <span class="u-icon-star-full"></span>
    </span>
    </span>(&mvte:product:customfield_values:tgreviews:t gr_review_count;)
    </div>
    </mvt:if>

    Now to figure out how to make the stars on the product page open up the Reviews tab (I did this eons ago, now to just find the code).

    Leave a comment:


  • Miss Kate
    replied
    Originally posted by lesliekirk View Post
    Time to circle back on this one - is there no way to display the review stars on the CTGY page with each product?
    To me, it's not logical to have the stars review on the category page but I had never thought about it before. Why does the store want reviews at the category level? It's been so long since I installed this, I can't really remember what all went into this.

    Could the following code be altered to say category instead of product and duplicate that part of the code?

    <mvt:if expr="l.settings:product:link">
    <mvt:assign name="l.settings:tgr:link" value="l.settings:product:link" />
    <mvt:else>
    <mvt:assign name="l.settings:tgr:link" value="l.settings:urls:_self:auto" />
    </mvt:if>

    <mvt:if expr="g.TGR_Review_Success EQ 1">
    <div style="color: #4F8A10;background-color: #DFF2BF;margin: 10px 0;padding: 0.75rem 1rem; font-size: 11px; text-transform: uppercase; font-weight: bold; text-align:center;">Thank you for your review!</div>

    Leave a comment:


  • lesliekirk
    replied
    Time to circle back on this one - is there no way to display the review stars on the CTGY page with each product?

    Leave a comment:


  • lesliekirk
    replied
    Thanks, I have discovered that this solution may not be quite enough for the store that needs it. They are currently using a Toolkit solution with stars. I'm probably just going to implement it in the new layout and suggest moving to something like Miva's Ratings & Reviews.

    Leave a comment:


  • Miss Kate
    replied
    Originally posted by eldon99 View Post
    Is there a simple way to assign reviews to multiple products? We have many products that are the same, just different colors.
    The actual review or the form to submit a review? The form to submit a review is placed exactly where I noted it above in the pic of the code. It automatically will be beneath each product. The actual review is held in the System Extensions > Product Reviews: Reviews tab. See below. You can also manually add reviews by clicking on the Add Review button. Like I mentioned earlier, DON'T auto approve reviews because you'll be getting a lot of spam. I get email notifications with spam review information & then go into this screen to delete them.

    Reviews settings5.PNG
    Attached Files

    Leave a comment:


  • eldon99
    replied
    Is there a simple way to assign reviews to multiple products? We have many products that are the same, just different colors.

    Leave a comment:


  • Miss Kate
    replied
    Okay, under system extensions is where the Product Reviews: Settings are so you can modify how the stars looks. The code is in the Reviews Template.

    These are the only settings I used:
    Reviews settings used.PNG
    DON'T checkmark Auto Approve Reviews because you'll have a lot of horrible stuff posted to the website. It appears Cialis is the primary product that my spammers want to use.

    ​​
    Reviews settings2.PNGReviews settings3.PNGReviews settings2.PNG

    If you want me to send you the Reviews Template coding I used, just let me know.
    Attached Files

    Leave a comment:


  • Miss Kate
    replied
    Here is what the actual review looks like. Once the review module is installed the tab shows up on every product page. I still can't find where I installed it but here is a picture of the one item I have had reviewed. I'll have to do a search on my website to see where I stuck the code that generates below. Might not be until tomorrow. I was unable to get the yellow bar for the 5-star to change to a darker gold but I wasn't that worried about it at the time.

    Cubs album with review.PNG

    Leave a comment:


  • Miss Kate
    replied
    Originally posted by lesliekirk View Post
    Also - is there a way to display the stars instead of the "Rated 5/5(1 review)"?
    Here is how I placed the template on the PROD page under Product Display. I just recently got the actual review portion working & edited the colors of the stars to darker stars because of my website background. That part I'll have to look for as I can't remember exactly where I called that code into the product.

    </head>
    <body class="&mvt:page:code;" id="JS_&mvt:page:code;">
    <div id="site-container">
    <mvt:item name="hdft" param="global_header" />
    <mvt:item name="navbar" />
    <mvt:item name="hdft" param="header" />
    <div class="items">
    <div class="content">
    <div class="container">
    <div class="row">
    <div class="col-md-3 col-sm-3 hidden-xs">
    <mvt:item name="category_tree" />
    </div>
    <div class="col-md-9 col-sm-9">
    <mvt:item name="breadcrumbs" />
    <h1 class="title">&mvt:product:name;</h1>
    <mvt:item name="prod_ctgy_hdft" param="prod_header" />
    <mvt:item name="product_display" />
    <mvt:item name="attributemachine" param="body" />
    <mvt:if expr="l.settings:related_product_count NE 0">
    <div class="bor"></div>
    <h4 class="title">Related Products</h4>
    <mvt:item name="related_products" />

    </mvt:if>
    <mvt:item name="tgreviews" param="Reviews_Template(l.settings:product:id)" />
    <mvt:item name="tgreviews" param="Form_Template()" />
    <mvt:item name="prod_ctgy_hdft" param="prod_footer" />

    </div>

    </div>
    </div>
    </div>

    </div>
    <mvt:item name="hdft" param="footer" />


    I'm such an idiot. Above is where the actual reviews template gets placed. I'll show the actual settings in another post.

    </mvt:if>
    <mvt:item name="tgreviews" param="Reviews_Template(l.settings:product:id)" />
    <mvt:item name="tgreviews" param="Form_Template()" />
    <mvt:item name="prod_ctgy_hdft" param="prod_footer" />
    Last edited by Miss Kate; 09-30-20, 02:15 PM.

    Leave a comment:


  • lesliekirk
    replied
    Also - is there a way to display the stars instead of the "Rated 5/5(1 review)"?

    Leave a comment:


  • lesliekirk
    replied
    Originally posted by Miss Kate View Post
    Thank you for seeing an error in the coding. I thought I had copied & pasted it but evidently not. I've been working on it this evening & FINALLY got the reviews to show up. I'm ecstatic now!
    You may have to give me some insights - the documentation for this has me on information overload. I placed the tokens but since there are no reviews, that's the message displayed but I can't seem to figure out how (or where) the link is to write a review. I'd like to "hide" the form or maybe have it pop up.

    Leave a comment:


  • Miss Kate
    replied
    Thank you for seeing an error in the coding. I thought I had copied & pasted it but evidently not. I've been working on it this evening & FINALLY got the reviews to show up. I'm ecstatic now!

    Leave a comment:

Working...
X