Re: 3.0.3.x Issues and Bugs
Posted: Tue Apr 16, 2019 6:13 am
That is the case for every OC releases.Does this mean that we still need to confirm and fix it ourselves?
OpenCart Community Forum - Discuss shopping cart and e-commerce solutions.
https://forum.opencart.com/
That is the case for every OC releases.Does this mean that we still need to confirm and fix it ourselves?
Even a company as big as Microsoft does to some extent:
I don't see how relevant it's related to a core issue. This topic is for the core.papegaai01 wrote: ↑Mon Jul 08, 2019 7:41 pmHi,
I have installed VQmod 2.6.4 on a fresh Opencart 3.0.3.2 but after installation i cannot log in to the admin and my site is not loading.
Any ideas?
Even so, I think this is still necessary.paulfeakins wrote: ↑Mon Apr 29, 2019 4:33 pmEven a company as big as Microsoft does to some extent:
"Remember when Microsoft's disastrous Windows 10 October Update removed entire user folders like documents and photos? Or the Surface Book 2 owners who had their systems rendered useless from update KB4467682? This happened because users were manually checking for updates and not waiting for the update to get automatically triggered. Why is this a big deal? Because the average Windows user believes that's a safe way to get their system updates as soon as possible. Unfortunately, it's the exact opposite, and Microsoft's Corporate President for Windows has admitted it in a recent blog post."
https://www.forbes.com/sites/jasonevang ... e-updates/
This is what this forum is all about. However, while feature requests does have its own forum section, only those that will be considered might be implemented in a future OC release eventually since Change Management are not only about users requests but also based on Industrial changes from service providers.Because it’s very important to discuss the content of the changes in each step, What do you think?
I use a new installation, have not installed any extension software.No mention about installed extensions or whether this video originates from a fresh install.
Nobody is able to reproduce your error. You are not telling us the whole story here. This is not a bug in Opencart.
I have reinstalled and the results remain the same.Nobody is able to reproduce your error. You are not telling us the whole story here. This is not a bug in Opencart.
Try to do a complete fresh installation of OC 3.0.3.2 , without 3rd party extensions, and then test adding layouts again.
I have just tried on Chrome - still working perfectly - but I do not have windows
Regarding the master branch, please report those issues in a new / already existing opened commit in the Opencart Github community.
OC version?moshair wrote: ↑Fri Apr 03, 2020 5:58 amI noticed that the added custom fields doesn't exists on the order (invoice) print page. So I should write them on that printed page.
It is important to include the custom fields I added like Building Number, Street, and Apartment No.) because I also give that printed invoice the delivery man.
Thank you, it is 3.0.3.2straightlight wrote: ↑Fri Apr 03, 2020 5:59 amOC version?moshair wrote: ↑Fri Apr 03, 2020 5:58 amI noticed that the added custom fields doesn't exists on the order (invoice) print page. So I should write them on that printed page.
It is important to include the custom fields I added like Building Number, Street, and Apartment No.) because I also give that printed invoice the delivery man.
Code: Select all
foreach ($orders as $order_id) {
Code: Select all
$this->load->model('customer/custom_field');
Code: Select all
$data['orders'][] = array(
Code: Select all
$account_custom_fields = array();
$filter_data = array(
'sort' => 'cf.sort_order',
'order' => 'ASC'
);
$custom_fields = $this->model_customer_custom_field->getCustomFields($filter_data);
foreach ($custom_fields as $custom_field) {
if ($custom_field['location'] == 'account' && isset($order_info['custom_field'][$custom_field['custom_field_id']])) {
if ($custom_field['type'] == 'select' || $custom_field['type'] == 'radio') {
$custom_field_value_info = $this->model_customer_custom_field->getCustomFieldValue($order_info['custom_field'][$custom_field['custom_field_id']]);
if ($custom_field_value_info) {
$account_custom_fields[] = array(
'name' => $custom_field['name'],
'value' => $custom_field_value_info['name']
);
}
}
if ($custom_field['type'] == 'checkbox' && is_array($order_info['custom_field'][$custom_field['custom_field_id']])) {
foreach ($order_info['custom_field'][$custom_field['custom_field_id']] as $custom_field_value_id) {
$custom_field_value_info = $this->model_customer_custom_field->getCustomFieldValue($custom_field_value_id);
if ($custom_field_value_info) {
$account_custom_fields[] = array(
'name' => $custom_field['name'],
'value' => $custom_field_value_info['name']
);
}
}
}
if ($custom_field['type'] == 'text' || $custom_field['type'] == 'textarea' || $custom_field['type'] == 'file' || $custom_field['type'] == 'date' || $custom_field['type'] == 'datetime' || $custom_field['type'] == 'time') {
$account_custom_fields[] = array(
'name' => $custom_field['name'],
'value' => $order_info['custom_field'][$custom_field['custom_field_id']]
);
}
if ($custom_field['type'] == 'file') {
$upload_info = $this->model_tool_upload->getUploadByCode($order_info['custom_field'][$custom_field['custom_field_id']]);
if ($upload_info) {
$account_custom_fields[] = array(
'name' => $custom_field['name'],
'value' => $upload_info['name']
);
}
}
}
}
// Custom fields
$payment_custom_fields = array();
foreach ($custom_fields as $custom_field) {
if ($custom_field['location'] == 'address' && isset($order_info['payment_custom_field'][$custom_field['custom_field_id']])) {
if ($custom_field['type'] == 'select' || $custom_field['type'] == 'radio') {
$custom_field_value_info = $this->model_customer_custom_field->getCustomFieldValue($order_info['payment_custom_field'][$custom_field['custom_field_id']]);
if ($custom_field_value_info) {
$payment_custom_fields[] = array(
'name' => $custom_field['name'],
'value' => $custom_field_value_info['name'],
'sort_order' => $custom_field['sort_order']
);
}
}
if ($custom_field['type'] == 'checkbox' && is_array($order_info['payment_custom_field'][$custom_field['custom_field_id']])) {
foreach ($order_info['payment_custom_field'][$custom_field['custom_field_id']] as $custom_field_value_id) {
$custom_field_value_info = $this->model_customer_custom_field->getCustomFieldValue($custom_field_value_id);
if ($custom_field_value_info) {
$payment_custom_fields[] = array(
'name' => $custom_field['name'],
'value' => $custom_field_value_info['name'],
'sort_order' => $custom_field['sort_order']
);
}
}
}
if ($custom_field['type'] == 'text' || $custom_field['type'] == 'textarea' || $custom_field['type'] == 'file' || $custom_field['type'] == 'date' || $custom_field['type'] == 'datetime' || $custom_field['type'] == 'time') {
$payment_custom_fields[] = array(
'name' => $custom_field['name'],
'value' => $order_info['payment_custom_field'][$custom_field['custom_field_id']],
'sort_order' => $custom_field['sort_order']
);
}
if ($custom_field['type'] == 'file') {
$upload_info = $this->model_tool_upload->getUploadByCode($order_info['payment_custom_field'][$custom_field['custom_field_id']]);
if ($upload_info) {
$payment_custom_fields[] = array(
'name' => $custom_field['name'],
'value' => $upload_info['name'],
'sort_order' => $custom_field['sort_order']
);
}
}
}
}
// Shipping
$shipping_custom_fields = array();
foreach ($custom_fields as $custom_field) {
if ($custom_field['location'] == 'address' && isset($order_info['shipping_custom_field'][$custom_field['custom_field_id']])) {
if ($custom_field['type'] == 'select' || $custom_field['type'] == 'radio') {
$custom_field_value_info = $this->model_customer_custom_field->getCustomFieldValue($order_info['shipping_custom_field'][$custom_field['custom_field_id']]);
if ($custom_field_value_info) {
$shipping_custom_fields[] = array(
'name' => $custom_field['name'],
'value' => $custom_field_value_info['name'],
'sort_order' => $custom_field['sort_order']
);
}
}
if ($custom_field['type'] == 'checkbox' && is_array($order_info['shipping_custom_field'][$custom_field['custom_field_id']])) {
foreach ($order_info['shipping_custom_field'][$custom_field['custom_field_id']] as $custom_field_value_id) {
$custom_field_value_info = $this->model_customer_custom_field->getCustomFieldValue($custom_field_value_id);
if ($custom_field_value_info) {
$shipping_custom_fields[] = array(
'name' => $custom_field['name'],
'value' => $custom_field_value_info['name'],
'sort_order' => $custom_field['sort_order']
);
}
}
}
if ($custom_field['type'] == 'text' || $custom_field['type'] == 'textarea' || $custom_field['type'] == 'file' || $custom_field['type'] == 'date' || $custom_field['type'] == 'datetime' || $custom_field['type'] == 'time') {
$shipping_custom_fields[] = array(
'name' => $custom_field['name'],
'value' => $order_info['shipping_custom_field'][$custom_field['custom_field_id']],
'sort_order' => $custom_field['sort_order']
);
}
if ($custom_field['type'] == 'file') {
$upload_info = $this->model_tool_upload->getUploadByCode($order_info['shipping_custom_field'][$custom_field['custom_field_id']]);
if ($upload_info) {
$shipping_custom_fields[] = array(
'name' => $custom_field['name'],
'value' => $upload_info['name'],
'sort_order' => $custom_field['sort_order']
);
}
}
}
}
Code: Select all
'payment_method' => $order_info['payment_method'],
Code: Select all
'account_custom_fields' => $account_custom_fields,
'shipping_custom_fields' => $shipping_custom_fields,
'payment_custom_fields' => $payment_custom_fields,
Code: Select all
<b>{{ text_email }}</b> {{ order.store_email }}<br />
Code: Select all
{% if order.account_custom_fields %}
<table class="table table-bordered">
<thead>
<tr>
<td colspan="2">{{ text_account_custom_field }}</td>
</tr>
</thead>
<tbody>
{% for custom_field in order.account_custom_fields %}
<tr>
<td>{{ custom_field.name }}</td>
<td>{{ custom_field.value }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<br />
{% endif %}
Code: Select all
<b>{{ text_payment_method }}</b> {{ order.payment_method }}<br />
Code: Select all
{% if order.payment_custom_fields %}
<table class="table table-bordered">
<thead>
<tr>
<td colspan="2">{{ text_payment_custom_field }}</td>
</tr>
</thead>
<tbody>
{% for custom_field in order.payment_custom_fields %}
<tr>
<td>{{ custom_field.name }}</td>
<td>{{ custom_field.value }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<br />
{% endif %}
Code: Select all
<b>{{ text_shipping_method }}</b> {{ order.shipping_method }}
Code: Select all
{% if order.shipping_custom_fields %}
<table class="table table-bordered">
<thead>
<tr>
<td colspan="2">{{ text_shipping_custom_field }}</td>
</tr>
</thead>
<tbody>
{% for custom_field in order.shipping_custom_fields %}
<tr>
<td>{{ custom_field.name }}</td>
<td>{{ custom_field.value }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}