Page 1 of 1
Remove Red Asterisk
Posted: Mon Apr 13, 2015 11:44 pm
by TheCreatables
Hello Guys,
How would I go about removing the red asterisk in the checkout section.
Which file would I go to and what would I remove?
Thanks
Charlotte
Re: Remove Red Asterisk
Posted: Mon Apr 13, 2015 11:50 pm
by sytra
Which red asterisk is it you want to remove?
There are the ones that signify a required field and then there are 3 that show up in the checkout for out of stock items
Re: Remove Red Asterisk
Posted: Tue Apr 14, 2015 4:38 pm
by TheCreatables
I would like to remove the red asterisks that show up in the checkout area for the address fields, so that would be the required fields.
Thanks
Charlotte
Re: Remove Red Asterisk
Posted: Tue Apr 14, 2015 7:52 pm
by soundzgood-nz
Remove the following code (around 8 times in each) from the 2 files listed:
<span class="required">*</span>
catalog\view\theme\default\template\checkout\payment_address.tpl
catalog\view\theme\default\template\checkout\shipping_address.tpl
HOWEVER, the code will still check for the required entry in those address fields (ie just removing the asterisk won't remove the need for an entry as it'll still be required) ... OR are you looking to hide the whole field itself too?
(Bit more to this question than just the red asterisks eh)
Simon
Re: Remove Red Asterisk
Posted: Tue Apr 14, 2015 8:59 pm
by TheCreatables
Thank you Soundzgood-nz!
I have already removed them as being required, just wanted to remove the red asterisk. I still want the field there.
Re: Remove Red Asterisk
Posted: Tue Apr 14, 2015 9:06 pm
by TheCreatables
I have checked both those files and they do not have the following code: <span class="required">*</span> anywhere in the file locations:
catalog\view\theme\default\template\checkout\payment_address.tpl
catalog\view\theme\default\template\checkout\shipping_address.tpl