crimsonhack
Forum Replies Created
-
Thank you for your help @k3llanved ! I solved the problem using Putty, although I had to use another command.
wp sg 2fa reset all
Thank you very much @k3llanved ,
Honestly I’m not familiar with WP-CLI and I don’t know how to do it, but I tried removing the file you mention and it doesn’t work, when I login it keeps asking me for the authentication code or a recovery code.
Is there a detailed tutorial on how to use WP-CLI?
Hi again, I have finally been able to solve the problem. Apparently my theme was also generating Open Graph tags.
Forum: Plugins
In reply to: [WooCommerce] Capitalize billing fieldsHi @amjadali688, the code works perfectly but it still doesn’t solve my little problem.
If I write the data all in capital letters they still appear like that. On the other hand I am only interested in capitalizing the first and last name data (billing_first_name and billing_last_name).
Attached is the link to the page. First you have to add a product to the cart and proceed to checkout.
https://iesdimreus.cat/pagaments/
Forum: Plugins
In reply to: [Security Optimizer - The All-In-One Protection Plugin] Whitelist pluginThank you very much, it works perfectly!
Maybe it would be interesting to put an option to easily create whitelists from the interface in future updates.
Perfecto @jconti ya instalé el plugin y hace su función. Te decía lo del código más que nada por evitar instalar más plugins.
Lo puse en mi archivo functions.php @jconti, junto con otros códigos que tengo.
Perfecto @jconti, intenté usar este código para solucionar el problema pero no me funcionó. Ves algo que esté mal?
add_filter( 'woocommerce_bizumredsys_process_payment_order_status', 'cambiar_estado_pedido_bizum', 9999, 2 ); function cambiar_estado_pedido_bizum( $status, $order ) { return 'completed'; }
@jconti en principio está puesto el SHA de pruebas, los pagos se realizan correctamente pero justo en WC se queda en “procesando” una vez hecho el pago, lo ideal sería que se marcara directamente como “completado”.
Por el momento ambas pasarelas de pago (bizum y tarjeta) las uso en entorno de pruebas. Con tarjeta todo perfecto.
Forum: Plugins
In reply to: [WooCommerce Redsys Gateway Light] Redsys no cambia el estado de pagoGracias por tu respuesta @jconti, ya lo solucioné y funciona perfectamente.
Forum: Plugins
In reply to: [WooCommerce Redsys Gateway Light] Redsys no cambia el estado de pagoAl parecer ya encontré la solución, creo que el problema estaba en que tenía los robots bloqueados para los motores de búsqueda.
Forum: Plugins
In reply to: [WooCommerce] Limit cart to a single productI will try to explain better. The intention of the store is that the customer can only add a single item to the cart, I got that with the code I mentioned above.
What I intend to do is that in certain products the cart can accept two items instead of one. Let me put you in context.
The store is for a high school, they want to offer online tuition payment. Each tuition is an item (aka product), they select it and add it to the cart to be paid. The thing is that one of the tuition that they offer requires a forced sale, that means that a second item will be added to the cart, but that code does not allow me to do so since it requires only one item in the cart.
What I am asking is if this code can be modified to add an exception to the tuition that requires a forced sale. In other words, tell the code to do its function but to make an exception for that specific item (I guess by product ID).
I hope I have expressed myself better.
Forum: Plugins
In reply to: [WooCommerce] Limit cart to a single productThank you very much Daniyal, hopefully someone can help me.
Forum: Plugins
In reply to: [WooCommerce] The tax is not calculated correctlyHere you have the screenshot. https://i.imgur.com/kSUiHxo.png
It’s in Spanish, I guess it won’t be a problem, although I can translate it into English if you want.