Yorsh
Forum Replies Created
-
Too bad, compadre!
Thank you for the warning
Forum: Plugins
In reply to: [Stock Locations for WooCommerce] Stock not updatedFantástico! I’m so happy!
Thanks @arwinvdv for the fix.
Thanks @fahadmahmood for the Grandioso plugin.
Forum: Reviews
In reply to: [Vitepos - Point of sale (POS) plugin for WooCommerce] Realmente casi buenoGracias por su respuesta
A continuación, muestro el código que me permite filtrar aquellos productos que no tienen stock, además, aquellos que no tienen precio:
$filter['meta_query'] = array( 'relation' => 'AND', array( 'key' => '_stock_status', 'value' => 'instock', ), array( 'key' => '_price', 'value' => 0, 'compare' => '>', 'type' => 'numeric' ) );
Este código se agrega justo antes de la instancia a WP_Query, en el archivo class-pos-product.php, de la versión 1.3.1 de VitePOS Lite. Este cambio solo funcionará mientras no actualice (a menos que venga incluida).
Ok, logro filtrar los productos sin stock ni precio que no se deben agregar a un pedido, pero… ?puedo agregar a la orden 1000 unidades de un ítem? SI! “Hasta el infinito, y más allá!”… Espero que puedan corregir eso también, por favor.
Everything you mention is very accurate. But, I think that integrating this into the core of WordPress would be to intervene the freedom for developers to devote all their ingenuity in such interesting complements as this, others that could be a trend, and even some that could revolutionize the working method.
Anyway, this complement is wonderful.- This reply was modified 5 years ago by Yorsh. Reason: incomplete comment