Jump to content
Sign in to follow this  

Supplier Area Contribution

Recommended Posts

Hi all!


I really need some Contribution Support...

The Supplier Area Contribution is one of the greatest ideas I have ever heard of...

Here's what Rochdalemark said when he released it a year ago:

It's a contribution that allows you to create some suppliers and set a markup percentage for each one and select which categories they can add their products to with a login name and password.

The suppliers can then login to their own pages where they can add products to their categories entering the cost price that they sell the product to you for. The front of the shop will show the list price determined by the markup on cost you had set for that supplier.

The suppliers can only see and modify their own products and not any other suppliers.

Once installed you will have a supplier box in the left admin menu where you add new suppliers, select there markup % and also which categories they can add products too.

The supplier can login to add their products to your store at


Here they can add products as well as being able to see how many items they have sold through your store each month...

Great idea, right?

For some reason I can't get this up and running, although others in this thread claim they have.

On the Admin side there is no problem, I can add suppliers and their markup.


So what's my problem?

When I have logged in as a supplier to the Suppliers Area I get a:

Fatal error: Call to undefined function: tep_get_languages() in /home/a/xxxxxx/www/catalog/supplier_area.php on line 20

Any ideas on how to solve it?



Share this post

Link to post
Share on other sites

Hi all!

Here are lines 20 to 29 in supplier_area.php:

  $languages = tep_get_languages();
 $languages_array = array();
 $languages_selected = DEFAULT_LANGUAGE;
 for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
$languages_array[] = array('id' => $languages[$i]['code'],
						   'text' => $languages[$i]['name']);
if ($languages[$i]['directory'] == $language) {
  $languages_selected = $languages[$i]['code'];


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