Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Order total not saved with custom shipping plugin
(1 viewing) (1) Guest
Support forum for customers who have purchased this product. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1
  • 2

TOPIC: Order total not saved with custom shipping plugin

Order total not saved with custom shipping plugin 10 years, 11 months ago #42498

Hello!

I am using a customized shipping plugin, which is generating AWB's on request for a selected order.
After I change something in an order(add or delete products) in VM Invoice and I hit the save button, I get the following error:

Cannot store order shipment. TableVm2OrderShipment: :store failed
Unknown column 'virtuemart_shipmentmethod_id' in 'field list' SQL=UPDATE `mr2_virtuemart_shipment_plg_cargus` SET `virtuemart_order_id`='93',`virtuemart_shipmentmethod_id`='6',`shipment_name`='Livrare cu Cargus',`modified_on`='2014-01-22 15:12:08',`modified_by`='168' WHERE `id`='98'

The changes are saved, the order itself and the order total in VM is displayed correctly(with all the modifications) but the COD(Cash On Delivery) amount(which should be the same with the order total amount) is displaying the original value(without the modifications).

Is there something I can do in order to fix this issue?
The topic has been locked.

Re: Order total not saved with custom shipping plugin 10 years, 11 months ago #42548

  • dajo
  • OFFLINE
  • Posts: 5069
Hello,

Before proceeding with the following steps, make sure to backup your database.

Try adding the column named "virtuemart_shipmentmethod_id" to "mr2_virtuemart_shipment_plg_cargus" table in your database with the following SQL query:
ALTER TABLE `mr2_virtuemart_shipment_plg_cargus` ADD COLUMN `virtuemart_shipmentmethod_id` INT(11);
ARTIO Support Team
The topic has been locked.

Re: Order total not saved with custom shipping plugin 10 years, 10 months ago #42620

Thank you for the answer. I've found the problem in the meantime. The guys who made the plugin named the column shipmentmethod_id instead of virtuemart_shipmentmethod_id. The problem is solved.
The topic has been locked.

Re: Order total not saved with custom shipping plugin 10 years, 10 months ago #42622

So...it is not solved. I am not getting any error regarding the database, but the order total amount it is still not changed. I am using VM2 standard payment module. Inside the table "mr2_virtuemart_payment_plg_standard" the "payment_order_total" column it is not updated after I change something in VMinvoice. :(
The topic has been locked.

Re: Order total not saved with custom shipping plugin 10 years, 10 months ago #42651

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

This seems to be a bug in VM Invoice. We'll fix it in next version.
I'm sorry for the inconvenience.
ARTIO Support Team
The topic has been locked.

Re: Order total not saved with custom shipping plugin 10 years, 10 months ago #42652

Hello! Thanks for the answer. I am desperately waiting for the next update. Any temp fix for it? My shipping plugin is generating the AWB's (and the COD value) based on the price form that field and everytime I edit an order I need to edit the order total manually in the database. This wouldn't be a big problem but the store has between 100 and 200 orders a day.
The topic has been locked.
  • Page:
  • 1
  • 2
User Login Empty