Subversion Repositories SmartDukaan

Rev

Rev 13926 | Rev 14051 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13926 Rev 14049
Line 88... Line 88...
88
		if(!empty($user['PricePreference'])){
88
		if(!empty($user['PricePreference'])){
89
			foreach ($user['PricePreference'] as $key => $value) {
89
			foreach ($user['PricePreference'] as $key => $value) {
90
				$preferredPrices[$value['category_id']] = $value;
90
				$preferredPrices[$value['category_id']] = $value;
91
			}
91
			}
92
		}
92
		}
-
 
93
		$priceranges = Configure::read('priceranges');
93
		$this->set(compact('categories','user','preferredPrices','preferredBrands'));
94
		$this->set(compact('categories','user','preferredPrices','preferredBrands','priceranges'));
94
	}
95
	}
95
 
96
 
96
/**
97
/**
97
 * index method
98
 * index method
98
 *
99
 *