VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Mister Paul on January 26, 2019, 15:18:04 PM

Title: Shipment methods not well organized matters?
Post by: Mister Paul on January 26, 2019, 15:18:04 PM
Hi,

I have updated the Shipment methods.
And for this year I have new amounts + different weight sections (there was 9 and now there is 8 with different min and max)

But I did it my way: I picked some old Shipment method and edited it, and so on... but not in a progessive and continious process from 0 to 30kg.
So finally I get all the values OK... BUT not following the shipmentmethod_id chronology. They are unsorted.

... and now I am wondering if that could cause a problem for the virtuemart SQL request during shipment method cost calculation.
:-[

What do you think?


Thanks for your help
Paul
Title: Re: Shipment methods not well organized matters?
Post by: Jörgen on January 26, 2019, 15:38:12 PM
The shipment id does not matter, Your rules for shipment in each shipment option is the only thing that matter. If You have overlapping rules the decision made by customer decides. The display order is set in the Joomla plugin view. Having to rely on shipment id for ordering would be frustrating.


Jörgen @ Kreativ Fotografi
Title: Re: Shipment methods not well organized matters?
Post by: Mister Paul on January 26, 2019, 15:41:20 PM
Great.
Thanks for your answer Jörgen.
Title: Re: Shipment methods not well organized matters?
Post by: Milbo on January 30, 2019, 12:56:17 PM
Quote from: Jörgen on January 26, 2019, 15:38:12 PM
The display order is set in the Joomla plugin view.
Not completly right. It is a bit confusing. The ordering of the plugins is in joomla, but the ordering of the methods using the same plugin are in vm
Title: Re: Shipment methods not well organized matters?
Post by: Jörgen on January 30, 2019, 14:10:12 PM
Yes, this is correct. But the Vm ordering is dependent on the Joomla order. If I remember right the same type of Vm payment is placed under the Joomla ordering according to the ordering index you give in the payment options.

Jörgen @ Kreativ Fotografi
Title: Re: Shipment methods not well organized matters?
Post by: AH on January 30, 2019, 18:30:31 PM
What I see is

First display > Shipping/Payment plugin based on Joomla sequence
THEN display >>Shipping/payment method based on plugin method sequence

2 plugins with 3 methods in each
Joomla plugin UPS ship
UPS1
UPS2
UPS3
Joomla plugin DHL Ship
DHL1
DHL2
DHL3

That is the sequence they will appear in

So if you qualify for UPS method 2 and DHL method 1

You will see
UPS2
DHL1