zsebacsi
Forum Replies Created
-
Forum: Plugins
In reply to: [Official Integration for Billingo] Hibás adókulcs – Site errora hiba kicsit hasonloan nalam is fennall, de nalam nem site error lesz, hanem siman nem veszi figyelembe a beallitott AFA ertekeket
27%-os AFAt hasznalok a webshopban es a billingoban is, nincs bekapcsolva az AFA feluliras, a billingonak megis EU-n beluli AFA kerul atadasra.esetleg sikerult megoldast talalni a problemadra? hatha megoldja az enyemet is:)
Forum: Plugins
In reply to: [Redis Object Cache] PhpRedis Extension not recognisedsame problem here
Status: Disabled
Client:
Drop-in: Invalid
Redis Extension: Not Found
Predis Client: 1.1.1
PHP Version: 7.3.10-1+ubuntu18.04.1+deb.sury.org+1
Multisite: Nocan’t enable redis object cache in WP
I’ve installed php7.3-redis, server is working, can connect from CLI
redis php extension is enabled also (via phpinfo)
tried installing via pecl, no success.any guesses?
I notice the same but with the discount prices.
if I update price via stock manager the discount prices disapper
so I subscribe to this threadMeanwhile I’ve upgraded to WC 3.2.0, and it’s not working again
however, the gateway modul is totally different
wp-content/plugins/woocommerce/includes/gateways/cod/class-wc-gateway-cod.phpfailing row is:
if ( 0 < count( array_diff( $chosen_shipping_methods, $this->enable_for_methods ) ) ) {
return false;
}I’ve changed false to true and flexible shipping is working again (dirty hack)
here you go:
in the file above I placed two print commands: just to see which strings are being compared.foreach ( $this->enable_for_methods as $method_id ) {
# if ( $check_method === $method_id ) {
print $check_method;
print $method_id;
if ( ( $check_method === $method_id ) || ($check_method==”flexible_shipping_6_1″) || ($check_method==”flexible_shipping_6_2″)) {$found = true;
break;
}see the result in the cart or the same in the checkout
result
$check_method is “flexible_shipping_6_1”
while $method_id is “flexible_shipping”I’m using the latest version of F.S. / 1.9.7, woocommerce 3.1.2
no custom modifications in any of them, only plugins.
what else do you need from me to help you with this?hi
sorry for late reply.
it was working until today, when I upgraded to the latest version of Woocommerce 3.1.2now the sympthoms are the same: no COD option available, because in
wp-content/plugins/woocommerce/includes/gateways/cod/class-wc-gateway-cod.phpthe comparison condition does not meet.
this is how I modified the file on line 187:
added shipping methods name by hand.
foreach ( $this->enable_for_methods as $method_id ) {
# if ( $check_method === $method_id ) {
if ( ( $check_method === $method_id ) || ($check_method==”flexible_shipping_6_1″) || ($check_method==”flexible_shipping_6_2″)) {$found = true;
break;
}all right
as I wrote earlier, the root of the problem -imho- is in the checking routine of WC
it gets some kind of subversion of the shipping method (flexible_shipping_6_1, …_6_2)
that is not equal to the string compared (flexible_shipping)
hope it helps youT.
- This reply was modified 7 years, 4 months ago by zsebacsi.
WC> 3.1.0
picture / in Hungarian, sorry.ospiotr
that was my first thought, tried it, not working.