- Merchant API
- Welcome 👋
- Get Started
- Create Your First App
- 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
- Partner Apps APIs
- Shipping and Fulfilment API
- Twilight 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
- Twilight JS SDK
- Twilight Web Components
- Salla CLI
Offer Modal
<salla-offer-modal>
web component shows a list of products with an offer given by the store admin. These offered products are related to a specific product. It consists of Button component to which Merchants can select offers related to product(s) they added to the cart, and that can be customized using the slots' parameters available.note
Example#

Usage#
HTML
SASS
Methods#
methods
allow for calling functions built by Salla to carry out certain actvities, such as show
a specific product
or offer
.Method | Description | Return Type |
---|---|---|
open(product_id: number) | Opens the available offers for a specific product | Promise<any> |
showOffer(offer: any) | Shows offer details for a specific product | Promise<void> |
Tip
open
the component via the event:
Slots#
slots
makes it customizable to modify certain labels, such as header
.Slot | Description |
---|---|
header | The top of the popup, which has replaceable properties {name} , {message} . |
category | Replaces Category badge, which has replaceable properties {name} , {url} . |
product | Replaces product card, which has replaceable properties {name} , {url} , {image} , {price} . |

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

