News:

Looking for documentation? Take a look on our wiki

Main Menu

How to add shipment name in the "Thank you for yor order" page ...

Started by prdador2, July 23, 2018, 17:39:46 PM

Previous topic - Next topic

prdador2

Hello everyone!!

I have a big trouble ... I need get the shipment_name on the view of "Thanks you for yor order" But i can't get it cuz the object that i have is the payment method and not nothing about the shipment name ... Can somebody help me ? Thanks !!

GJC Web Design

echo out what is available in the $this object on the orderdone.php template

components\com_virtuemart\views\cart\tmpl\orderdone.php

maybe shipping id is there and u can do a query to get the name

otherwise I guess a query to get the order which will have the ship id and then get the name
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation