Jump to content

How to hide a field in paid plan ?


mikkox

Recommended Posts

hello

 

I would like propose to user (who own a listing free base plan) a specific field and if users decide to upgrade to a paid featured plan, I would like hide this field in both Edit and Frontend listing.

 

It seem is possible to do that using variable but I don't see how to do...

 

For example actually I have several fields directly included in detail theme field like this:

 

<div class="fieldRow jr_myfield"><div class="fieldLabel"><?php echo $CustomFields->label('jr_myfield',$listing); ?></div><div class="fieldValue "><?php echo $CustomFields->field('jr_myfield',$listing); ?></div></div>

 

So probably using adapted variable inside this code with his related variable inside paid plan, it will possible to hide the field.

 

Any clue please??

 

thank

Link to comment
×
×
  • Create New...