Search found 3264 matches

Search found 3264 matches

Re: Default language problem at Opencart 3.0.2.0

for option 1, the simplest: 1) replace your catalog/controller/common/language.php with this: <?php class ControllerCommonLanguage extends Controller { public function index() { $this->load->language('common/language'); $data['action'] = $this->url->link('common/language/language', '', $this->reques...

Jump to post
  • Fri Oct 16, 2020 11:09 pm
  • Replies 13
  • Views 8688
Re: disable purchace in countries

Instead of removing the countries, just exclude the countries from your geo zones, that produces an error message. You might want to change that message to something like: "We currently do not provide shipping to your location, due to....." $_['error_shipping'] = 'Warning: Shipping method ...

Jump to post
  • Fri Oct 16, 2020 9:59 pm
  • Replies 29
  • Views 24435
Re: Sort Admin Products Listing By Date as Default 3.0.3.6

admin/contoller/catalog/product.php -> function getList find: if (isset($this->request->get['sort'])) { $sort = $this->request->get['sort']; } else { $sort = 'pd.name'; } change to: if (isset($this->request->get['sort'])) { $sort = $this->request->get['sort']; } else { $sort = 'p.date_added'; // de...

Jump to post
  • Fri Oct 16, 2020 9:47 pm
  • Replies 3
  • Views 2455
Re: Can't save with iframe?

Would my host not block me completely then? no, if they run a security module it would just block the individual request and either give a 404 or just drop the connection. I can add the iframe to the description within the database and it works fine. If that is the case, your host is not blocking. ...

Jump to post
  • Fri Oct 16, 2020 4:16 pm
  • Replies 9
  • Views 3315
Re: Error: A theme has not been assigned to this store! + Admin part really slow

yes, you don't need sass unless you have scss files that need compiling, from extensions perhaps.
Other than that it just recompiles the bootstrap stuff again and again.

Jump to post
  • Fri Oct 16, 2020 4:03 pm
  • Replies 8
  • Views 6009
Re: Upgrade Item Quantity in Cart fails

yes, that makes sense with:
<form action="https://harbor-sales.com/index.php?rout ... /cart/edit" method="post" enctype="multipart/form-data">
from http and www

still, I see no CORS errors reported in the console.

Jump to post
  • Fri Oct 16, 2020 3:56 pm
  • Replies 11
  • Views 3327
Re: Header Menu

I think that is a typical template challenge.

Jump to post
  • Fri Oct 16, 2020 2:25 pm
  • Replies 3
  • Views 1835
Re: Modifications Refresh

If you add the retrieved/recovered modification file to your modification directory and it gives a 500, no use converting it to a cmod. Better let it stay there while troubleshooting the 500 error by checking your php error log (not your oc error log and certainly not your access log). Then, after y...

Jump to post
  • Fri Oct 16, 2020 2:23 pm
  • Replies 9
  • Views 4075
Re: Upgrade Item Quantity in Cart fails

I think the problem is in your checkout/cart/edit function.

Jump to post
  • Fri Oct 16, 2020 2:13 pm
  • Replies 11
  • Views 3327
Re: Add custom product in admin page

No, you cannot add products which do not exist in your product table to an order. We also have unique products we cannot restock but we just set the status to sold when the stock goes to zero iso out of stock and no longer show them when sold. But we have to have those products defined in order to u...

Jump to post
  • Fri Oct 16, 2020 2:09 pm
  • Replies 3
  • Views 2111
Re: Default language problem at Opencart 3.0.2.0

There are two ways to do that (controller common/language): 1) instead of just adding the current url as redirect url to the language form, you have to add the seo urls of all you languages to that form (function index). Then when a language code is selected find the seo url belonging to that code f...

Jump to post
  • Fri Oct 16, 2020 10:49 am
  • Replies 13
  • Views 8688
Re: Abandoned Carts

It is a good idea to contact the customer and reinitiate the purchase process where he/she may left.
No it isn't.

Jump to post
  • Fri Oct 16, 2020 12:55 am
  • Replies 16
  • Views 4306
Re: Apply product Special prices to all Customer Groups

I believe Daniel deserves to make something from his work
With all due respect and I mean due, not really, that character is a narcissistic idiot.

Jump to post
  • Fri Oct 16, 2020 12:53 am
  • Replies 16
  • Views 4653
Re: Apply product Special prices to all Customer Groups

Would it not be simpler to just use if ps.customer_group_id is greater than 0 ?
No, because you can assign the special to a specific customer group or to All.
If you use ps.customer_group_id is greater than 0, it is always All.

Jump to post
  • Fri Oct 16, 2020 12:48 am
  • Replies 16
  • Views 4653
Re: Apply product Special prices to all Customer Groups

Apparently, you can't create customer group with ID 0, because customer_group_id is auto increment field in customer_group table, which starts at 1. Apparently you are not the most inventive member, just create the group, go to your database, change the id in customer_group and customer_group_descr...

Jump to post
  • Fri Oct 16, 2020 12:41 am
  • Replies 16
  • Views 4653
Re: Apply product Special prices to all Customer Groups

Add a customer group called All, give it id 0 so it is easy to remember. then change all product and special queries where it says: AND ps.customer_group_id = '" . (int)$this->config->get('config_customer_group_id') . "' ... to AND (ps.customer_group_id = '" . (int)$this->config->get(...

Jump to post
  • Thu Oct 15, 2020 9:06 pm
  • Replies 16
  • Views 4653
Re: Improve shopping cart and checkout mobile view

well, I would start by changing: <div class="table-responsive"> to: <div> as I stated earlier, that table responsive class makes it horizonal scroll-able, that we remove. Then the table is too wide of course on small screens so we start hiding columns while making the content of those colu...

Jump to post
  • Thu Oct 15, 2020 7:45 pm
  • Replies 12
  • Views 8820
Re: Abandoned Carts

right but an abandoned cart only tells you what they were interested in, not why they lost interest.

Jump to post
  • Thu Oct 15, 2020 3:52 pm
  • Replies 16
  • Views 4306
Re: My site is opening very slowly

Looking at your site, I think that speed is the least of your problems.

Jump to post
  • Thu Oct 15, 2020 2:47 pm
  • Replies 6
  • Views 2327

Search found 3264 matches