In Progress

WHMCS and smarty coding

Hi I need some help on coding.

The below code displays this when adding items to cart.

(The reason there is $48.50 + $11.45 is that the $48.50 is a recurring sale and I have added a setup fee to make up the difference for the one time purchase to make the total price $59.95)

Billing Cycle

1 Year

Number of computers:

1 $48.50 + $11.45

I would lie to change it to calculate the $48.50 + $11.45

And just display 1 $59.95

Code:

{if $configurableoptions}

{*<p class="cartsubheading">{$[url removed, login to view]}</p>

<p>{$[url removed, login to view]}</p>*}

<div class="cartbox">

<table cellspacing="0" cellpadding="0">

{foreach key=num item=configoption from=$configurableoptions }

<tr><td class="fieldlabel">{$[url removed, login to view]}:</td><td>

{if $[url removed, login to view] eq 1}

<select name="configoption[{$[url removed, login to view]}]">

{foreach key=num2 item=options from=$[url removed, login to view]}

<option value="{$[url removed, login to view]}"{if $[url removed, login to view] eq $[url removed, login to view]} selected="selected"{/if}>{$[url removed, login to view]}</option>

{/foreach}

</select>

{elseif $[url removed, login to view] eq 2}

{foreach key=num2 item=options from=$[url removed, login to view]}

<label><input type="radio" name="configoption[{$[url removed, login to view]}]" value="{$[url removed, login to view]}"{if $[url removed, login to view] eq $[url removed, login to view]} checked="checked"{/i

{/foreach}

{elseif $[url removed, login to view] eq 3}

<label><input type="checkbox" name="configoption[{$[url removed, login to view]}]" value="1"{if $[url removed, login to view]} checked{/if}> {$[url removed, login to view]}</

{elseif $[url removed, login to view] eq 4}

<input type="text" name="configoption[{$[url removed, login to view]}]" value="{$[url removed, login to view]}" size="5"> x {$[url removed, login to view]}

{/if}

Skills: PHP, Website Design

See more: value options, price of design label, price label design, design label price, design cycle, cycle design, coding computers, coding and billing, key coding, whmcs cart, coding help, change checkbox, optiontype php, checkbox change, coding billing, smarty php time, php elseif, smarty setup, option checkbox php, smarty php coding, select name, php code calculate total, cart php smarty, whmcs recurring, php label design

About the Employer:
( 5 reviews ) Gerldton, Australia

Project ID: #2528374

Awarded to:

isensebd

Please check inbox

$40 AUD in 0 days
(41 Reviews)
4.7

3 freelancers are bidding on average $53 for this job

steven6

Hello, we are a group of programmers based in Sheffield, UK offering 7 years experience in php, .net, c#, jquery, css, python and c++. I am proposing to carry out tasks required for this project and deliver it within 2 More

$79 AUD in 0 days
(31 Reviews)
5.6
Kikoo

Can be done easily.

$40 AUD in 0 days
(5 Reviews)
3.8