Compatibility with WooCommerce Request a Quote plugin
-
Im using the WooCommerce Request a Quote plugin. This plugin overrides the cart function of woocommerce with its own “quotelist” page and the part which handels the quantity looks like this:
if(!$for_email) { $product_quantity = woocommerce_quantity_input( array( 'input_name' => "cart[{$cart_item_key}][qty]", 'input_value' => $cart_item['quantity'], 'max_value' => $_product->backorders_allowed() ? '' : $_product->get_stock_quantity(), 'min_value' => '0' ), $_product, false ); $data_arr[$cart_item_key]['quantity'] = apply_filters( 'woocommerce_cart_item_quantity', $product_quantity, $cart_item_key, $cart_item ); } else { $data_arr[$cart_item_key]['quantity'] = $cart_item['quantity']; }how can I modify this script to use with your plugin, so that the dropdown is shown on the quotelist page, which is the cart page of this plugin?
Thanks in advance
The topic ‘Compatibility with WooCommerce Request a Quote plugin’ is closed to new replies.