本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
donation
object contains all of the donation related values and messages. For example;product.donation.collected_amount
: shows the collected amount up to date.product.donation.target_amount
: shows the targeted amount to be collected.product.donation.target_percent
: shows the percentage of the targeted amount.
active
or intentionally concealed from view hidden
. It essentially controls whether the category is publicly displayed or kept private within the system.with=translations
query parameter.translations
object will return two entries: ar
for Arabic and en
for English.with=items
query parameter.Food
or Custom Service
product.offer
object. Using this component, the developer can show both offer.name
and offer.description
. It contains a list of the related products that include offers. Using for-loop statement such as {% for product in offer.products %}
, the list of the offered products can be retrieved and displayed using a slider with cards, for example.
Cross-selling
, or offer a better and more expensive alternative product, Upsells
.products
objects, and then display the information for each product in the list.