Search found 44 matches

Search found 44 matches

Custom Option Value - Admin Order Form Issue

I'm using Opencart 2.1.0.2. I have developed a custom option with type=number and name of quantity that reflects the checkbox code. This is working wonderfully. (It adds correctly from the add order button in the administration and from the front of the store) However, I have noticed that if I go to...

Jump to post
  • Mon Jul 04, 2016 10:56 pm
  • Replies 1
  • Views 1240
Browser Compatibility? [SOLVED]

I'm thinking of switching from 1.5.6.4 to 2.x However, a handful of our customers still use Windows XP and IE 8. Is there a list of browser compatibility for Opencart 2.x that I can check? Or does this mostly depend on the template? Or does anyone know if Opencart 2.x can support Windows XP and IE 8...

Jump to post
  • Wed Mar 23, 2016 1:07 am
  • Replies 1
  • Views 177
Adding account custom fields to Order Invoice

I have successfully added the account custom fields (built into Opencart 2.x) to the order invoice. I have done this through vqmod. They appear correctly when I manually select however many invoices I want to print. However, if I select the select all checkbox on the order list page then print the i...

Jump to post
  • Wed Mar 02, 2016 11:32 pm
  • Replies 0
  • Views 1165
Bulk "Refresh" Order Totals?

I have a separate order list for a very specific set of orders. These orders have their own library>cart, php tables, controller, etc. We use this list to track subscriptions then, every 3 months, we push them to the normal order list built into Opencart. We use this rather than the Opencart recurri...

Jump to post
  • Wed Feb 24, 2016 9:09 am
  • Replies 0
  • Views 173
Coupon not updating order total in Edit Order

I am using Opencart 2.0.3.1 When I go to edit an order in the backend (we had to add a coupon to an already existing order) and add the coupon, it does not update the roder total in the database when I hit "save". However, the coupon is registered in the order totals. Any idea where this needs to be...

Jump to post
  • Wed Jan 06, 2016 10:36 pm
  • Replies 0
  • Views 1049
Re: Push Custom Product Field to oc_order_product

Thanks for the help! After updating the files you mentioned, I am now receiving the following error: <b>Notice</b>: Undefined index: source_code in <b>...system/modification/catalog/model/checkout/order.php</b> on line <b>24</b> Line 24 is the following: $this->db->query("INSERT INTO " . DB_PREFIX ....

Jump to post
  • Wed Dec 30, 2015 12:44 am
  • Replies 3
  • Views 555
Push Custom Product Field to oc_order_product

I have successfully created a custom product field. However, I am having issues pushing this product field to the oc_order_product table to use on an invoice. I have attempted adding the custom field to the following files with no luck: admin/constroller/sale/order.php catalog/controller/checkout/ca...

Jump to post
  • Tue Dec 29, 2015 11:46 pm
  • Replies 3
  • Views 555
Re: Trouble adding custom field to order history

So I found out today that the "check_number" form is sending its data to the "notify" column in Opencart whereas the "notify" input box is sending its data to the custom "check_number" column.

Anyone know why my code is making it switch data?

Jump to post
  • Tue Dec 08, 2015 11:32 pm
  • Replies 6
  • Views 1317
Re: Trouble adding custom field to order history

Anybody know why I receive a "0" as the output rather than my input?

Jump to post
  • Mon Dec 07, 2015 10:58 pm
  • Replies 6
  • Views 1317
Re: Trouble adding custom field to JSON script

Oh! I did not realize that existed. I have added it to that function. I also found that I forgot to add it to the checkout/order.php file. I have done so, and now I receive a "0" in the database, rather than what I have typed in.

I have attached my vqmod for convenience.

Jump to post
  • Wed Dec 02, 2015 10:59 pm
  • Replies 6
  • Views 1317
[Answered] Trouble adding custom field to order history

Hello all, I am attempting to add a custom field to the order history. I have successfully edited the language, model, and controller files. I have also added the field into my order_history database, mimicking the "comment" field. However, I am having trouble getting the json script at the end of t...

Jump to post
  • Wed Dec 02, 2015 1:23 am
  • Replies 6
  • Views 1317
Re: Push Updated Product Price to Old Orders

Updated my code and no longer receiving any errors; however it's not updating the total in the order_product database. $product_qry = $this->db->query("SELECT price FROM " . DB_PREFIX . "product WHERE product_id = '" . (int)$product_id . "'"); $new_price = $product_qry->row['price']; $order_product_...

Jump to post
  • Thu Oct 08, 2015 10:58 pm
  • Replies 1
  • Views 1558
Push Updated Product Price to Old Orders

We use a 2.0.3.1 install of OC to keep track of subscriptions only (Recurring Module does not have the ability to edit and change orders so it's not going to work). However, when we change the product prices they need to push to past orders so that the orders will be constantly updating for current ...

Jump to post
  • Wed Oct 07, 2015 11:25 pm
  • Replies 1
  • Views 1558
Re: Custom Fields in Order History Help

As an update, I editted the following code in checkout/order.php $this->db->query("INSERT INTO " . DB_PREFIX . "order_history SET order_id = '" . (int)$order_id . "', order_status_id = '" . (int)$order_status_id . "', notify = '" . (int)$notify . "', comment = '" . $this->db->escape($comment) . "', ...

Jump to post
  • Wed Sep 23, 2015 10:45 pm
  • Replies 1
  • Views 1219
Custom Fields in Order History Help

OC 2.0.3.1 Trying to insert two custom fields into the order history. I have done the following code edits and manually entered two columns into the database(tracking_number and check_number) and it is not working. I am not getting any errors, so I'm not sure what I'm doing wrong. Any help would be ...

Jump to post
  • Wed Sep 23, 2015 12:20 am
  • Replies 1
  • Views 1219
Re: 1.5.6.4 "Add To Cart" Not Working . . .

Ah. Gotcha. I found the code and changed it to the above code, but the homepage "Add to Cart" is still not working. I don't have the ability to check the safari browser at the current moment, so I don't know if that is working or not.

Any other ideas?

Jump to post
  • Wed Jul 29, 2015 10:52 pm
  • Replies 11
  • Views 3029
Re: 1.5.6.4 "Add To Cart" Not Working . . .

Changing that made the following error:

Parse error: syntax error, unexpected 'var' (T_VAR) in /home2/bturner/public_html/vqmod/vqcache/vq2-catalog_view_theme_pav_bikestore_template_common_header.tpl on line 112

Jump to post
  • Sat Jul 25, 2015 12:40 am
  • Replies 11
  • Views 3029
Re: 1.5.6.4 "Add To Cart" Not Working . . .

In the header.tpl file, where that script should be located, all I find is this: <?php foreach( $helper->getScriptFiles() as $script ) { ?> <script type="text/javascript" src="<?php echo $script; ?>"></script> <?php } ?> <?php foreach ($scripts as $script) { ?> <script type="text/javascript" src="<?...

Jump to post
  • Sat Jul 25, 2015 12:21 am
  • Replies 11
  • Views 3029

Search found 44 matches