I already tried adding
Code: Select all
'jan' => $result['jan']
Code: Select all
$data['products'][] = array(
I'm using Opencart 3.0.3.2
Code: Select all
'jan' => $result['jan']
Code: Select all
$data['products'][] = array(
take a visit to My Modules !
Code: Select all
'jan' => $product_info['jan'],
Code: Select all
'jan' => $product['jan'],
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Code: Select all
$data['products'][] = array(
'cart_id' => $product['cart_id'],
'thumb' => $image,
'name' => $product['name'],
'model' => $product['model'],
'option' => $option_data,
'recurring' => $recurring,
'quantity' => $product['quantity'],
'stock' => $product['stock'] ? true : !(!$this->config->get('config_stock_checkout') || $this->config->get('config_stock_warning')),
'reward' => ($product['reward'] ? sprintf($this->language->get('text_points'), $product['reward']) : ''),
'price' => $price,
'total' => $total,
'href' => $this->url->link('product/product', 'product_id=' . $product['product_id']),
'jan' => $product['jan']
);
}
In checkout/cart the products array is fed from the cart class not the product model.
Code: Select all
'jan' => $product_query->row['jan']
Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!
Users browsing this forum: No registered users and 28 guests