News:

Support the VirtueMart project and become a member

Main Menu

Shipment methods not well organized matters?

Started by Mister Paul, January 26, 2019, 15:18:04 PM

Previous topic - Next topic

Mister Paul

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

Jörgen

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
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Mister Paul


Milbo

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
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Jörgen

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
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

AH

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
Regards
A

Joomla 3.10.11
php 8.0