Search found 30 matches

Search found 30 matches

Re: Injected code - How to remove?

ADD Creative wrote:
Thu Jun 11, 2020 6:24 am
Looks more like it was added by a browser extension.
it was shown in different browsers in many computers.

Jump to post
  • Fri Jun 12, 2020 4:16 am
  • Replies 6
  • Views 1779
Re: Injected code - How to remove?

rjcalifornia wrote:
Wed Jun 10, 2020 12:46 pm

Strange. May be a theme or some extension?
i don't think so, the site was copied exactly same.

Jump to post
  • Thu Jun 11, 2020 4:18 am
  • Replies 6
  • Views 1779
Re: Injected code - How to remove?

rjcalifornia wrote:
Sat May 02, 2020 2:31 am
That code belongs to an npm package called js-beautify:

https://github.com/beautify-web/js-beautify/issues/1727

Does OpenCart uses it?
I don't know and never figured out a solution. After moving the site to new server, that disappeared.

Jump to post
  • Wed Jun 10, 2020 4:14 am
  • Replies 6
  • Views 1779
Injected code - How to remove?

Hello I noticed an unusual frame on the bottom of my website. Inspecting the code, i found this <div> injected: https://i.postimg.cc/PCz6wwQs/Screenshot-20200429-233912.jpg the whole js is eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):...

Jump to post
  • Thu Apr 30, 2020 4:44 am
  • Replies 6
  • Views 1779
Re: incorrect mail message in admin marketing mail OC3x

why isn't this already fixed in latest version?

Jump to post
  • Sat Mar 14, 2020 6:58 pm
  • Replies 5
  • Views 2271
Re: Problem writing to new variable on admin order form

Thanks for your info. I have already done everything you wrote, except declaring the data in catalog/controller/checkout/confirm.php . However i am using the admin panel order function, and the above file declares the data from the front side (or not only?). I added there too the $order_data['myvari...

Jump to post
  • Wed Nov 27, 2019 4:49 am
  • Replies 6
  • Views 683
Re: Problem writing to new variable on admin order form

yes, i have already declared the variable in admin/controller/sale/order.php

Code: Select all

            $data['myvariable'] = $order_info['myvariable'];
may should i add to system library like older oc versions? can't see anything relevant there.

Jump to post
  • Sun Nov 24, 2019 8:28 pm
  • Replies 6
  • Views 683
Re: Problem writing to new variable on admin order form

kestas wrote:
Thu Nov 21, 2019 2:39 pm
Where and how

Code: Select all

$data['myvariable']
is declared?
Hello. in admin/model/sale/order.php as
return array(
'myvariable' => $order_query->row['myvariable'],

Jump to post
  • Sat Nov 23, 2019 5:14 am
  • Replies 6
  • Views 683
Problem writing to new variable on admin order form

Hello. I ve created a new variable and put it when adding/editing an order from admin panel. while this variable reads properly the new varchar from the order table, it only erases the column when saving. I ve put myvariable = '" . $this->db->escape($data['myvariable']) . "' in public function addOr...

Jump to post
  • Thu Nov 21, 2019 6:29 am
  • Replies 6
  • Views 683
Re: [RELEASED] Multilingual Export/Import for OpenCart 2.x / 3.x

I installed module success fully. i have some error export tools work perfect. import tools some error please find error Uploaded spreadsheet file has validation errors! See also 'System > Tools > Error Logs' for more details. No server data has been changed. Cane you check that I have the same pro...

Jump to post
  • Mon Oct 07, 2019 2:29 am
  • Replies 994
  • Views 234902
Re: Copying forms in Admin Order Entry

opencartmart wrote:
Sun Sep 29, 2019 11:58 pm
Is this your pseudo code or real code? If this is pseudo code, please share real code. If it is real code, it does not make any sense.
this is the "real" code i tried to copy the input-firstname to input-payment-firstname when clicking the next button. sure i m not good in javascript

Jump to post
  • Mon Sep 30, 2019 12:05 am
  • Replies 3
  • Views 410
Copying forms in Admin Order Entry

Hello. I am trying to edit the admin create order page (sale/order/add) so that input-firstname gets copied in input-payment-firstname, input-payment-firstname to input-shipping-firstname, etc by just pressing the next button. I put in tpl <script> function copy() { var input-firstname = document.ge...

Jump to post
  • Sun Sep 29, 2019 10:44 pm
  • Replies 3
  • Views 410
Re: Removing email validation on admin sale/order/add

Thank you. Didn't even think of admin using the catalog controllers. In older opencart versions, validation was in every admin controller too

Jump to post
  • Sun Sep 29, 2019 6:29 pm
  • Replies 3
  • Views 310
(Solved) Removing email validation on admin sale/order/add

Hi
I am trying to remove the email validation from the admin's order creating page.
I made the field on tpl not required but still gives error that email address is invalid. I checked sales/order controller and model but can't see any validation code. What am i missing?

Jump to post
  • Sun Sep 29, 2019 7:01 am
  • Replies 3
  • Views 310
Re: How to add meta description/title to contact page?

straightlight wrote:
Sun Jun 23, 2019 7:56 pm
Not core files.
yes, i meant the files of theme. that's not our point

Jump to post
  • Sun Jun 23, 2019 9:33 pm
  • Replies 3
  • Views 689
How to add meta description/title to contact page?

Hello. The contact page of my site is https://drfix.gr/contact_us . On google, it shows like Επικοινωνήστε μαζί μας - DrFix.gr https://drfix.gr/contact_us Μετρό Γραμμή 3 (Μπλε): Στάση Νίκαια (υπό κατασκευή) ... Επισκευές σε Κινητά Τηλέφωνα, Tablet, Υπολογιστές - Laptop, Τηλεοράσεις - Οθόνες, Περιφερ...

Jump to post
  • Sun Jun 23, 2019 7:01 pm
  • Replies 3
  • Views 689
Re: vQmod extension and multi-store

guidone wrote:
Sun Mar 12, 2017 4:48 pm
Qphoria suggested me to add in the xml file simply:

if ($this->config->get('config_store_id') == 0) {
... some code here
}

any contraindication?
How exactly did you use that?

Jump to post
  • Sun Jul 08, 2018 9:24 pm
  • Replies 12
  • Views 1647
Re: Can I Sync / Link the Stock Quantities of 2 Opencart sto

Not when you use multistores. Multistores uses 1 admin area, 1 database and you can have as many storefronts running from it as you want to. See my link above on how to set it up and my stores in my signature for an example - I currently have more than 20 storefronts all running from a single openc...

Jump to post
  • Sun May 27, 2018 9:22 pm
  • Replies 9
  • Views 1724
Re: How to create a form for users to submit info + a file?

w-fa wrote:
Wed Jun 24, 2015 12:20 pm
Hi,
How can I do this tutorial for opencart 2.x.x? Is there anyone to help me?
Anybody managed to make it work on opencart 2.x? I m trying this 2 days now, nothing works properly.

Jump to post
  • Mon Jun 19, 2017 2:59 am
  • Replies 67
  • Views 58872

Search found 30 matches