Pricing from tails
How can I use the same look and feel for a pricing section in tails in my wave application?
The problem is in Tails, I have each pricing bracket as separate items but within wave it is referencing items from the table which prevents you from having a custom border for example around one of the price offerings.
Hey Brian,
What you could do is to update the @foreach(Wave\Plan::all() as $plan)
loop and add an small check with a if
statement. For example, if the plan name is pro
you could show different classes, eg:
<div class="SOME_DEFAULT_CLASSES @if( plan->name == 'pro' ) SOME_CUSTOM_CLASSES_ONLY_FOR_THE_PRO_PLAN @endif">
Another option is to change the whole div section, eg:
@if( plan->name == 'pro' )
YOUR HTML HERE FOR THE Pro PLAN
@else
YOUR HTML HERE FOR THE REST OF THE PLANS
@endif
Let me know how it goes!
Best,
Bobby
No problem at all! Happy to help!