Search found 3264 matches

Search found 3264 matches

Re: Warning Error

in admin/controller/extension/extension/promotion.php
add:

Code: Select all

return '';
after:

Code: Select all

public function index() {

Jump to post
  • Thu Oct 08, 2020 10:53 pm
  • Replies 17
  • Views 4057
Re: Slow Site

Your TTFB takes a consistent 16 to 18 seconds. That is how long it takes for your html to arrive. After that it is pretty ok but everything starts after that. This could be caused by anything from a slow, 1) network 2) server 3) web server 4) database 5) php script or a combination of the above. no ...

Jump to post
  • Thu Oct 08, 2020 10:41 pm
  • Replies 8
  • Views 1230
Re: Constructing Absolute Image URL for Product in TWIG file

cookie-free images, i.e. cookieless domains become absolutely useless when you start using http/2. That aside, that controller already creates the absolute url for the resized product image: $this->load->model('tool/image'); if ($product_info['image']) { $data['popup'] = $this->model_tool_image->res...

Jump to post
  • Thu Oct 08, 2020 1:09 pm
  • Replies 5
  • Views 1615
Re: Improve shopping cart and checkout mobile view

adjusted is here: https://www.crystallight.com.tw/co/en/ the adjusted twig part of the cart twig file is like this: <div> <table class="table table-hover"> <thead> <tr> <td></td> <td class="text-left"></td> <td class="text-left hidden-xs hidden-sm">{{ column_model }}</t...

Jump to post
  • Thu Oct 08, 2020 10:44 am
  • Replies 12
  • Views 7578
Re: Display Customer Joined Date

in catalog/controller/account/account.php before: $data['column_left'] = $this->load->controller('common/column_left'); add: $customer_info = $this->model_account_customer->getCustomer($this->customer->getId()); $data['member'] = $customer_info['firstname'].' '.$customer_info['lastname']; $data['mem...

Jump to post
  • Thu Oct 08, 2020 9:42 am
  • Replies 4
  • Views 811
Re: Improve shopping cart and checkout mobile view

The OP is right, the default cart page on small screens requires horizontal scrolling which is absolutely crap and a UI no-no, whoever passed that thru UI QA.
We solved that by removing the table-responsive and using the hidden- and visible- classes to change the look on small/large screens.

Jump to post
  • Thu Oct 08, 2020 8:57 am
  • Replies 12
  • Views 7578
Re: SEO links not working properly

Default OC can translate seo keywords to a route, it just does not translate a route to a keyword. In order to do that you need to add code to catalog/controller/startup/seo_url.php you change this: } elseif ($key == 'path') { $categories = explode('_', $value); foreach ($categories as $category) { ...

Jump to post
  • Tue Oct 06, 2020 11:28 pm
  • Replies 4
  • Views 3968
Re: Remove IP from customer invoices

the proforma invoice aka the order confirmation email.

Jump to post
  • Tue Oct 06, 2020 6:02 pm
  • Replies 9
  • Views 2182
Re: Remove IP from customer invoices

just remove:

Code: Select all

<b>{{ text_ip }}</b> {{ ip }}<br />
from catalog/view/theme/default/template/mail/order_add.twig

Jump to post
  • Tue Oct 06, 2020 5:49 pm
  • Replies 9
  • Views 2182
Re: Help with page redirects to spam sites

Maybe tell those customers to stop downloading crap on their mobile phones.
There is nothing to suggest this comes via your site.

PS. I would reconsider the moving balls on every page request, hyper annoying.

Jump to post
  • Mon Oct 05, 2020 8:24 pm
  • Replies 6
  • Views 817
Re: Remove shipping costs from checkout total

perhaps it would be handy to be able to enter a shipping address.

Jump to post
  • Mon Oct 05, 2020 4:01 pm
  • Replies 21
  • Views 6132
Re: can i delete session table data

If you want to use the database I would suggest to add a __destruct function to the session db class as the current gc function does not function. public function __destruct() { if (ini_get('session.gc_divisor')) $gc_divisor = ini_get('session.gc_divisor'); else $gc_divisor = 1; if (ini_get('session...

Jump to post
  • Mon Oct 05, 2020 3:32 pm
  • Replies 23
  • Views 15533
Re: [NOT SUPPORTED] Cannot modify Image size in Categories (Journal)

get bigger images, 100x100 is rather small or very blurry at 100% width.

Jump to post
  • Sun Oct 04, 2020 11:05 pm
  • Replies 7
  • Views 1082
Re: Opencart 3 with managed database via SSL

only useful if your database is on a different server.

Jump to post
  • Sat Oct 03, 2020 10:40 pm
  • Replies 3
  • Views 826
Re: Why One Should Avoid Journal?

My stance is simple: There are issues which are clearly 3rd party template related at first glance, leave it. There are issues which are clearly OC related at first glance, support if you can. There are issues not so clearly attributable to either at first glance, find out first. I don't think it is...

Jump to post
  • Sat Oct 03, 2020 10:06 pm
  • Replies 52
  • Views 20062
Re: Double order records in order_product table. Opencart 3.0.3.1.

You are correct, because the original code is in the cart class construct function, it is executed on every request, catalog and admin, as it is loaded in both startup controllers.

Jump to post
  • Sat Oct 03, 2020 9:00 pm
  • Replies 3
  • Views 495

Search found 3264 matches