re order product short description after add to cart
-
Hello
I would need to re-order the short description / metas / add to cart button only for mobiles. I use request a quote plugin which is removing this button add adding another one to request a quote.
Customizer does not take this button as it is third party plugin (yith request a quote)
they suggested this piece of code in functions.php :if ( class_exists( 'YITH_YWRAQ_Frontend' ) ) { remove_action( 'woocommerce_single_product_summary', array( YITH_YWRAQ_Frontend(), 'add_button_single_page' ), 35 ); add_action( 'woocommerce_single_product_summary', array( YITH_YWRAQ_Frontend(), 'add_button_single_page' ), 25 ); }
but this does not work. so, what is the right function used by oceanwp ? thx !
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘re order product short description after add to cart’ is closed to new replies.