PDA

View Full Version : Solved: Customize subscription_paymentbit ?


SkyStryder
02-02-2011, 05:52 PM
For some reason, under the Subscription Payment Method they use the method.classname
variable instead of the programmable title for the "Order Using xxx" label. In an attempt
to make this much nicer, I have tried the code below which is failing miserably.

<vb:if condition="{vb:raw method.classname} == 'authorizenet'">
<h3 class="blocksubhead">{vb:rawphrase order_using_x, 'Credit Card}</h3>
<vb:else />
<h3 class="blocksubhead">{vb:rawphrase order_using_x, {vb:raw method.classname}}</h3>
</vb:if>

Would anybody be kind enough to help me out?
Thank you!

--------------- Added 1296748028 at 1296748028 ---------------

use {vb:raw method.title} rather than {vb:raw method.classname}