Post by lauravince » Tue Apr 08, 2008 1:39 pm

I don't want to have to have this feature, is there are way to remove it? I've tried and tried to figure it out myself but no luck!

Newbie

Posts

Joined
Mon Mar 31, 2008 3:11 am

Post by bruce » Tue Apr 08, 2008 4:14 pm

admin/controller/product.php

look in the function validateForm()  and remove the test related to model ie delete this bit

Code: Select all

    	if ((strlen($request->get('model', 'post')) < 3) || (strlen($request->get('model', 'post')) > 32)) {
      		$this->error['model'] = $language->get('error_model');
    	}       
That is enough to stop having to enter it. You will still have to look at the code and templates where you see the model value displayed and remove it from there too.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by lauravince » Thu Apr 17, 2008 1:02 am

thanks so much!!  ;D

Newbie

Posts

Joined
Mon Mar 31, 2008 3:11 am
Who is online

Users browsing this forum: No registered users and 2 guests