Jump to content

kanum

Member
  • Posts

    74
  • Joined

  • Last visited

About kanum

kanum's Achievements

Member

Member (2/3)

0

Reputation

  1. Hi, Take a look to WebSite builder from Enom, if not in wrong you can branding.
  2. LOL, is not the pretend as you know. by adding: feeds/productsinfo.php?pid=1&get=price&billingcycle=annually My price is annually, but I pretend get the pricing divided by feed from whmcs.
  3. Hi, I need your help From the productsinfo feeds how can I get the prices like get from productpricing? I mean for example if I add annually how can I get the price divided by 12 and not the price of total as annual? By but feeds/productsinfo.php?pid=1&get=price&billingcycle=annually I get for example: 60$ I pretend get the price as "montly" Thanks Want I need change: <?php require("../init.php"); /* *** USAGE SAMPLES *** <script language="javascript" src="feeds/productsinfo.php?pid=1&get=name"></script> <script language="javascript" src="feeds/productsinfo.php?pid=1&get=description"></script> <script language="javascript" src="feeds/productsinfo.php?pid=1&get=price&billingcycle=monthly"></script> <script language="javascript" src="feeds/productsinfo.php?pid=1&get=orderurl&carttpl=web20cart"></script> */ $result = select_query("tblproducts","",array("id"=>$pid)); $data = mysql_fetch_array($result); $pid = $data['id']; $name = $data['name']; $description = $data['description']; if (!$pid) widgetoutput('Product ID Not Found'); if ($get=="name") widgetoutput($name); if ($get=="description") { $description = str_replace(array("\r","\n","\r\n"),"",nl2br($description)); widgetoutput($description); } if ($get=="configoption") widgetoutput($data['configoption'].$configoptionnum); if ($get=="orderurl") { $systemurl = ($CONFIG['SystemSSLURL']) ? $CONFIG['SystemSSLURL'].'/' : $CONFIG['SystemURL'].'/'; if ($carttpl=="ajax") { widgetoutput($systemurl."order/?pid=$pid"); } else { widgetoutput($systemurl."cart.php?a=add&pid=$pid&$carttpl=cart"); } } if ($get=="price") { $currency = ($currency) ? getCurrency('',$currency) : getCurrency(); $result = select_query("tblpricing","",array("type"=>"product","currency"=>$currency['id'],"relid"=>$pid)); $data = mysql_fetch_array($result); $price = $data[$billingcycle]; $price = formatCurrency($price); widgetoutput($price); } function widgetoutput($value) { echo "document.write('".addslashes($value)."');"; exit; } ?>
  4. Hi glow, You allways can use the: Overriding Language Strings Should you want to customise any of the default language file strings, we recommend using the overrides system. Overrides as the name suggests are a way of overriding language file text values without making changes to the core language files themselves. This has the benefit of meaning that when it comes to upgrades, you don't have any risk of overwriting and losing your customisations. If this is your first time overriding language strings you will need to begin by creating a subfolder named overrides within the /lang/ directory (overrides are supported for both client and admin area languages). To start overriding language strings, begin by creating an empty file in the overrides folder matching the name of the default language file you want to override Next copy and paste any language strings from the default file into the override file that you want to customise Now edit the translations within the override file in exactly the same way as demonstrated above. An example /lang/overrides/english.php file: [php]<?php $_LANG['globalsystemname'] = "Support System"; $_LANG['headertext'] = "Welcome to our members area."; ?>[/php] Read more at: http://docs.whmcs.com/Language_Files
  5. Thanks! Work great. One question you know how can I add a Icon only to Portal Home?
  6. You know if is possible setup it, on order on shopping cart? Thanks
  7. Hi, Can you please let me know how to setup as Billable items? @Jona if possible can you send me your web site link so I can take a look? Thanks
  8. Hi, Any of you uses whmcs for delivery products? I mean setup product with carrier costs? Thanks
  9. Thanks Kim, But on the order cart I get the two valores One Time as setup Fee and then the annual recurring. Is any way for work around?
  10. Hi all, How can I setup a product with payment one time, but have recurring for example 25$ a year? Thanks
  11. Experimenta salvar primeiro, e vê se aparece, se não funcionar tentar reenviar para o servidor a template que está a usar na "admim".
  12. Guys please I need your help. I have try diferent codes and not seems work.
×
×
  • 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