zviera
Forum Replies Created
-
Dobrý deň,
videl som, že ste publikovali novú verziu pluginu, tak iba pripomínam túto našu žiadosť. Verím, že si nájdete čas pridať do kódu ten jeden riadok 🙂
Ďakujeme.
Ak by niekoho zaujímal samotný kód, ktorý v QR kóde použije variabilný symbol zálohovej faktúry zo Superfaktúry, tak tu je:
$sf_proforma_invoice_id = $order->get_meta( 'wc_sf_proforma_invoice_number' ); // ZAL12026003
if( !empty( $sf_proforma_invoice_id ) && substr( $sf_proforma_invoice_id, 0, 3 ) === 'ZAL' ) {
// Remove ZAL from the start
$sf_variable_symbol = substr( $sf_proforma_invoice_id, 3 ); // 12026003
// Keep only digits and max 10 chars (VS limit)
$sf_variable_symbol = substr( preg_replace( '/\D+/', '', $sf_variable_symbol ), 0, 10 );
// SET to QR data
if ( $sf_variable_symbol !== '' ) {
$qrdata['variable_symbol'] = $sf_variable_symbol;
}
}Forum: Plugins
In reply to: [atec Cache APCu] Using APCu cache causes duplicated cron runsHi. I have sent a message through this form yesterday: https://atecplugins.com/contact/. Anyway, you can just send the file/s to this email: [email protected]
Sure, I see a file object-cache.php inside your plugin. I can replace it. Not sure what you mean by disabling the whole plugin though.
Thanks.
Forum: Plugins
In reply to: [atec Cache APCu] Using APCu cache causes duplicated cron runsDone 🙂
Forum: Plugins
In reply to: [atec Cache APCu] Using APCu cache causes duplicated cron runsHi Chris,
how is it going with the update? I see you have marked this as resolved, but there hasn’t been an update yet, so I guess the issue still persists.
Thank you.
Forum: Plugins
In reply to: [atec Cache APCu] Using APCu cache causes duplicated cron runsFrom WP 🙂
Forum: Plugins
In reply to: [atec Cache APCu] Using APCu cache causes duplicated cron runsHi! Thanks! I am glad I could help.
I will wait for the new version of your plugin and then I will report back.
Thanks again. Best regards!
Forum: Themes and Templates
In reply to: [Kadence] Frontend is calling stage.startertemplatecloud.comHi @aapc, thanks! You were right, there was an image attached to the row. I deleted it and it’s good now.
Best regards.
Thanks, Jeff, for the quick fix! It works now. 5 stars 🙂
@janboddez Thanks! This was our issue as well and your solution fixed it for us 🙂
Forum: Plugins
In reply to: [SuperFaktura WooCommerce] Synchronizacia skladuPri prijatí platby SuperFaktúra dá vedieť WooCommerce. Tam ten callback je a nie je potrebné sa pravidelne pýtať, či už úhrada prišla. Pre pohyby na sklade to neplatí.
Toto by mala byť skôr požiadavka priamo na Superfaktúru, aby pridali ten callback. Nám by sa to hodilo tiež.
Môj klient má 2 eshopy, ktoré predávajú ten istý tovar. Mali problém so synchronizáciou skladových zásob. Vyriešili sme to tak, že si skladové zásoby manažujú iba v Superfaktúre a ich weby pravidelne (cez wp-cron) aktualizujú skladové zásoby v eshope. Teda, ak eshop A predá nejaký tovar, jeho sklad v Superfaktúre klesne (toto rieši Superfaktúra plugin) a pri synchronizácií sa sklad aktualizuje aj v eshope B (toto rieši môj plugin). Takto si synchronizujú nie len počty kusov, ale aj ceny (podľa SF).
Forum: Plugins
In reply to: [SimpLy Gallery] Avast marked plugin as virus: Trojan Horse@gallerycreator Thank you! The new version fixed the issue. Avast does not flag my site anymore. Best regards.
Forum: Plugins
In reply to: [SimpLy Gallery] Avast marked plugin as virus: Trojan Horse@gallerycreator Thanks for the reply. I did report the file as a false positive to Avast. The form said they will check on it. So far, I haven’t received any replies, so I’m not sure what the status is and whether it’s “safe” to use the plugin.
@others You should also submit the file as false positive to Avast. Perhaps when they receive more requests, they will check on it faster. This is the URL: https://www.avast.com/report-false-positive#pc
Hi. I’m sorry for wasting your time. One of our plugins that was affecting pre_get_posts was the cause of the problem. It’s all good now.
Best regards!
Hi Kim,
thanks! That works. It would be useful for others if I was added it to the docs somewhere. Or hopefully, people will find this support thread 🙂
Have a nice day.