Eduard Doloc
Forum Replies Created
-
Forum: Plugins
In reply to: [Mescio for Agents] shop page as front page link@vinsmach after a few weeks of back and forth with WP Rocket. They do not want to add support/compatibility for this, thus enabling WP rocket, the “links” in headers are being removed.
I think this should be noted in FAQ that this plugin inserts headers that WP Rocket intentionally skips (for any plugin, not just this one).@sgudymyak you do realise I am the developer, not the business owner? I do not have such capabilities….
Forum: Plugins
In reply to: [FAZ Cookie Manager] how to bypass an inline script?you are very welcome and thank you for your hard work!
Forum: Plugins
In reply to: [Mescio for Agents] shop page as front page linkyeah, everything is OK, I have mailed wprocket about the issue, waiting on updates from them.
Forum: Plugins
In reply to: [Mescio for Agents] shop page as front page linksorry, apparently it’s a wprocket issue, as it removes the “links” in the request headers.
Forum: Plugins
In reply to: [FAZ Cookie Manager] how to bypass an inline script?@fabiodalez thanks for the response, I added a class to my inline script and noted it in the “whitelist url patterns” section, was not sure it will work but it was the only one that was near your steps and now it works properly!
I think there is a need for updates on the naming and description, I was not able to figure it out so easily as the naming and description do not properly state what it does.
also as a suggestion, please add a “faz-skip” class or something similar for easily global implementation.
thank youForum: Reviews
In reply to: [Performance Lab] great for testing, idk how great for productionah, thank you for the insight, I am a WP CLI Fan also, so if that can be added it would be great!
Forum: Reviews
In reply to: [Performance Lab] great for testing, idk how great for productionoptimization detective does save for every url visited by anyone, this is just what I noticed (url_metrics I think is the meta), this creates a lot of db hits for no reason.
got it, thank you very much!
Forum: Reviews
In reply to: [Better Badge - Custom Product Badges for WooCommerce] ads spam in dashboard@shopmanagerx
let’s not transform this review into a support thread, it’s not allowed. but to answer your question, I have already tried, it keeps reappearing. Had to modify the plugin to add an early return to the banner to not show again, waiting on a version that might work properly.Forum: Reviews
In reply to: [Better Badge - Custom Product Badges for WooCommerce] ads spam in dashboard@shopmanagerx hello,
I just updated to latest version, same issue, just another message.
Forum: Plugins
In reply to: [Email Marketing for WooCommerce by Omnisend] VAT option for pricingI have checked as instructed but I could not find the line_items, instead I found this:
{
"added_item": {
"attributes": null,
"lineTotal": "100.61",
"link": "redacted",
"price": "100.61",
"product": {The values are correct, but lower, where the product data is set:
"name": "Miere pentru potență, 10g, 5 plicuri, Upotent",
"permalink": "redacted",
"price": "83.15",
"regular_price": "92.29",
"sale_price": "83.15",This is without VAT.
I guess it’s OK as my filter only works for cart items, not products. Correct?
Forum: Plugins
In reply to: [Simple CAPTCHA Alternative with Cloudflare Turnstile] Condițional frontend?I haven’t dived deep into what loads and does not, but to reproduce this is very simple, just enable turnstile on wordpress login (example) then go incognito, open the console and then the site. You should get a lot of notices and errors in the console from Cloudflare.
Forum: Plugins
In reply to: [Email Marketing for WooCommerce by Omnisend] VAT option for pricingOK, so using something like this:
//update cart line items
add_filter( 'omnisend_cart_line_item', function ( $omnisend_item, $wc_cart_item ) {
if ( empty( $wc_cart_item['data'] ) || ! $wc_cart_item['data'] instanceof WC_Product ) {
return $omnisend_item;
}
$product = $wc_cart_item['data'];
$qty = max( 1, (int) ( $wc_cart_item['quantity'] ?? 1 ) );
$unit_price_incl_tax = wc_get_price_including_tax( $product, [ 'qty' => 1 ] );
$line_total_incl_tax = $unit_price_incl_tax * $qty;
$omnisend_item['price'] = wc_format_decimal( $unit_price_incl_tax, 2 );
$omnisend_item['lineTotal'] = wc_format_decimal( $line_total_incl_tax, 2 );
return $omnisend_item;
}, 10, 2 );how can I test this? will the preview function render the prices updated automatically or ?
Thank you, seems to be better now. Only one question remains:
Why do you need total sales for a product? The feed has no mapping/filter/rule for this case.