Woo payment gateway filter, need recheck to not hidden radio button after unset checked button - Hack The Tech - Latest News related to Computer and Technology

Hack The Tech - Latest News related to Computer and Technology

Get Daily Latest News related to Computer and Technology and hack the world.

Saturday, February 26, 2022

Woo payment gateway filter, need recheck to not hidden radio button after unset checked button

StackOwerflow: it is not duplicate question, these another questions does not have answer for my problem

Hi I found lots of tut for payment gateway filter but every one I found has same problem...

When customer (see printscreen code) choose "packeta" my code hide "cod", but there is that problem. When customer first select "cod" when he has selected another shipping like "flat_rate:5" where is not "cod" hidden and than go to "packeta" there is still checked "cod" but he cannot uncheck it because it is hidden. I see in my inspect: <input id="payment_method_cod" type="radio" class="input-radio" name="payment_method" value="cod" checked="checked" data-order_button_text="" style="display: none;"> Is possible some how "recheck" radiobuttons in PHP, or what else to do to make everything work properly?

sorry I am not able insert code to look like code completely



source https://stackoverflow.com/questions/71269849/woo-payment-gateway-filter-need-recheck-to-not-hidden-radio-button-after-unset

No comments:

Post a Comment