What are the product description variables in HostShop?
When creating a Product for your HostShop setup and adding a description, you’ll note that there are some variables you can add. These list the limitations and features that are - and are not - available for that package type, dynamically.
Complete List of Product Description Limit Variables
This information pulls directly from your set package type limits. So, if you set up a package type to have the Malware Scanner available and have mailboxes up to 10GB in size, these variables will display these values accordingly. It means that you don't have to copy them across for every one of your Products manually.
These will need to have double curly brackets around them, and start with the tag ‘limits.’, for example:
{{ limits.display.mailboxes }}
{{ limits.malwareScan }}
You can also use an if statement with the variable to check if it’s true and take action as necessary. For example, if we wanted to check if the Web Builder is available for a package and then display something accordingly, you can use:
{% if limits.webBuilder %}
Here's a full list of the available variables for package limits:
- accessErrorLogs
- accountSummary
- addFreeWeb
- additionalFtpUsers
- allFutureOneClick
- allowExternalSsl
- appManager
- autoDiagnostics
- awstats
- backups
- bandwidth
- blockVisitors
- canSetEmailQuota
- canSetQuotaNotification
- cdnCaching
- cdnOptimisation
- cdnSecurityHeaders
- cdnStatistics
- changeParent
- contacts
- customDocRoot
- customPrimaryDocRoot
- directoryIndexing
- dkimSignatures
- dns
- dnsSec
- domainContacts
- domainPrivacy
- domains
- emailSummary
- fileManager
- filePermissions
- freeSsl
- ftp
- googleTranslate
- highEmailNotification
- hotlinkProtection
- htaccessErrors
- imapSync
- lock
- lowEmailNotification
- mailAutoresponders
- mailboxes
- mailCatchAllForwarders
- mailDistributionLists
- mailForwarders
- mailJunkFilterLogs
- mailJunkFilters
- maintenanceMode
- malwareReport
- malwareScan
- manageAppPool
- manageWpAdminUsers
- manageWpChecksumReport
- manageWpDatabase
- manageWpPlugins
- manageWpSearchReplace
- manageWpSiteSettings
- manageWpStaging
- manageWpThemes
- manageWpUpdates
- manageWpUsers
- maxMailboxSize
- mssqlDatabases
- mysqlDatabases
- names
- nameserverCheck
- nameservers
- passwordProtectedDirectories
- phpConfig
- phpMyAdmin
- platformReinstall
- primaryFtpUnlock
- pushTransfer
- remoteMysql
- scheduledTasks
- sitemapGenerator
- ssh
- stackUsers
- statsBandwidth
- statsDisk
- subdomains
- switchPhpVersion
- temporaryURL
- timelineBackups
- usageormation
- webalizer
- webBuilder
- webForward
- webmail
- webRedirect
- webspace
- whois
- wpAdmin
The following relate to the one-click installs available, and would only be usable on package types based on our Linux hosting platform.
limits.apps
'limits.apps' is how you'd get those apps, so rather than {{ limits.AppName }} it's {{ limits.apps.AppName }}
- abantecart
- agoracart
- b2evolution
- backdrop
- bamboo
- buddypress
- cachet
- cakephp
- cmsmadesimple
- concrete5
- coppermine
- craftcms
- cubecart
- dolphin
- dotproject
- dolibarr
- drupal
- e107
- elgg
- expressionengine
- fengoffice
- flarum
- fluxbb
- formalms
- formtools
- freshrss
- geeklog
- gibbon
- gnusocial
- helpcenterlive
- invoiceninja
- invoiceplane
- joomla
- kanboard
- laravel
- limesurvey
- magento
- mambocms
- mantisbt
- matomo
- mediawiki
- modx
- moodle
- mybb
- nucleus
- opencart
- openwebanalytics
- oscommerce
- oscomphoenix
- osticket
- phpbb
- phpcoin
- phpformgenerator
- phpfreechat
- phpfusion
- phplist
- phpmailer
- phpmyfaq
- phpnuke
- phproject
- phprojekt
- piwigo
- prestashop
- processwire
- reviveadserver
- roundcube
- salessyntax
- serendipity
- silverstripecms
- simplemachinesforum
- slim
- snipeit
- squirrelmail
- suitecrm
- tcexam
- textpattern
- troubleticketexpress
- typo3
- vtiger
- webcalendar
- wordpress
- xerte
- zencart
- zenphoto