Author Topic: Shipment methods not well organized matters?  (Read 511 times)

Mister Paul

  • Jr. Member
  • **
  • Posts: 222
  • Joomla! 3.9.6 - VirtueMart 3.4.2
Shipment methods not well organized matters?
« 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

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2540
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Shipment methods not well organized matters?
« Reply #1 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
Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

Mister Paul

  • Jr. Member
  • **
  • Posts: 222
  • Joomla! 3.9.6 - VirtueMart 3.4.2
Re: Shipment methods not well organized matters?
« Reply #2 on: January 26, 2019, 15:41:20 pm »
Great.
Thanks for your answer Jörgen.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10017
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Shipment methods not well organized matters?
« Reply #3 on: January 30, 2019, 12:56:17 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
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2540
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Shipment methods not well organized matters?
« Reply #4 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
Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3049
  • VirtueMart Version: 3.6.11
Re: Shipment methods not well organized matters?
« Reply #5 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
regards
A

Joomla 3.9.15
php 7.2