Author Topic: Shipment text and prices get messed up in the order confirmation mail  (Read 888 times)

brandiware

  • Jr. Member
  • **
  • Posts: 52
  • A beginner
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

  • Global Moderator
  • Full Member
  • *
  • Posts: 2472
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
What shipment are we talking bout ? Looks like some kind of custom shipment plugin ?

Jörgen @ Kreativ Fotografi
Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10000
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
in VM with the latest core version.

You have the RC version http://dev.virtuemart.net/attachments/1164/com_virtuemart.3.4.5.10059_package_or_extract.zip or so. Please add svn number of your version (the long number).
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

brandiware

  • Jr. Member
  • **
  • Posts: 52
  • A beginner
The full version number is VirtueMart 3.4.5 10054

brandiware

  • Jr. Member
  • **
  • Posts: 52
  • A beginner
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

  • Global Moderator
  • Full Member
  • *
  • Posts: 2472
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
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.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

brandiware

  • Jr. Member
  • **
  • Posts: 52
  • A beginner
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

  • Global Moderator
  • Full Member
  • *
  • Posts: 2472
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
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.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

StefanSTS

  • Global Moderator
  • Full Member
  • *
  • Posts: 520
  • VirtueMart Version: VM 4.2 on Joomla 4.5
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

  • Jr. Member
  • **
  • Posts: 52
  • A beginner
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

  • Global Moderator
  • Full Member
  • *
  • Posts: 520
  • VirtueMart Version: VM 4.2 on Joomla 4.5
Re: Shipment text and prices get messed up in the order confirmation mail
« Reply #10 on: July 24, 2019, 18:25:24 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.