0

I'm trying to remove the street address label in checkout.

I'm using this:

unset($jsLayoutResult['components']['checkout']['children']['steps']['children']['shipping-step']['children']['shippingAddress']['children']['shipping-address-fieldset']['children']['street']['label']);

And the text in the label gets removed the but red star * from required stays in the ::after in the label. How do I get rid of the star?

2
  • Where did you put these lines
    – PhantomS
    Commented Jun 20, 2019 at 23:52
  • @FarahS in the layout processor but it didn't work, look at the Answer for what i actually used
    – Sanne
    Commented Jun 24, 2019 at 14:06

1 Answer 1

0

I ended up just putting after on display none.

&::after {
      display:none;
 }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.