Post by ahmedatwa » Mon May 09, 2016 4:15 pm

Hi All,

I need to join another table in this function with a name vendors, is that possible

Code: Select all

public function getProducts($data = array()) {
		$sql = "SELECT * FROM " . DB_PREFIX . "product p LEFT JOIN " . DB_PREFIX . "product_description pd ON (p.product_id = pd.product_id) WHERE pd.language_id = '" . (int)$this->config->get('config_language_id') . "'";

New member

Posts

Joined
Sat Mar 05, 2016 5:22 pm
Who is online

Users browsing this forum: No registered users and 9 guests