Post by idanlevy » Sun Sep 05, 2010 2:50 am

hi i want to get barcode type variable from admin/extenstion/barcode to the admin/controller/catalog/porduct

how can i do that it will pull the data from barcode type variable in the extension page to the product page

thanks

New member

Posts

Joined
Mon Aug 16, 2010 1:57 am

Post by cevarief » Sun Sep 05, 2010 2:53 pm

Hi,

Does the barcode extension save the variable to database? If so then you need to create a function in your product model or barcode model to read it from database.

Cheers!

Active Member

Posts

Joined
Wed Jun 02, 2010 10:52 pm

Post by idanlevy » Sun Sep 05, 2010 3:02 pm

no save, it is in the page Textbox...

Code: Select all

		if (isset($this->request->post['barcode_product'])) {
			$this->data['barcode_product'] = $this->request->post['barcode_product'];
		} else {
			$this->data['barcode_product'] = $this->config->get('barcode_product');
		}	
no save what so ever...

New member

Posts

Joined
Mon Aug 16, 2010 1:57 am
Who is online

Users browsing this forum: Amazon [Bot] and 25 guests