Jump to content

Documentation for Template Variables


jimt

Recommended Posts

Hello all,

 

I am working on changing the product presentation pages and I can't seem to find any documentation on the available template variables, and how to get the right info to be sent to the template in the variables. In the product template (products.tpl), there is a section that references '$product.features' but I cannot find any documentation for this on the site or anything called a product feature in the product setup interface in WHMCS. I've also looked in the DB and I can find nothing called product features.

 

I have checked the {debug} list and there is a product features array in the product object but it is always empty.

 

Does anyone know where this data is or how to get it to populate?

 

Thanks,

Jim

Link to comment
Share on other sites

When creating a product/service, use the following format for its Product Description:

 

Feature 1 Name: Description
Feature 2 Name: Description
Feature 3 Name: Description

 

View your cart to see how it looks. For example, a hosting product may have a Product Description of:

 

Disk Space: 1000 GB
E-mail Accounts: Unlimited
FTP Accounts: Unlimited

Edited by WHMCS JamesX
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated