Sha256: 304fc97b9a000ef5ea1275c9e4095980d76707bd53da3f14686f74ff338ca227

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

<% content_for :head do -%>
    <%= canonical_tag %>
<% end -%>
<% content_for :breadcrumbs do %>
  <%#= render "shared/pwb_banner" %>
  <%= breadcrumbs(@taxon, @product) %>
<% end %>


<div class="product_description" style="padding-top:0px">
<h2><%= @product.name %></h2>
</div>


<%
   #for the products sharing reviews
   review_product=@product

%>

    <script type="text/javascript">
        //<![CDATA[
        var pr_locale = 'en_US';
        var pr_page_id = <%= @product.id.to_s%>;
        var pr_style_sheet = '/powerreviews.css';
        var pr_merchant_group_id = <%= Spree::PowerReviewsConfiguration.account[current_store.code]["merchant_group_id"] %>;
        var pr_promo_code = <%= Spree::PowerReviewsConfiguration.account[current_store.code]["pr_promo_code"] %>
        var pr_site_id = <%= Spree::PowerReviewsConfiguration.account[current_store.code]["site_id"] %>;
        //]]>
    </script>
    <script src="/pwr/engine/js/appLaunch.js" type="text/javascript"></script>


<script type="text/javascript">

  jQuery(document).ready(function(){
    $("#submitReviewIframe").load(function(){
      location.href='#';
      $('#submitReviewIframe').css('height','2800px');
      return false;
    });
  });
</script>



Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_power_reviews-3.0.0 app/views/spree/products/review.html.erb