Wishlist
wishlist page template
can help customers save items that they wish to buy, this can greatly help to check the offers that apply to the items the customers are interested in as well as keeping track of the stock.
Example

Variables
WishListPage
page
object
optional
title
string
optional
slug
enum<string>
optional
Allowed value:
customer.wishlist
products
array[object (Product) {28}]
optional
products.next_page
name
string
required
price
number
required
status
enum<string>
required
Allowed values:
hiddensaleout
product_type
enum<string>
required
Allowed values:
productservicegroup_productscodesdigitalfooddonatingbooking
quantity
number
required
unlimited_quantity
boolean
required
description
string
required
categories
array[string]
required
min_amount_donating
number
required
max_amount_donating
number
required
sale_price
number
required
cost_price
number
required
sale_end
string
required
require_shipping
boolean
required
maximum_quantity_per_order
number
required
weight
number
required
sku
string
required
hide_quantity
boolean
required
enable_upload_image
boolean
required
enable_note
boolean
required
pinned
boolean
required
active_advance
boolean
required
subtitle
string
required
promotion_title
string
required
metadata_title
string
required
metadata_description
string
required
brand_id
number
required
tags
array[number]
required
Components
master.twig
, and accordingly, it takes the unified look-and-feel. For example, all of the headers
and footers
components will be added automatically to this page.User
model is accessible automatically on this page because it's included in the master.twig
layout file.JS Web Components
<salla-add-product-button>
<salla-button>
Hooks
wishlist page template
may call the following hooks in order to inject extra information.
Usage
products
object which represents the list of the products that the customer has added to his own wishlist. Based on that, we use a simple for-loop
statement to display each product.salla-button
component can be used.
Modified at 2025-03-04 12:54:02