News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Change shipment method and shipment method's data for an order from admin?

Started by sandomatyas, December 28, 2021, 14:21:36 PM

Previous topic - Next topic

sandomatyas

Is there a way to change a shipment method for an existing order from admin area?
Like the customer placed an order and selected 'pickup from store' method but changed his mind and wanted to receive the order via courier company which is an other shipment method. As far as I can see I can edit the shipment fee but not the shipment method itself.

Also looking for a solution to change the data stored in the corresponding data table like #__virtuemart_shipment_plg_myplugin
Like if the customer from the example above doesn't want to change the 'pickup from store' method but wants to change which store does he choosed. This is a custom data stored from the cart in #__virtuemart_shipment_plg_myplugin
Any option to change that?

GJC Web Design

QuoteLike if the customer from the example above doesn't want to change the 'pickup from store' method but wants to change which store does he choosed. This is a custom data stored from the cart in #__virtuemart_shipment_plg_myplugin

the api for an extended VM plugin allows just about any possibility...
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

sandomatyas

Yep :) Is there any existing plugin for that or should I write a new one?

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Studio 42

Quote from: sandomatyas on December 29, 2021, 07:15:37 AM
Yep :) Is there any existing plugin for that or should I write a new one?
I wrote something near for a customer because he use own multiple stores pickup
I use for this a new table with the list of pickups, added the pickup ID in the table #__virtuemart_shipment_plg_myplugin
i wrote a new module so each pickup can see own orders and change the statut in the front end. I use user group to restrict access to this module
I think it's what you need ?

Studio 42

You can use directly the batch tool if you have no SKu
In the Product Pricing TAB, input the price "x0.8333" to remove 20%
To calculate your value; use this formular :
price with vat / (1 + Vax Tax) = price  no vat
VM Be pro can process 1000 products per batch(you can set this in the component options)