Tuyen
  • Welcome to my document
  • 💼 My work
    • Updimes
      • Custom Link
      • How to add a table of contents
    • Ryviu Shopify
      • Theme
        • Kalles
      • 1.0
      • 2.0
      • Má»™t số lá»—i theme
        • Lá»—i hình ảnh không hiển thị trên theme Avenue
    • Ryviu Wordpress
      • Shortcode
      • Product hook
      • Collection hook
    • Ryviu Blog
      • Thêm HTML code to blog
      • Add Q&A sections to blog post
      • Add button to CMS blog
  • Ryviu Polaris
    • Skeleton
    • Components
    • Image loading
    • Modal Confirm
    • Table Polaris
Powered by GitBook
On this page
  • Script
  • Reviews Widget
  • Total
  • Collections
  • Q&A
  • Featured
  • Featured Carousel

Was this helpful?

  1. My work
  2. Ryviu Shopify

1.0

Script

<!-- RYVIU APP :: Settings global -->	
    <script> var ryviu_global_settings = {{shop.metafields.ryviu.user_settings }};</script>
<!-- RYVIU APP -->

Reviews Widget

<!-- RYVIU APP :: WIDGET -->
<div class="lt-block-reviews"> 
    <ryviu-widget handle="{{product.handle}}" product_id="{{product.id}}" title_product="{{product.title}}" image_product="{{ product.featured_image.src | img_url: '100x' }}"></ryviu-widget>
</div>
<!-- / RYVIU APP -->

Total

<!-- RYVIU APP :: WIDGET-TOTAL -->
<div class="review-widget">
    <ryviu-widget-total reviews_data="{{product.metafields.ryviu.product_reviews_info  | escape  }}" product_id="{{product.id}}" handle="{{product.handle}}"></ryviu-widget-total>
</div>
<!-- / RYVIU APP -->

Collections

<!-- RYVIU APP :: COLLECTION-WIDGET-TOTAL -->	
<div class="ryviu-collection">
     <ryviu-widget-total collection="1" reviews_data="{{product.metafields.ryviu.product_reviews_info  | escape  }}" product_id="{{product.id}}" handle="{{product.handle}}"></ryviu-widget-total>
</div>  
<!-- RYVIU APP -->

Q&A

<!-- RYVIU APP :: QA -->
<div class="lt-block-reviews"> 
    <questions-answers handle="{{product.handle}}" product_id="{{product.id}}"></questions-answers>
</div>
<!-- / RYVIU APP -->

Featured

<!-- RYVIU APP :: FEATURE --> 
    <ryviu-widget feature="1"></ryviu-widget>
<!-- / RYVIU APP -->

Featured Carousel

<!-- RYVIU APP :: FEATURE --> 
    <ryviu-feature-extend carousel="1" id="r--ryviu-widget"></ryviu-feature-extend>
<!-- / RYVIU APP -->
PreviousKallesNext2.0

Last updated 1 year ago

Was this helpful?

💼