Home › Forums › WoodMart support forum › Coupon Code Form
Coupon Code Form
- This topic has 14 replies, 3 voices, and was last updated 2 years, 9 months ago by
Luke Nielsen.
-
AuthorPosts
-
June 1, 2022 at 9:28 am #380383
naldekhelParticipantHi there,
I would like you to help please with the coupon code form.
So, I changed the location of the field to be under the order total using:remove_action( 'woocommerce_before_checkout_form', 'woocommerce_checkout_coupon_form'); add_action( 'woocommerce_checkout_order_review', 'woocommerce_checkout_coupon_form' );
But I would like to delete the {Click here to enter your code}, and keep the form opened by default.
Thanks a lot.
June 1, 2022 at 2:50 pm #380492
Luke NielsenKeymasterHello,
Unfortunately, such customization is not included in our support.
You can get acquainted with Envato Support Policy here:
https://themeforest.net/page/item_support_policy
I suggest you try to use the “Checkout field editor” plugin which gives the possibility to change the “Checkout” page as you want.
I do hope you would remain as our valued customer and thank you for your time.
Kind Regards
June 1, 2022 at 3:21 pm #380519
naldekhelParticipantBut I see you replied to a lot of clients with the same issue in this form, but they are all old answers and no longer working.
June 1, 2022 at 3:56 pm #380547
Luke NielsenKeymasterHello,
Please, send me a link to your website that has such a coupon form so I can see what we can do best for this situation.
Looking forward to hearing back from you!
Kind Regards
June 1, 2022 at 6:16 pm #380588
naldekhelParticipantHere:
June 2, 2022 at 9:59 am #380720
Luke NielsenKeymasterHello,
The below code will help you to hide the text in the “Coupon” input.
.coupon ::-webkit-input-placeholder { color: transparent; }
Also, seems that the “Coupon” form is always opened by default.
https://gyazo.com/d53a908d91a6b1233e261b00bef82623
Kind Regards
June 2, 2022 at 12:32 pm #380778
naldekhelParticipantStill the same my friend.
Attachments:
You must be logged in to view attached files.June 2, 2022 at 12:59 pm #380796
Luke NielsenKeymasterHello,
Sorry, a new one should work properly, please replace the old one with the below.
.coupon input::placeholder { color: transparent; }
Thank you for your patience
Kind Regards
June 2, 2022 at 8:09 pm #380891
naldekhelParticipantStill the same my friend.
June 2, 2022 at 9:04 pm #380892
loraloraParticipantI have the same problem.
Moreover, it makes no sense to remove it through the css, because if you remove it with the help of the css, then both coupons are hidden. both old and relocated.But still, I agree with the topic author Luke – here you need to contact the authors of the plugin Woocommerce
June 3, 2022 at 9:19 am #380977
Luke NielsenKeymasterHello,
I have checked it from my side, on the “Cart” page from Chrome, Mozilla, and Opera browsers the coupon field is empty.
But on the “Checkout” page it still appeared so in this case, replace the old CSS with the below one.
.coupon input::placeholder, .form-row-first input::placeholder { color: transparent; }
Kind Regards
June 6, 2022 at 5:07 pm #381481
naldekhelParticipantNothing has changed my friend on all browsers.
Check attachments
Attachments:
You must be logged in to view attached files.June 6, 2022 at 5:39 pm #381492
Luke NielsenKeymasterHello,
Sorry for the misunderstanding, the above code hides the “Coupon code” text in the input itself.
All I can do is hide the “Click here to enter the coupon code” text with the help of the custom CSS, so please try the below code.
.checkout-order-review .woocommerce-info { display: none; }
Before: https://prnt.sc/B_1_MrwjNnf6
After: https://prnt.sc/7lLelEda0ikQI await your response.
Kind Regards
June 6, 2022 at 5:41 pm #381493
naldekhelParticipantThis work, PERFECTLY brother.
Thanks a lot, you may close this thread, and mark it as solved.
June 7, 2022 at 9:30 am #381564
Luke NielsenKeymasterHello,
Glad that everything is sorted out!
Don’t hesitate to reach out if you have any more questions or concerns. We’re thankful that you took the time to share your concerns with us.
Kind Regards
-
AuthorPosts
The topic ‘Coupon Code Form’ is closed to new replies.
- You must be logged in to create new topics. Login / Register