Post by logansryche » Wed Mar 15, 2023 4:45 am

I built a cart for a client and their requesting the phone number be removed from the site as they don't have one and all zeros doesn't look right. I looked in the files but didn't see anything specific to the phone number. If someone could point me in the right direction i'd appreciate it.

-Logan

New member

Posts

Joined
Thu Jun 30, 2011 6:53 am

Post by by mona » Wed Mar 15, 2023 6:44 am


DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by logansryche » Wed Mar 15, 2023 3:15 pm

I did miss adding that, sorry - OpenCart 4.0 bare-bones. No mods, plug-ins, etc.. I can get to all files I need through CPanel.

New member

Posts

Joined
Thu Jun 30, 2011 6:53 am

Post by xxvirusxx » Wed Mar 15, 2023 3:53 pm

Make the field non required and hide with CSS....or delete the code

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by logansryche » Thu Mar 16, 2023 1:06 am

If I knew how to do that I wouldn't be here ;D again, I ask for where those files are located so I can edit them.
Last opencart I messed with was v1, and that was wayyy easier to modify then this.

New member

Posts

Joined
Thu Jun 30, 2011 6:53 am

Post by by mona » Thu Mar 16, 2023 11:16 am

Opencart 4 is not suitable for a live site

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by logansryche » Thu Mar 16, 2023 3:01 pm

you folks are all heart, you know

New member

Posts

Joined
Thu Jun 30, 2011 6:53 am

Post by xxvirusxx » Thu Mar 16, 2023 3:04 pm

If I remember you can disable Phone from store settings.

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by ADD Creative » Thu Mar 16, 2023 5:17 pm

Try searching for telephone in catalog/view/template/information/contact.twig.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by by mona » Thu Mar 16, 2023 7:56 pm

logansryche wrote:
Thu Mar 16, 2023 3:01 pm
you folks are all heart, you know
OC4 is not suitable for a live site, this is the most generous piece of advice you can be given.
FYI OC1 had the phone number in the header and you have not actually said which telephone number you mean, you suggest 'bare bones' but for all we know it is a piece of html content added in design layouts ?

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by xxvirusxx » Thu Mar 16, 2023 8:48 pm

by mona wrote:
Thu Mar 16, 2023 7:56 pm
OC4 is not suitable for a live site
The boss should remove this version from website......

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by by mona » Thu Mar 16, 2023 9:37 pm

Agreed, maybe put 'beta' in the download title ?

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by logansryche » Fri Mar 17, 2023 1:57 pm

by mona wrote:
Thu Mar 16, 2023 7:56 pm
logansryche wrote:
Thu Mar 16, 2023 3:01 pm
you folks are all heart, you know
OC4 is not suitable for a live site, this is the most generous piece of advice you can be given.
FYI OC1 had the phone number in the header and you have not actually said which telephone number you mean, you suggest 'bare bones' but for all we know it is a piece of html content added in design layouts ?
you're kidding me right? There's only two places in the entire template that lists a phone number: front page and contact page. Both are connected to the same thing so remove one, it removes both. Don't treat me like these people that install opencart and complain about x or y - i asked which file or files to remove a part of the site. If you don't know, don't comment.

New member

Posts

Joined
Thu Jun 30, 2011 6:53 am

Post by logansryche » Fri Mar 17, 2023 2:03 pm

Looks like i'm rolling back the software which should be fine, just hope my client doens't get too upset. Thanks for those that did attempt to help me.

New member

Posts

Joined
Thu Jun 30, 2011 6:53 am

Post by Cue4cheap » Sun Mar 19, 2023 8:22 pm

logansryche wrote:
Fri Mar 17, 2023 2:03 pm
Looks like i'm rolling back the software which should be fine, just hope my client doens't get too upset. Thanks for those that did attempt to help me.
Everyone tried to help you that responded, including Mona, who BTW is one of the most helpful people on here.
There are two different "telephone numbers". Yes you did basically clarify you were taking about the one for the site owner but your title also just says "Remove phone number from site" which could also be the customer side entries too so they were wanting more clarity.
People are willing to help but don't be so sensitive to questions, people don't know you, so how can we know what level of knowledge you have?
Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am
Who is online

Users browsing this forum: No registered users and 40 guests