Administration AngelCosta Posted January 19, 2018 Administration Posted January 19, 2018 Faz tempo que não mexo com WHMCS, mas já não era pra ter algo tipo "regras" no preço? Tem algum plugin assim? 0 Quote 'Cause he's my best friend, he's my pal. He's my homeboy, my rotten soldier. He's my sweet cheese. My good-time boy.
Guest felinto Posted January 19, 2018 Posted January 19, 2018 Encontrei algumas informações úteis nesse fórum. https://whmcs.community/topic/215517-how-do-i-get-the-annual-cost-to-display-only-monthly-displays/ <div id="product{$productId}-price" class="col-md-3 hidden-sm"> <div class="price-container container-with-progress-bar text-center"> {$product.name} {$LANG.orderprice} <span class="price-cont"> {if $product.bid} {$LANG.bundledeal} {if $product.displayprice} <br /><br /><span>{$product.displayPriceSimple}</span> {/if} {elseif $product.paytype eq "free"} {$LANG.orderfree} {elseif $product.paytype eq "onetime"} {$product.pricing.onetime} {$LANG.orderpaymenttermonetime} {else} {if $product.pricing.hasconfigoptions} {$LANG.from} {/if} {$product.pricing.minprice.cycleText} <br> {if $product.pricing.minprice.setupFee} <small>{$product.pricing.minprice.setupFee->toPrefixed()} {$LANG.ordersetupfee}</small> {/if} {/if} </span> Este é o meu código do template "Universal Slider". Este é o arquivo products.tpl. Tentei entender como esse código funciona por meio da tentativa - erro e aplicar a informação no fórum que mencionei. Sem sucesso. Será que alguém poderia me dá alguma pista ? Descobri que a parte do código que controla como o preço é exibido é esse aqui: {if $product.pricing.hasconfigoptions} {$LANG.from} {/if} {$product.pricing.minprice.cycleText} 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.