Jump to content

Long Description only for certain Plans


Sebastian Schalipp

Recommended Posts

Hi,

 

I would like to offer the "long description" entry field only for Upgrade packages. The basic, free plan should only contain the "short description (intro)" text field.

 

For the listing detail template, I think I can do this with a "Custom variable" that I set up in Paid Listings Admin section (i.e. "longdesc:false") and query it from the theme template.

 

BUT I also want to hide the long description entry field (textarea / editor) completely on the form which is used for new entries and when editing a listing entry, as long as it's a basic plan entry. The Custom variables don't work in the "create_form.thtml" theme file. How else could I query in the create_form.thtml to check which plan the entry uses when displaying the form, so I can hide it for basic entries?

 

Thanks!

-Sebastian

Link to comment
×
×
  • Create New...