lordandy1984
Forum Replies Created
-
Forum: Plugins
In reply to: [Brevo for WooCommerce] Brevo checkbox not showing in checkoutHi,
thanks a lot – I will reopen the support case. Everything else (synchronization, changing settings, …) is working. And there are no restrictions, I’ve also remove the basic auth and it’s really a very vanilla WooCommerce installation. /wp-json/sendinblue-woo/v1/ is also returning the JSON..
BR
Forum: Plugins
In reply to: [Brevo for WooCommerce] Brevo checkbox not showing in checkoutFor the support ticket I have set up an empty Woocommerce installation:
The integration is shown as well:
And in Brevo the option for the checkbox is set (interface is set to German):
But, there’s no checkbox:
I am very happy to open a support case again to give you access, but as mentioned I already did that and the support could not help in this case…
- This reply was modified 1 month, 3 weeks ago by lordandy1984. Reason: Fix images
Forum: Plugins
In reply to: [Brevo for WooCommerce] Brevo checkbox not showing in checkoutHello @fbrevo, are you sure? The “default checkout page” is already the block based checkout, and in Brevo support case #4549760 I provided a test page with a vanilla Woocommerce installation, and the Checkbox to sign up for the newsletter in the checkout process is not showing up.
I could not find code for a block based checkbox in the Brevo plugin so I assume it’s just not working/supported yet? But of course – if there’s anything I can test (I am not the creator of this thread) I can do – the endpoints you mentioned are accessible on my test page as well.
Forum: Plugins
In reply to: [Brevo for WooCommerce] Brevo checkbox not showing in checkoutHey, we face the same issue, and the reason is: the block based checkout seems to be not supported at all – although the block-based checkout is already default in Woocommerce for a long time..
It does not work even in a plain Woocommerce installation, the checkbox is not shown in the checkbox at all.
Forum: Plugins
In reply to: [Brevo for WooCommerce] Add compatibility on block-based checkoutNo, there isn’t. Brevo just does not support the block based checkout. Even if I think the block based checkout has become “the new standard”, some of the hooks and actions many plugins use are still not fully working as the checkout uses much more frontend JS logic as pure PHP.
The support also told me they don’t have a solution yet, but I could use the legacy checkout which I don’t want to ??
I hope it will not last forever until they support it, because others like Klaviyo, Cleverrech support it already…
Hey @rb285,
when investigating a very weird behavior where the line 416 in the class-plugin.php is loading HTML code into the <head> of the page – i stumbled across this post..Although this is not future safe – for me it just feels the plugin is in general just “not good” in terms of quality. What if you just add the following lines to the file resources/js/cleverreach.checkout-8-3-0.js after the “const listener_URL”?
For me it seems anyway wrong, in my Woocommerce there is also no field with ID “email” and it fails as well – seems WC only uses the billing_email field.
if(!email) { return; }
So the method like below – I would also add the additional ternary operator to the listener_url constant then you also don’t get those ugly errors out of the checkout pages where this just does not exist.
const email = document.getElementById("email"); const listener_url = (document.querySelector("#cr-billing-email-listener")) ? document.querySelector("#cr-billing-email-listener").value : null; if(!email) { return; } email.addEventListener('focusout', function (event) { jQuery.post(listener_url, {'billing_email': event.target.value}); });
Forum: Plugins
In reply to: [WooCommerce] Attributes Not Added To Product After Successful SaveDid you find a solution to that? I see the same problem.
I just want to change the set_variation(false) on the attributes fetched by
$product->get_attributes();
So all I do is iterating through the array, calling set_variation(false) and then running:
$product->save();
I don’t change anything else. But the post metadata for the meta_key ” _product_attributes” is not updated.
And I assume using this methods is the correct way, not directly editing _product_attributes using update_post_meta.
- This reply was modified 1 year, 3 months ago by lordandy1984.
Forum: Plugins
In reply to: [WP DSGVO Tools (GDPR)] Weiterleitung/RedirectsIch habe das manuelle Plugin NICHT hochgeladen, sondern die Plugins nur deaktiviert weil ich die einzelnen Integrationen nicht verlieren/deaktiviert haben wollte.
Jetzt habe ich das Update über das WP Repo eingespielt, und TROTZDEM sind die Integrationen deaktiviert. Das sollte nicht so sein nehme ich an, wenn der Fehler behoben wurde, und generell müsste nur Matomo deaktiviert werden?
Ist das absichtlich dass mit dem Update alles deaktiviert wird, in den Release Notes auf der Plugin Seite stand nichts?
Forum: Plugins
In reply to: [WP DSGVO Tools (GDPR)] Weiterleitung/RedirectsWenn ich das manuelle Update installiere (https://legalweb.io/spdsgvo-bin/shapepress-dsgvo.zip) – werden wirklich nur die Integrationen DEAKTIVIERT und die ganzen Inhalte in den Eingabefeldern und Einstellungen bleiben bestehen, oder werden die ganzen Inhalte in den einzelnen Textfeldern, Scripte etc. komplett entfernt?
Ich will vermeiden dass ich dann mühsam alle GTM Events etc. wieder neu eintragen bzw. aus Backups manuell raussuchen muss…
Forum: Fixing WordPress
In reply to: Simple PHP snippet to get content from REST APIThought about https://www.gatsbyjs.org/ ?
Otherwise just a simple file_get_contents(“https://www.example.com/wp-json/wp/v2/posts”) or better using Guzzle or cUrl?
- This reply was modified 5 years, 3 months ago by lordandy1984.
Forum: Plugins
In reply to: [WP fail2ban - Advanced Security] Fail2Ban with WordfenceThanks, I’ll test this, maybe it even works with the symlink version, otherwise I’ll install the plugin itself there.
Hello @arisoft,
you’re right, in my modes there is a NO_AUTO_VALUE_ON_ZERO.
As I don’t know what changing this has global effects as I run dozens of applications and also WordPress on this database, I will set it just for this session and check if it works.
Regards,
AndyForum: Plugins
In reply to: [Loco Translate] Disable and still translateVery good question – where do I see the location setting?
Woocommerce Plugin Example attached- This reply was modified 7 years, 7 months ago by lordandy1984.
Hi wfasa, thanks for the update, “touching” normally should not change the ownership, nevertheless the issue did not happen again. Maybe it is just happening after updates, if the file gets deleted/recreated by a cron or similar.
Crons should always be run as the server user (not called by PHP) as WordPress Suggests, that’s why this might cause issues as the server user basically does/should not have access to the PHP files.