Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Free shipping by catagories


Allena

Recommended Posts

I installed the free shipping by catagories but when I go to admin to edit the module i get the following error

 

Fatal error: Call to undefined function: tep_draw_pull_multiselect_menu() in /var/www/vhosts/thepoultryboard-mountainmorningfarm.com/httpdocs/store/admin/includes/functions/general.php on line 1410

 

This is the code where the error is but I can't figure out what is wrong with it.

 

//allows selecting many categories at a time
 function tep_cfg_select_multicategories($key_value = '', $key) {
				 if (tep_not_null($key_value))
				   $value_array = explode(', ',$key_value);
				 else
				   $value_array = array();

     $name = ((tep_not_null($key)) ? 'configuration[' . $key . ']' : 'configuration_value').'[]';

				[color="#FF0000"] $string = tep_draw_pull_multiselect_menu($name,tep_get_categories(), $value_array,' size="8" ');[/color]
   return $string;
 }

function tep_cfg_show_multicategories($key_value = ''){
	global  $languages_id;

  $cat_str = '';

	  if (tep_not_null($key_value)){
				 $value_array = explode(', ',$key_value);
				 for($i=0, $x=sizeof($value_array); $i<$x; $i++){
             	$cat_str .= tep_get_category_name((int)$value_array[$i], $languages_id).', ';
				 }
     		 $cat_str = substr($cat_str, 0, -2);
		}

	return $cat_str;
}

 

the red code is where it says the problem is does anyone know how I could fix this?

Link to comment
Share on other sites

  • 4 weeks later...
  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...