Post by raybark » Mon Jan 19, 2015 1:13 am

I foolishly thought removing those segments from the /catalog/view/theme/default/template/payment/pp_pro.tpl would do the trick, but then it won't process correctly.

Did I just remove more than I should have, or should I be making code modifications elsewhere?

New member

Posts

Joined
Tue Sep 03, 2013 9:23 pm

Post by Qphoria » Mon Jan 19, 2015 5:37 am

So think about this.. the tpl file sends its data to the server side php file. So if you remove it from the tpl, and the php server file expects it, it will throw an error.

Instead you'll want to HIDE the fields, thus passing back empty values for those fields.

So add

Code: Select all

style="display:none;"
to the parent div or table row of that section

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by raybark » Mon Jan 19, 2015 9:31 pm

Of course. That makes perfect sense to even a non-coder like me.

Thank you again for ALL of your help.

New member

Posts

Joined
Tue Sep 03, 2013 9:23 pm
Who is online

Users browsing this forum: No registered users and 3 guests