Post by testie » Tue Mar 20, 2018 10:18 pm

Hello, I'm trying the remove the "ghost text" from the inputs fields at the checkout page. I think it's a bit unnecessarily to have "First Name" written twice etc.

Thanks!

Newbie

Posts

Joined
Mon May 11, 2015 6:42 am

Post by motion2082 » Tue Mar 20, 2018 10:20 pm

You mean the placeholder text :)

Are you using the default theme?

Active Member

Posts

Joined
Tue May 12, 2015 8:48 pm

Post by testie » Tue Mar 20, 2018 11:19 pm

Ah placeholder text, will probably help my googleing abit ;)

Nope, I'm using Journal Theme 2. I asked them for support but they told me this has to be edited in OC

Oh, my store url is http://bersau.se

Newbie

Posts

Joined
Mon May 11, 2015 6:42 am

Post by IP_CAM » Wed Mar 21, 2018 4:30 am

Well, you would have to remove those placeholder="{{ WHATEVER }}" Lines,
where you don't want a form field containing the 'title' of this field, I assume. But
this is NOT Oc System Code, it's in the Theme Files register.twig and guest.twig,
or then a little differently written in register.tpl and guest.tpl Files in older Versions OC.
Ernie
PS: But who in the world would pay 80 Bucks for such an ugly Nightshirt !? :crazy:
---
HTML SOURCE:

Code: Select all

<div class="form-group required">
            <label class="control-label" for="input-payment-firstname">First Name</label>
            <input type="text" name="firstname" value="" placeholder="First Name"
                   id="input-payment-firstname" class="form-control"/>
---
REGISTER + GUEST FILE CODE:

Code: Select all

 <div class="form-group required">
        <label class="control-label" for="input-payment-firstname">{{ entry_firstname }}</label>
        <input type="text" name="firstname" value="" placeholder="{{ entry_firstname }}" id="input-payment-firstname" class="form-control" />
      </div>

Ernie's OpenCart v.1.5.6.5 LIGHT + V-Pro + OpenShop Admin v.1.75 Test Sites
http://www.bigmax.ch - http://www.opencart.li/shop/ - http://www.ipcam.li/shop/
Image


User avatar
Guru Member

Posts

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

Post by testie » Wed Mar 21, 2018 8:07 am

Thanks Cam, I tried to change guest.twig in both in default and my current theme folder, but nothing changed :P

Couldn't find the HTML source code you provided though, is that in another file *:)?

PS: But who in the world would pay 80 Bucks for such an ugly Nightshirt !? :crazy:
Just placeholder images, honest ;D

Newbie

Posts

Joined
Mon May 11, 2015 6:42 am

Post by IP_CAM » Wed Mar 21, 2018 11:09 am

Well, I have no idea, where and HOW all this is placed and coded in Journal Themes,
I never bothered, to look into one of them, after looking at some HTML Source Code,
partly using up to 1000+ Header Lines, (empty and written one's) to present a Page.
That's too far away from my way of doing such, regardless of, how such a bunch of
Scripting and Code then looks on the front side.
We all have our limits and preferences, and I prefer Life the lighter way ... :laugh:
Good Luck! ;)
Ernie
---
Image

Attachments

dont_look.jpg

dont_look.jpg (24.16 KiB) Viewed 136 times


Ernie's OpenCart v.1.5.6.5 LIGHT + V-Pro + OpenShop Admin v.1.75 Test Sites
http://www.bigmax.ch - http://www.opencart.li/shop/ - http://www.ipcam.li/shop/
Image


User avatar
Guru Member

Posts

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

Users browsing this forum: No registered users and 16 guests