Search found 25 matches

Search found 25 matches

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 531
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 531
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 531
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 531
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 906
  • Views 201572
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 338
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 338
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 251
(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 251
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 362
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 362
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 1543
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 1504
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 57144
Re: admin cannot edit orders

cyclops12 wrote:
Sat May 06, 2017 8:02 pm
I dont think its possible to scroll through the order details using the tabs at the top, but if you scroll down the page you will see a continue button which you use to goto next tab
Lol thank you. That was my problem. Stupid user interface

Jump to post
  • Sat May 06, 2017 9:40 pm
  • Replies 9
  • Views 1926
Re: admin cannot edit orders

thanks for help. I have read your instruction. It is for upgrade from 1.5 to 2.1 or 2.1 to 2.2. I have never upgraded my OC. they are fresh install of 2.1.0.2 and 2.2. Your instruction did not mention to fix cannot edit order error. Yes, it does not mention "edit orders" directly because that is a ...

Jump to post
  • Sat May 06, 2017 7:52 pm
  • Replies 9
  • Views 1926
Re: Problem with subcategory after ssl instaling

Now all work fine. This is all what need for seo url with ssl on catalog/controller/common/header.php [...] Just need domain adress instead $server I've tried so far all sorts of things, and this is the only cure. Only three items changed and everything is working properly. this doesn't fix the pro...

Jump to post
  • Sat Apr 15, 2017 1:02 am
  • Replies 11
  • Views 11275
Re: Cellpadding & cellspacing problems

yodapt wrote:
Mon Feb 16, 2015 3:50 am
Have you tried CSS?
How?

Jump to post
  • Sat Mar 04, 2017 9:58 am
  • Replies 3
  • Views 740

Search found 25 matches