VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: dmb on March 25, 2016, 10:54:28 AM

Title: How to override "Redirecting you to Paypal" page ?
Post by: dmb on March 25, 2016, 10:54:28 AM
J3.5.0, VM3.0.14

Hi,

I'm trying to figure out overrides for plugins (having read the excellent guides at osstraining and the virtuemart one), but I'm missing something ...

The page I want to override (cosmetic changes) is the one that appears after you hit the checkout button, which says "Redirecting you to Paypal".

This appears to be

plugins/vmpayment/paypal/paypal/helpers/paypalstd.php, which I've copied to templates/yoo_nano3/html/com_virtuemart/vmpayment/paypal/helpers/paypalstd.php

However my changes have no effect. I also tried copying it to templates/yoo_nano3/html/com_virtuemart/vmpayment/paypal/paypal/helpers/paypalstd.php but this results in a message "Fatal error" when the checkout button is pressed.

Am I on completely the wrong track here ?

Thanks,

David
Title: Re: How to override "Redirecting you to Paypal" page ?
Post by: Studio 42 on March 25, 2016, 17:05:14 PM
Helper(s) cannot be overrided only tmpl, layout or sublayout files.
It the message is a language KEY, then you can use Joomla language overrides.