Search found 80 matches

Search found 80 matches

Re: shipping estimator expanded by default

adibranch wrote:
Wed Jul 11, 2018 9:26 pm
Hi, on the cart page, is there any way to have shipping estimator expanded by default?
Change the class from "panel-collapse collapse" to "panel-collapse collapse in" of id "collapse-shipping" in the twig file of that component

Jump to post
  • Thu Sep 12, 2024 8:10 am
  • Replies 10
  • Views 873
Re: on the product page,how to make the auto-added white space for product image to be black?

thanks for reply, what you said is the sam as what chatGPT4,i also feel it is the right solution ,but no good luck,still show white space. i have go to system/library/image.php ,and change $background = imagecolorallocate($this->image, 255, 255, 255); to $background = imagecolorallocate($this->imag...

Jump to post
  • Mon Sep 09, 2024 1:40 pm
  • Replies 9
  • Views 566
Re: Opencart 3.0.4.0 no theme - Clients do not receive automated emails

JessiesBoutique wrote:
Thu Sep 05, 2024 8:06 pm
Hi Team. I have an issue with confirmation emails not being sent when someone creates an account or makes a purchase. I do receive an email when someone uses Contact Us form so at least something is working. Any ideas where to look?
Thank you
Check if your mail events are present.

Jump to post
  • Thu Sep 05, 2024 9:57 pm
  • Replies 4
  • Views 228
Re: error.log full of cart / currency issues

Sorry! Version 3.0.3.6 <?php namespace Cart; class Currency { private $currencies = array(); public function __construct($registry) { $this->db = $registry->get('db'); $this->language = $registry->get('language'); $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "currency&quo...

Jump to post
  • Thu Sep 05, 2024 10:00 am
  • Replies 5
  • Views 231
Re: i have error in site map

dear when upload the site map i facing error This page contains the following errors: error on line 1 at column 15: Extra content at the end of the document Below is a rendering of the page up to the first error. Warning this my link https://awtadsec.com/sitemap.xml kindly find attached sitemap fil...

Jump to post
  • Thu Sep 05, 2024 7:01 am
  • Replies 3
  • Views 183
Re: Synchronization of wordpress articles in opencart 3

"it should be automatically added to opencart."

added where exactly?

Jump to post
  • Wed Aug 28, 2024 4:04 pm
  • Replies 4
  • Views 220
Re: dissalow ordering more than in_stock

Hi, i would like to check if user will add to cart less that current stock which i did by editing file catalog/view/theme/journal3/template/product/product.twig ...... $('#button-cart, [data-quick-buy]').on('click', function () { var $btn = $(this); var maximum_quantity = jQuery("#product-quan...

Jump to post
  • Wed Aug 28, 2024 4:03 pm
  • Replies 7
  • Views 274
Re: Error

Thanks all. Coding was the issue...I thought it was a hack because this code has been running for 3 months and this is the first time this issue popped up. It looks like a string with an apostrophe was a part of the variable this time around. At least I'm assuming that is the reason because I can't...

Jump to post
  • Thu Aug 22, 2024 8:16 am
  • Replies 9
  • Views 999
Re: Error

paulfeakins wrote:
Wed Aug 21, 2024 7:42 pm
nonnedelectari wrote:
Wed Aug 21, 2024 1:49 pm
Why would an sql syntax error be a hack attempt?
I'm not saying this one is a hack attempt, but have you not heard of SQL injection?
Is that a rhetorical question?

Jump to post
  • Wed Aug 21, 2024 9:41 pm
  • Replies 9
  • Views 999
Re: Error

You would need to find the query that has the issue. Could be a modification to the one in catalog/model/tool/online.php. It's not necessary a hack attempt, especially if you are seeing the error when browsing your site, but could point to a query that is vulnerable. The default query in online.php...

Jump to post
  • Wed Aug 21, 2024 4:15 pm
  • Replies 9
  • Views 999
Re: Error

I saw the following OC error log. I believe it is from a hack attempt. I see it popped up twice. Any idea how to prevent this? PHP Warning: mysqli::query(): (42000/1064): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to u...

Jump to post
  • Wed Aug 21, 2024 1:49 pm
  • Replies 9
  • Views 999
Re: Odd javascript behavior help

You realize that after setting a cookie, it is only returned on the next request, not instantanious.

Jump to post
  • Fri Aug 02, 2024 8:29 am
  • Replies 11
  • Views 675
Re: Choose specific language when load an extension's controler

Hello, I am working on OC 3.0.3.8 It's the first time that i attempt to pass data from an extension (shipping extension) to the order info page. So basically I am trying to pass the tracking number and some other info from the extension to the order info page. As I understand I need to pass the dat...

Jump to post
  • Fri Jul 26, 2024 8:44 am
  • Replies 8
  • Views 661
Re: Calling config information

When I use "$this->config->get()", is that doing a database query every time, or is that calling an array of info or something? Config is an object which is loaded into memeory at the beginning of a request, in framework.php I believe. So, no, the database is not queried every time you us...

Jump to post
  • Thu Jul 25, 2024 10:03 pm
  • Replies 3
  • Views 658
Re: Choose specific language when load an extension's controler

Hello, I am working on OC 3.0.3.8 It's the first time that i attempt to pass data from an extension (shipping extension) to the order info page. So basically I am trying to pass the tracking number and some other info from the extension to the order info page. As I understand I need to pass the dat...

Jump to post
  • Thu Jul 25, 2024 11:09 am
  • Replies 8
  • Views 661
Re: database update problem

depends on what you are posting. I edited the OP while you were posting. If you use $this->model_setting_setting->editSetting('site_guard_srl', $this->request->post); your post key variable should start with site_guard_srl in other words. $this->model_setting_setting->editSetting() does not allow y...

Jump to post
  • Wed Jul 24, 2024 11:41 pm
  • Replies 6
  • Views 477
Re: database update problem

I'm doing my first mod with an admin page and using the settings table in the database. I want to change the code name for my settings, but once I change it the settings are no longer saving until I change it back. Ex. I have it working like: if (($this->request->server['REQUEST_METHOD'] == 'POST')...

Jump to post
  • Wed Jul 24, 2024 9:43 pm
  • Replies 6
  • Views 477
Re: Customers unable to log in

mattltm wrote:
Tue Jul 23, 2024 10:09 pm
Thank you for taking the time to verify the issue for me. I have deactivated the email verification mod and tested but it still fails at login.
checked your OC and php error logs?

Jump to post
  • Wed Jul 24, 2024 7:13 pm
  • Replies 9
  • Views 678
Re: GSC add sitemap - not valid

I use the opencart module for sitemap harvesting. It generates the file but you can't add it to the GSC. XML file: https://skaiciumenas.lt/index.php?route=extension/feed/google_sitemap OC version: 3.0.3.8 I check the validity of the XML file here: https://www.xml-sitemaps.com/validate-xml-sitemap.h...

Jump to post
  • Fri Jul 19, 2024 8:26 pm
  • Replies 11
  • Views 1315
Re: Any one know what would make DIR_CATALOG, that is clearly defined, throw Undefined Constant

Thank you guys for the tips. @nonnedelectari , I located it in two config.php files though one appears to be a backup. Noted that the DIR_TEMPLATE has a different definition in config.php from the front end version of the define I'm using, as @JNeuhoff explained. I haven't located the file that def...

Jump to post
  • Fri Jul 19, 2024 7:39 pm
  • Replies 8
  • Views 1407

Search found 80 matches