- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 26.05.20, 18:08
- Opened by: Thomas Blauenfeldt
- Closed by: Fred
- Closed on: 30.05.20, 00:01
- Reason: Closed
- Comment: Glad to help!
Ticket #18103 - AMP how to remove stuff
how can i remove the messege field in shipping step of checkout ? (see image)
and how can i remove the promocode in cart ? (see image)
Comments
Hi, Thomas.
I also has to find it to let you know where it is.
I recommend you to use code editor tool what allows to to find in the code any theme element you need. For example this one https://code.visualstudio.com
yea i also did that for other stuff.
I found code for shipping messege and removed it but dosent seam to reamove it in frontend :s
image for code location
Attachments:
remove.PNG(88.5 KiB)please check this file /themes/alysum/templates/mobile/customer/_partials/order-messages.tpl
i removed everything in that file now, but both fileds is still there ?
maybe a cache issue?
Try CSS
no its not a cache issue, you can also see it in frontend ?
yes, I can, try css
that seams to work.. :)
How about the promo code in https://test.svane-el.dk/da/module/pk_amp/cart do you also have a way for that ?
the same way, try CSS
is using hide with css not bad practice, and bad performance wise ?
yes, would be better to remove it from code
and why is that not possible ?
I have no idea, that question is definitely not about the theme
its the theme that adds it tho ?
that is so small piece of html so you can hide it with CSS with no problems
okay i understand, ticket can be closed thanks :)