WooCommerce Quantity in Dropdown menu instead of clasic [closed]

Use this below code for displaying text like “Contact us” below number 6… Please have a look this screenshot http://prntscr.com/mio5ts function woocommerce_quantity_input() { global $product; $defaults = array( ‘input_name’ => ‘quantity’, ‘input_value’ => ‘1’, ‘max_value’ => apply_filters( ‘woocommerce_quantity_input_max’, ”, $product ), ‘min_value’ => apply_filters( ‘woocommerce_quantity_input_min’, ”, $product ), ‘contact’ => apply_filters(‘woocommerce_quantity_input_max’, ‘Contact’), ‘step’ => apply_filters( … Read more

Elementor to custom wordpress page

You need to add the_content() to your code. Then, when you edit the page, elementor elements will be replaced with the_content(). So, the page template would be something similar to: <?php get_header(); if (have_posts()): while (have_posts()): the_post(); the_content(); endwhile; else: ?> <p>Sorry, nothing found here.</p> <?php endif; get_footer(); ?>

Adding a widget under an ‘Add to Cart’ button through a PHP snippet

Your plugin for the converter supports shortcodes, so this is a good starting point. Everything should be as simple as using this code: add_action( ‘woocommerce_after_add_to_cart_button’, ‘astra_add_woocommerce_payments’, 97 ); function astra_add_woocommerce_payments(){ echo do_shortcode( ‘[currency_converter_calculator lg=”en” tz=”0″ fm=”EUR” to=”USD” st=”info” bg=”FFFFFF”][/currency_converter_calculator]’ ); } You probably want to wrap the shortcode result inside a div or something to … Read more