Shipment text and prices get messed up in the order confirmation mail

Started by brandiware, May 23, 2019, 16:36:05 PM

Previous topic - Next topic

brandiware

Hello VM community,

we are using several shipments in VM with the latest core version.
In some cases customers get confirmation mails (which are produced by mail_html_pricelist.php I guess),
where the shipment text does not match the corresponding shipment price.

It looks like the shipment is chosen correctly but somehow the shipment description gets mangled i.e. taken from the wrong shipment.

So the price of the shipment is selected correctly but the wrong text is shown.

Any idea is greatly appreciated.

Best
Stefan

Jörgen

What shipment are we talking bout ? Looks like some kind of custom shipment plugin ?

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

brandiware


brandiware

Quote from: Jörgen on May 23, 2019, 20:29:30 PM
What shipment are we talking bout ? Looks like some kind of custom shipment plugin ?

Jörgen @ Kreativ Fotografi


No, this is standard VM funktionality

Jörgen

Are You are using standard shipment.

Show what is wrong, images please.

Are You using any custom template ?

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

brandiware

Again, in the order confirmation the shipment text of one shipment configuration is used together with the price of another configuration. See below.
here are the screenshots:

OrderConfirmation: here you see that the shipment text "unter 50,- Euro Bestellwert" is displayed with a shipment cost of "19,90 €" in the order confirmation - this is WRONG !

ShipmentConfiguration: this is the configuration of the correct shipment with the text "Mit Langpaketzuschlag: ab 120cm / ab 50,- Euro" and the correct price "19,90 €"

AllShipments: here you see all configured shipments

ShipmentConfiguration2: you see the price for this shipment is "7.95"

Jörgen

From Where comes the" Standardversand 1" ???

Any package fee ?

Any tax rule ?

Tried to change the 7,95 ?

Have any other shipping method that has 19.90 as cost ?

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

StefanSTS

Looks like two shipments:

- Shipment name: "Standardversand 1" with description "unter 50 Euro...",
- Shipment name: "unter 50 Euro..." without description.

Once the term is used as description, once as shipment name.
The first shipment in the red marking is not used, since the name is not "unter 50 Euro...", but "Standardversand 1".

Deleting all unused shipments and going through them again should help.

--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

brandiware

StefanSTS: this is a valid idea, although I would assume VM to use the SEF as index and should not mix up descriptions and prices.
And in fact all shipments are used. I now changed all shipments to have unique names and descriptions. Will see whether that changes anything,
I doubt it but anyway, thanks for your idea.

Stefan

StefanSTS

Quote from: brandiware on July 24, 2019, 15:33:48 PM
I would assume VM to use the SEF as index and should not mix up descriptions and prices.

1. I don't understand, what is meant with SEF as index.
2. I never saw VM mixing up descriptions and prices.
2.1 When something was mixed up in shipping in shops and I had to repair that, it was in 99 of 100 cases some misunderstanding of how it works.

I don't say it is very easy if you don't do it regularly. That area of VM works very logically and doesn't make mistakes, if something is wrong it's us. ;-)

Stefan
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.