Post by Scott2018s » Fri May 18, 2018 8:05 am

Hello everyone
I'm trying to remove from affiliate register page the Tax ID, Cheque & Bank Transfer leaving only PayPal,please can anyone help me how do this step by step

Image

User avatar
New member

Posts

Joined
Fri May 18, 2018 7:59 am

Post by IP_CAM » Sat May 19, 2018 10:18 am

You could try this, but it's fully untested ! 8)
Ernie
---
Image

I am no longer active at the Forum. Please do NOT send me Personal Mails,
they will no longer be replied to.
My Github OC Site: https://github.com/IP-CAM
4'160 + FREE OC Extensions, on the World's largest Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by ocguru » Thu May 24, 2018 1:35 pm

Hi,
Yes the best and easy option is to hide (display:none;) the div container for the fields. Do not remove them from html else it will give coding error in controller file.

Regards,
OCGURU
Opencart Developer - View All Extensions
Contact Me - outputwebtech@gmail.com


User avatar
New member

Posts

Joined
Sat Jan 03, 2015 5:09 pm
Location - India

Post by Scott2018s » Fri May 25, 2018 7:12 am

IP_CAM wrote:
Sat May 19, 2018 10:18 am
You could try this, but it's fully untested ! 8)
Ernie
---
Image
You rock "IP_CAM" thanks a lot I edited "affiliate.twig" and other pages to avoid some errors,now the problem has been fixed thank you

User avatar
New member

Posts

Joined
Fri May 18, 2018 7:59 am

Post by LorenaUY » Tue Feb 11, 2020 11:27 pm

Scott2018s wrote:
Fri May 25, 2018 7:12 am
IP_CAM wrote:
Sat May 19, 2018 10:18 am
You could try this, but it's fully untested ! 8)
Ernie
---
Image
You rock "IP_CAM" thanks a lot I edited "affiliate.twig" and other pages to avoid some errors,now the problem has been fixed thank you

Is it valid for OC 3.0.3.2
How do I hide it?

Thanks!!

New member

Posts

Joined
Fri Jan 27, 2017 9:23 pm

Post by IP_CAM » Tue Feb 11, 2020 11:56 pm

The Image has been made of an OC v.3 Version, such code is HIDDEN by adding a
<!-- in the beginning, and a --> at the end of the secion, to be made
HIDDEN, in Theme-related TWIG and PHP Files at least.
But be aware, that not everything can just be made hidden, without possibly ending
up with some errors, if some Sections have a REQUIRED Status, defined somewhere else...

I am no longer active at the Forum. Please do NOT send me Personal Mails,
they will no longer be replied to.
My Github OC Site: https://github.com/IP-CAM
4'160 + FREE OC Extensions, on the World's largest Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Gobbo » Wed Mar 17, 2021 6:11 pm

Hi,

Is there a step by step guide on how to remove or hide these?

As I believe you'll have to remove or hide them in multiple files.

Upgraded to opencart version 3.0.3.2


Active Member

Posts

Joined
Tue Jun 22, 2010 12:38 am
Who is online

Users browsing this forum: No registered users and 43 guests