i have opencart 3.0.3.3 and i need to add the additional information table in admin product info page next to the other tables and not separate(scroll down and push the #tab-additional.
check image.
https://imgur.com/kffbTPB
Thank you.
Did you modified this page earlier! in default OC the page is same as you want to change. https://prnt.sc/u6ycij
Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature
Code: Select all
<div class="panel-body">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab-history" data-toggle="tab">{{ tab_history }}</a></li>
Code: Select all
<li><a href="#tab-additional" data-toggle="tab">{{ tab_additional }}</a></li>
Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature
hi and thanks for your reply, i have the tab_additional but i would like to move it at the top of the page. There are three columns: Order Details, Customer Details and Options. Between Order_details and Customer_Details i wanna add the additional_tab because i have added some custom account fields and it would be easier to check them at the top. If you check my draw image you will understand exactly what i am trying to do.khnaz35 wrote: ↑Fri Aug 28, 2020 12:02 amOn Line 206:add this:Code: Select all
<div class="panel-body"> <ul class="nav nav-tabs"> <li class="active"><a href="#tab-history" data-toggle="tab">{{ tab_history }}</a></li>
Code: Select all
<li><a href="#tab-additional" data-toggle="tab">{{ tab_additional }}</a></li>
Code: Select all
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><i class="fa fa-user"></i>{{ tab_additional }}</h3>
</div>
{% if account_custom_fields %}
<div class="table-responsive">
<table class="table table-bordered">
<thead>
<tr>
<td colspan="2">{{ text_account_custom_field }}</td>
</tr>
</thead>
<tbody>
{% for custom_field in account_custom_fields %}
<tr>
<td>{{ custom_field.name }}</td>
<td>{{ custom_field.value }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endif %}
{% if payment_custom_fields %}
<div class="table-responsive">
<table class="table table-bordered">
<thead>
<tr>
<td colspan="2">{{ text_payment_custom_field }}</td>
</tr>
</thead>
<tbody>
{% for custom_field in payment_custom_fields %}
<tr>
<td>{{ custom_field.name }}</td>
<td>{{ custom_field.value }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endif %}
{% if shipping_method and shipping_custom_fields %}
<div class="table-responsive">
<table class="table table-bordered">
<thead>
<tr>
<td colspan="2">{{ text_shipping_custom_field }}</td>
</tr>
</thead>
<tbody>
{% for custom_field in shipping_custom_fields %}
<tr>
<td>{{ custom_field.name }}</td>
<td>{{ custom_field.value }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endif %}
<div class="table-responsive">
<table class="table table-bordered">
<thead>
<tr>
<td colspan="2">{{ text_browser }}</td>
</tr>
</thead>
<tbody>
<tr>
<td>{{ text_ip }}</td>
<td>{{ ip }}</td>
</tr>
{% if forwarded_ip %}
<tr>
<td>{{ text_forwarded_ip }}</td>
<td>{{ forwarded_ip }}</td>
</tr>
{% endif %}
<tr>
<td>{{ text_user_agent }}</td>
<td>{{ user_agent }}</td>
</tr>
<tr>
<td>{{ text_accept_language }}</td>
<td>{{ accept_language }}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
Code: Select all
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><i class="fa fa-user"></i> {{ text_customer_detail }}</h3>
then adjust the "col-md-4" of all those panels so they again sum up to 12 or let them float and see if you have room for all of that.
Then delete the additional tab and content, or just leave it there.
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.
I have made it you can view https://prntscr.com/u7mpem
and download from here: https://drive.google.com/drive/folders/ ... sp=sharing
@straightlight can you guide me why am not able to attach and files from system.
Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature
More information would be needed on that.khnaz35 wrote: ↑Sat Aug 29, 2020 1:48 am
I have made it you can view https://prntscr.com/u7mpem
and download from here: https://drive.google.com/drive/folders/ ... sp=sharing
@straightlight can you guide me why am not able to attach and files from system.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I am using Macbook pro, and whenever am trying to attached a file on OC Fourm it doesn't attached. Even though its seems to be attached https://prnt.sc/u7ncp1 while pressing the button submit the file still doesn't attached to OC Fourm or PM
Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature
See by using the latest update of Google Chrome if that solves the issue.khnaz35 wrote: ↑Sat Aug 29, 2020 2:06 amI am using Macbook pro, and whenever am trying to attached a file on OC Fourm it doesn't attached. Even though its seems to be attached https://prnt.sc/u7ncp1 while pressing the button submit the file still doesn't attached to OC Fourm or PM
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Nope still doesn't work am using updated version of chrome https://prnt.sc/u7nh6vstraightlight wrote: ↑Sat Aug 29, 2020 2:10 amSee by using the latest update of Google Chrome if that solves the issue.
The strange thing is when am trying to upload .twig even doesn't able to select for uploading.
Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Thank you very much, it worked perfect.khnaz35 wrote: ↑Sat Aug 29, 2020 1:48 am
I have made it you can view https://prntscr.com/u7mpem
and download from here: https://drive.google.com/drive/folders/ ... sp=sharing
@straightlight can you guide me why am not able to attach and files from system.
You are welcomehtwp wrote: ↑Tue Sep 01, 2020 8:34 pmThank you very much, it worked perfect.khnaz35 wrote: ↑Sat Aug 29, 2020 1:48 am
I have made it you can view https://prntscr.com/u7mpem
and download from here: https://drive.google.com/drive/folders/ ... sp=sharing
@straightlight can you guide me why am not able to attach and files from system.
Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature
Users browsing this forum: No registered users and 414 guests