- 1Merchant API
- Welcome 👋
- Get Started
- 水合失败
- Authorization
- Webhooks
- Conditional Webhooks
- Security Considerations
- Multi-Language Support
- Responses
- Pagination
- Rate Limiting
- Versioning
- Change Log
- Support
- 测试
- APIs
- Orders
- Order Status
- Order Histories
- Abandoned Carts
- Order Tags
- Order Invoice
- Order Reservations
- Order Items
- Products
- Product Options
- Product Quantity
- Product Variants
- Product Tags
- Product Images
- Product Option Values
- Customer Groups
- Customers
- Digitals Product
- Categories
- Exports
- Shipments
- Shipping Companies
- Shipping Zones
- Shipping Rules
- Countries
- Product Option Templates
- Taxes
- Coupons
- Affiliates
- Order Assignment
- Special Offers
- Transactions
- Payments
- Settlements
- Settings
- Merchant
- Brands
- Reviews
- Branches
- Currencies
- SEO
- Cities
- DNS Records
- Languages
- Employees
- Advertisements
- Webhooks
- Custom URLs
- Loyalty Points
- Webhooks - Store Events
- 其他资源-Module
- 其他资源 Copy
- 2Partner Apps APIs
- 3Shipping and Fulfilment API
- 4Twilight Themes
- Getting Started
- Requirements & Review
- Files and Folders Structure
- Twig Template Engine
- Theme Architecture
- Layouts
- Pages
- Componenets
- Overview
- Home Components
- Youtube
- Fixed banner
- Testimonials
- Parallax background
- Photos slider
- Store features
- Square photos
- Fixed products
- Products slider
- Featured products - Style 1
- Featured Products - Style 2
- Featured Products - Style 3
- Brands
- Enhanced Square Banners
- Main Links
- Enhanced Slider
- Slider Products with Headers
- Latest Products
- Vertical Menu with Slider
- Product Components
- Common Components
- Change Log
- 5Twilight JS SDK
- 6Twilight Web Components
- 7Salla CLI
- 8[ Internal ] Apps APIs
- 9[Internal] AI Services APIs
- 10这是一个长长长长长长长长长长长长的文件夹
- 11这是一个长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长长的文件夹 Copy
Reviews
<salla-reviews>
web component displays a vertically scrollable reviews, which you can customize its data source using the properties available.API Usage
Example#

Usage#
HTML
Properties#
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
Display All Link | display-all-link | Controls the visibility of a link to the reviews page. When set to true , a link will be displayed allowing users to navigate to the reviews' section. | boolean | undefined |
Limit | limit | Defines the maximum number of reviews to retrieve from the API. | number | 5 |
Source | source | Specifies the data source for reviews. Valid options include: • store : Retrieves reviews for the entire store. • all : Retrieves reviews from all sources. • categories : Retrieves reviews for specific product categories. • products : Retrieves reviews for individual products. • json : Retrieves reviews from a custom JSON payload. 📝 Note that when using json as the source, a valid payload must be provided in the sourceValue property. | "all" | "categories" | "json" | "products" | "store" | "store" |
Source Value | source-value | Provides the data specific to the chosen source. Required when using categories , products , or json as the source: • categories : An array of category IDs. • products : An array of product IDs. • json : A custom JSON object containing the reviews' data. | (string | number)[] | number | object | string | undefined |

扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升

