News:

Looking for documentation? Take a look on our wiki

Main Menu

VM3 - How to remove Order Number from thanks for your order message?

Started by Roccofx1, March 04, 2016, 21:34:08 PM

Previous topic - Next topic

Roccofx1

Hi, I have Joomla 3.4.8 and VM 3.0.12

After adding products to a cart, and click the buy button it sends people to the payment method wich might be paypal, but virtuemart even if payment isnt done, when redirect to site shows a message that says:

Thanks for your Order
Order number _______

How can i avoid Virtuemart from showing order number on this message?

Please help

GJC Web Design

sent from the payment plugs as the $this->html isn't it?

components\com_virtuemart\views\cart\tmpl\order_done.php
echo $this->html;
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

Roccofx1

Not at all my problem,

What i mean, is i do want people to see a message: thanks for buy here, what i want is remove from that page the order number, so buyers dont see the order number in "thanks for buy" page

How can i do it?

GJC Web Design

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

Roccofx1

Do you mean that i have to delete this hole line?

$this->html = vRequest::get('html', vmText::_('COM_VIRTUEMART_ORDER_PROCESSED') );
echo $this->html;

GJC Web Design

Quotesent from the payment plugs

so there or a preg_replace or something at the template end

every payment plug is different.. look for the  function plgVmOnPaymentResponseReceived (&$html) {

function
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