hungpham
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] WooCommerce 8.5.1: Order Attribution GDPR complianceJust wanted to mention that even with the first party cookies, if the cookies are not necessary for website function, it still requires consent. This order attribution tracking is an add-on, I think, it’s not strictly necessary for the website, so it should be blocked before visitors give consent.
Huge JS? I don’t think so. Browser cache shows 3 files: 119 kB, 102 kB and 150 kB. From other domains, yes, from Google Tag Manager and Facebook. No more.
Forum: Plugins
In reply to: [Google for WooCommerce] [bug] item price is not correctThere is no error. And your code is clearly using subtotal, which is the revenue already. That’s why the item price in purchase event is incorrectly. Here is the code I copy from src/Google/GoogleiteTag.php
foreach ( $order->get_items() as $item_id => $item ) {
$product_id = $item->get_product_id();
$product_name = $item->get_name();
$quantity = $item->get_quantity();
$price = $item->get_subtotal();
$item_info [] = sprintf(
‘{
id: “gla_%s”,
price: %f,
google_business_vertical: “retail”,
name: “%s”,
quantity: %d,
}’,
esc_js( $product_id ),
$price,
esc_js( $product_name ),
$quantity,
);
}Can you check with your developer why they use get_subtotal() function there?
Forum: Plugins
In reply to: [Index WP MySQL For Speed] The new HPOS tablesGreat. Thanks for answering and info π
Any update on this?
Thanks.
Yes, I am using the latest version 4.1.8. Thank you.
It’s not that case. Just checked again with curl:
HTTP/2 200
server: nginx
date: Fri, 26 May 2023 10:24:04 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
x-powered-by: PHP/8.2.5
cache-control: max-age=300
wpo-cache-status: cached
last-modified: Thu, 25 May 2023 17:13:08 GMT
vary: Accept-Encoding,User-Agent
expires: Fri, 26 May 2023 10:29:04 GMT
x-cache-status: MISSNo, I don’t use CDN. X-cache is the status from Nginx reverse proxy. So, the plugin hasn’t tested with Nginx reverse proxy yet?
Forum: Plugins
In reply to: [Index WP MySQL For Speed] how to check the improvementThanks for answering. No, I don’t mean the site is slow, but always try to optimize for better performance π If 14K rows are not enough, how many rows in the posts table are we talking about, so that we can see the performance differently with / without your plugin?
Besides, only iThemes Security gave out the warnings. I can save, edit posts, pages, WP Settings, no problem.
Hi.
No itβs not the reason. On the same server, I have other WP sites secured with the plugin, no problem.
Forum: Plugins
In reply to: [Prevent Direct Access - Protect WordPress Files] webp is not supported yet?Yes, that is the plugin. You can just install and test yourself. And yes, the normal images seems to be protected fine. Thank you.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Facebook widget twirlHi.
No, not VPN or ad blocking extensions. In fact, I just tried to disable all extensions, restarted Chrome, nothing changes.
However, if I tested in incognito / private mode, then the widget is working. I tried to clear cache in Chrome, but again, the widget is still twirling.
Suggestion? Thanks.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Facebook widget twirl