Computers |
|
| | #1 (permalink) |
| Newb Techie | } function display_price($products_price, $products_tax, $quantity = 1) { return $this->format(tep_add_tax($products_price, $products_tax) * $quantity); } } ?> guys you see anything wrong with this? i get an error saying: Warning: Missing argument 2 for display_price() in /home/.hortense/j17d85m/domain_name.com/includes/classes/currencies.php on line 71 |
| | |
| | #2 (permalink) |
| Dope Tech | why do you have a assignment in the function declaration? "$quantity = 1" remove this and replace $quantity with 1 in tep_add_tax
__________________ Tech IMO.com | ExtremeTech.com | ASP Free.com | SysOpt.com | Tech Support Guy.org DB Forums.com | Cyber Tech Help.com | Lazy Forums.com | Warrior Nation.net 'If you don't stand for somethin you'll fall for anything' - Dr. Dre Been there, done that |
| | |