Answer the question
In order to leave comments, you need to log in
Why is $spec duplicated?
Hey! Made a $special output in the order email, order.php controller.
$product_query = $this->db->query("SELECT price FROM " . DB_PREFIX . "product_special WHERE product_id = '" . (int)$product['product_id'] . "'");
foreach ($product_query->rows as $prodquery) {
$special = $prodquery['price'];
}
'special' => $special,
echo $product['special'];
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question