Instalei na loja 1.5.1.3 e apresentou o seguinte erro...
Código: Selecionar todos<b>Notice</b>: Undefined index: value in <b>/home/seguranc/public_html/eshop/catalog/controller/payment/moip.php</b> on line <b>81</b>
E esta linha possui o seguinte código:
Código: Selecionar todos foreach ($this->cart->getProducts() as $product) {
$option_data = array();
foreach ($product['option'] as $option) {
$option_data[] = array(
'name' => $option['name'],
'value' => $option['value']
);
}
$this->data['products'][] = array(
'descricao' => htmlentities($product['name'], ENT_COMPAT, 'UTF-8'),
'valor' => $this->currency->format($this->tax->calculate($product['price'], $product['tax_class_id'], $this->config->get('config_tax'))),
//'disconto' => ($product['discount'] ? $this->currency->format($this->tax->calculate($product['price'] - $product['discount'], $product['tax_class_id'], $this->config->get('config_tax'))) : NULL),
'quantidade' => $product['quantity'],
'option' => $option_data,
'id' => $product['product_id'],
'peso' => $this->weight->convert($product['weight'], $product['weight_class_id'], $this->config->get('config_weight_class')),
//'discontos' => ($product['discount'] ? $this->currency->format($product['price'] - $product['discount']) : NULL)
);
}