Kadence Themes on "[Theme: Virtue] Checkout page"

ساخت وبلاگ

Sorry, this is not really theme related but I am trying to style the checkout page and want to move the payment options, but the ORDER-button and terms checkobox should stay where they are. I can remove the payment options with
remove_action( 'woocommerce_checkout_order_review', 'woocommerce_checkout_payment', 20 );
and add them somewhere else, but with this function the ORDER-button and terms also get removed. Do you by chance know how to only remove the payment options (and add them somehwere else)?

Hey,
That wouldn't be something you could do with a hooking function you would have to edit the checkout template files from woocommerce. You can look in woocommerce/templates/checkout/payment.php to see what I mean.

Kadence Themes

Hmm...I see there is a div class "payment" in the payment.php as well as in the form-pay.php. If I wanted to move it to a different place, would I need to remove the div in both templates?

Yeah you would be editing at least two templates. This would be messy and I can't say I would recommend it.

Kadence Themes

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 179 تاريخ : سه شنبه 28 ارديبهشت 1395 ساعت: 8:08