LogoLogo
  • Welcome
  • Getting Started
  • Integration Methods
  • SDKs
  • Tebex for Unreal Engine 5
  • Tebex for Unity Engine
  • Webstore Builder
    • Overview
    • Getting Started
    • Twig
      • Tags
      • Filters
      • Functions
    • Global Variables
      • basket
      • store
      • page
    • Pages
      • index.html
      • checkout.html
      • username.html
      • options.html
      • package.html
      • cms/page.html
      • category.html
      • layout.html
    • Sidebar Modules
      • module.communitygoal.html
      • module.featuredpackage.html
      • module.giftcardbalance.html
      • module.goal.html
      • module.payments.html
      • module.serverstatus.html
      • module.textbox.html
      • module.topdonator.html
    • Assets
    • Schema
    • Developer Plan
    • Footer
    • Guides
      • Package Slugs
  • Headless API
    • Overview
    • Getting Your Listings
    • Creating a Basket
    • Adding Packages
    • Gifting Packages
    • Applying Discounts / Creator Codes
    • Directing to Checkout
    • Endpoints
    • Postman Config
    • Example Integration
  • Checkout API
    • Overview
    • Headers and Authentication
    • Start the Checkout Process
    • Checkout Webhooks
    • Endpoints
    • Errors
    • Postman Config
  • Tebex.js
    • Overview
    • Integration
    • Events
    • Web Components
    • Custom Render Location
    • NPM
    • GitHub
  • Webhooks
    • Overview
    • Login Webhooks
  • Game Server API
    • Overview
    • Authentication
    • Error Handling
    • Endpoints
  • Affiliate API
    • Overview
    • Referrals
    • Game Types
    • Webhooks
Powered by GitBook
On this page
  • Root Object
  • Request Variable

Was this helpful?

Export as PDF
  1. Webstore Builder
  2. Pages

package.html

Previousoptions.htmlNextcms/page.html

Last updated 2 months ago

Was this helpful?

The package.html page displays details about a specific on your store.

Root Object

Variables
Type
Description

id

string

The ID of the package.

identifier

string

The slug of the package. Defaults to the numeric ID if no slug is defined.

name

string

The name of the package.

description

string

The description of the package.

customPrice

boolean

If the package can have a custom price.

price

string

The price of the package.

purchasable

boolean

If the currently logged in customer is allowed to purchase this package on your store.

quantity

integer

The quantity of this package in the customers basket.

image.url

string

The public url of the packages image hosted on the Tebex CDN.

image.uploaded

boolean

If this package has an image uploaded.

category

string

The ID of the category which this package belongs to.

has_options

boolean

If this package requires options to be entered/selected before adding to the basket.

discount.applied

boolean

If the package has a discount applied.

discount.original

string

The original price of the package before the discount was applied.

discount.percentage

string

The percentage equivalent of the discount applied to the package.

Request Variable

If you'd like access to a variable that is not currently available,

package
please let us know.