Jump to content

zebedeubeatu

Member
  • Posts

    12
  • Joined

  • Last visited

About zebedeubeatu

zebedeubeatu's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hi. i have a situation here i wold like to do this: " {if $registrationperiod == '10'} - {else} {$nextduedate} {/if} " well on the clientarea.php?action=domaindetails it works but on the clientarea.php?action=domains dosent any one can help me?
  2. Hi. i wold like to convert my total from a curency to other i think it can be made, i saw it on a website but they protected .tpl and i have no clue how to do it. Thanks
  3. any 1 knows how to convert from EURO to RON in the pdf file?
  4. Im on half way guys i made it on viewinvoice.tpl and viewcart.tpl now im intrested in doing it in invoicepdf.tpl i will explain below how i do it and maybe you can guide me to do it in pdf FIRST I ADDTED THE BELOW STRING TO TE PAGE {php} global $currency; if ($currency['code']=='EUR') { $datecreated = $this->_tpl_vars['datecreated']; $result = full_query("SELECT rate FROM mod_exchangerates WHERE date<'".toMySQLDate($datecreated)."' ORDER BY date DESC"); $data = mysql_fetch_array($result); $convrate = $data["rate"]; } if (!$convrate) $convrate = 4.26404; {/php} THEN I CONVERTED THE TOTAL PRICE IN RON {php} echo format_as_currency(preg_replace('/[^0-9.]/','',$this->_tpl_vars['total'])*$convrate); {/php} RON THEN I DISPLAYED THE CURENCY {php} echo ($convrate); {/php} RON Please help me do it in pdf Thanks
  5. Any one can tell me the script for curency whit id? i realy whant to do what i explained up there Thanks
  6. Hello. im using web20cart and i wold like to add some lines where to put some curency info Subtotal: € 9.90 EUR Total Due Today: € 9.90 EU Equivalent in RON: 42.03 RON (and here the Total converted in RON) 1 EURO = 4.2455 RON (here to be the exchange rate) Total Recurring: € 9.90 EUR Annually and the same thing on my viewinvoice.php
  7. Hi. I saw on some websites that they have in the side menu a little cart. Any 1 has a template? or knows how i can build it? Thanks.
  8. Any 1 has an idea? i will be so glad to get a answer. Thanks
  9. Hi. I wish to make a promo code ex: 12345 and use it like this: if the buyer takes a domain and a hosting pack he gets a discount. I have 4 hosting packs and 10 LTD where i what to use this but i really don't figure out how to setup the code. This was the first problem the second prob. is that i want this code to be automatic executed when the page is gone so the web browser is adding the 12345 in the form and presses up the submit so that the discount will all ways be there so no meter package or domains the discount shows 0.00 or the value i set in the admin area. If there are posts linked to this of issue please don't hesitate to post it. Thanks.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated