Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

specials.php on line 26


duykhang

Recommended Posts

hi,

 

i really need help

 

Fatal error: Call to undefined function: tep_get_tax_rate() in /home/mititrad/public_html/cosmetic/catalog/includes/boxes/specials.php on line 26

 

$info_box_contents[] = array('align' => 'center',

'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product["products_id"]) . '">' . tep_image(DIR_WS_IMAGES . $random_product['products_image'], $random_product['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product['products_id']) . '">' . $random_product['products_name'] . '</a><br><s>' . $currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</s><br><span class="productSpecialPrice">' . $currencies->display_price($random_product['specials_new_products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</span>');

 

new SpecialsBox($info_box_contents);

?>

 

the link to it http://mititrading.com/cosmetic/catalog/index.php?cPath=29

 

i don't know what is going on. please help.

 

btw, i just added 1 special product and it caused error. i only have 1 product.

 

and when i get to that product's page, i get another error from what's new on line 28 which have the same problem w/ the tep_get_tax_rate

 

i am using the new 2.2ms

 

 

thank you.

Link to comment
Share on other sites

yay...

 

I found it

 

the new version use different function name. hahahaaaa

 

stupid me.

 

i think most of the mod are using old codes, so this is the problem when trying to install them. i get errors all the time.

 

-oh well... thanks everyone that working on anything related to this oscommerce. you guys are great.

 

:D

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...