-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn’t support cyrillic url #2091
Comments
Hi @BlackCatBLR, thank you for logging the issue here on GitHub. I'm trying to reproduce the issue so that we can understand what's happening, however, I have not yet been able to. Using the example you gave, I created a variable product and used Could you please share a few more details about how you've configured you're product? Additionally, can you please let us know what version of Google Listings & Ads and WooCommerce you have installed on your website? |
Wordpress 6.3.1 If you cannot reproduce this problem, it may be due to my other plugins, theme, etc. I started working with this site already when it had this problem. In this case, the problem can be closed. I’ll try to look for a plugin/theme/hook that breaks the work of your plugin. If I find the reason, I’ll let you know. |
Maybe you can tell me in which file the URL for sending is generated. So that I can fix the problem on my site? |
That is a common issue we see merchants encounter and it can unfortunately be quite difficult to get to the bottom of sometimes. You could perform a conflict test to determine if the theme or another plugin is causing the problem. You would need to re-sync the product you mentioned after each activation and wait for Merchant Center to update which you could do using the product sync tool at the bottom of the connection test page found at
Google Listings & Ads maps WooCommerce Product attributes to the Google Product Class to be synced in a file called WCProductAdapter.php. For the title, it maps the value directly from the WooCommerce Product class without modifying it. Other plugins would be able to modify the title using core WooCommerce filters which could be what's happening on your site. I hope that helps point you in the right direction so that you can resolve the issue on your site. I'll close this issue as we aren't able to offer support on GitHub but if you have any further questions or need any other help please open a support request on WooCommerce.com. |
Describe the bug:
if attribute slug contents cyrillic letter, he is coding url twice, in result merchant center cant open variation product url
Steps to reproduce:
Expected behavior:
The merchant center receives this URL:
?attribute_pa_buy-bottle=75%D0%BC%D0%BB-%D0%BF%D0%B0%D1%80%D1%84%D1%8E%D0%BC%D0%B5%D1%80%D0%BD%D0%B0%D1%8F-%D0%B2%D0%BE%D0%B4%D0%B0
Actual behavior:
The merchant center receives this URL:
%3Fattribute_pa_buy-bottle%3D75%25D0%25BC%25D0%25BB-%25D0%25BF%25D0%25B0%25D1%2580%25D1%2584%25D1%258E%25D0%25BC%25D0%25B5%25D1%2580%25D0%25BD%25D0%25B0%25D1%258F-%25D0%25B2%25D0%25BE%25D0%25B4%25D0%25B0
Additional details:
i use plugin for create feed, in this plugin i have this problem too
i search place where plugin generate url for feed and use php decoding
`
`
The text was updated successfully, but these errors were encountered: