Jump to content
Sign in to follow this  
Allena

Free shipping by catagories

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?

Share this post


Link to post
Share on other sites

What Im trying to do is set a price for an item for shipping as the standard proce for $7.95, if they decide to purchase more producst I want to only charge them $3.95 for each additional item. Is this possible an how?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×