Language encoding in product features
-
Greetings
I would be very grateful for the help
I have a website in Hebrew
When I save features and variations
The values are stored in the database properly
But the keys are kept in improper encoding
For example instead
attribute_ืืฉืคืื
Write
attribute_% d7% 9e% d7% a9% d7% a4% d7% 97% d7% 94
Thank you
-
If I create the attribute Programming
If I create the
attribute
Programming
With the functions of woocommerce:
WC_Product_Attribute
set_attributes
WC_Product_Variation
set_attributes
It does work well
God has the solutionsHi there,
Thanks for following up! Glad you were able to get things sorted out ๐
I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
I’m surprised
Is it called a solution?
It’s only if you do it programmatically
If the management interface is used normally this is not correct
I think it should be passed on to developersMy apologies for the misunderstanding.
I’ve had a look at our reported issues and do not see reference to one similar to this. Can you please send a screenshot of what you’re seeing when the encoding is not working as expected? As well as more information about the workaround you’ve setup?
Does this issue happen when you’re using only a default theme and only WooCommerce activated? If so, can you also share a copy of your siteโs System Status? You can find it via WooCommerce > Status. Select โGet system reportโ and then โCopy for supportโ.ย Once youโve done that, paste it here in your response.
It’s quite possible you’ve uncovered a bug. If you’d prefer, you can also submit a bug report: https://github.com/woocommerce/woocommerce/issues/
attached Screenshot
Yes the fault also in shutting down all plugins (except Vocommerce)
As for the default theme, what’s its name? (I deleted all topics)### WordPress Environment ### WordPress address (URL): http://tikshoret.xyz Site address (URL): http://tikshoret.xyz WC Version: 4.4.1 REST API Version: โ 1.0.15 WC Blocks Version: โ 3.1.0 Action Scheduler Version: โ 3.1.6 WC Admin Version: โ 1.4.0 Log Directory Writable: โ WP Version: 5.5.1 WP Multisite: โ WP Memory Limit: 256 MB WP Debug Mode: โ WP Cron: โ Language: he_IL External object cache: โ ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.4.8 PHP Post Max Size: 64 MB PHP Time Limit: 60 PHP Max Input Vars: 5000 cURL Version: 7.62.0 OpenSSL/1.0.2k SUHOSIN Installed: โ MySQL Version: 5.5.5-10.4.13-MariaDB Max Upload Size: 64 MB Default Timezone is UTC: โ fsockopen/cURL: โ SoapClient: โ DOMDocument: โ GZip: โ Multibyte String: โ Remote Post: โ Remote Get: โ ### Database ### WC Database Version: 4.4.1 WC Database Prefix: wp_ ืืืืื ืืืืื ืฉื ืืกืืก ืื ืชืื ืื: 6.08MB ืืืื ืื ืชืื ืื ืฉื ืืกืืก ืื ืชืื ืื: 4.06MB ืืืื ืืืื ืืงืก ืฉื ืืกืืก ืื ืชืื ืื: 2.02MB wp_woocommerce_sessions: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.02MB + ืื ืืข InnoDB wp_woocommerce_api_keys: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.03MB + ืื ืืข InnoDB wp_woocommerce_attribute_taxonomies: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.02MB + ืื ืืข InnoDB wp_woocommerce_downloadable_product_permissions: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.17MB + ืื ืืข InnoDB wp_woocommerce_order_items: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.03MB + ืื ืืข InnoDB wp_woocommerce_order_itemmeta: ื ืชืื ืื: 0.08MB + ืืื ืืงืก: 0.14MB + ืื ืืข InnoDB wp_woocommerce_tax_rates: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.08MB + ืื ืืข InnoDB wp_woocommerce_tax_rate_locations: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.05MB + ืื ืืข InnoDB wp_woocommerce_shipping_zones: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.00MB + ืื ืืข InnoDB wp_woocommerce_shipping_zone_locations: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.03MB + ืื ืืข InnoDB wp_woocommerce_shipping_zone_methods: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.00MB + ืื ืืข InnoDB wp_woocommerce_payment_tokens: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.03MB + ืื ืืข InnoDB wp_woocommerce_payment_tokenmeta: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.05MB + ืื ืืข InnoDB wp_woocommerce_log: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.02MB + ืื ืืข InnoDB dr_Basket_Detail: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.00MB + ืื ืืข InnoDB wp_actionscheduler_actions: ื ืชืื ืื: 0.14MB + ืืื ืืงืก: 0.11MB + ืื ืืข InnoDB wp_actionscheduler_claims: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.02MB + ืื ืืข InnoDB wp_actionscheduler_groups: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.02MB + ืื ืืข InnoDB wp_actionscheduler_logs: ื ืชืื ืื: 0.13MB + ืืื ืืงืก: 0.11MB + ืื ืืข InnoDB wp_commentmeta: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.03MB + ืื ืืข InnoDB wp_comments: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.09MB + ืื ืืข InnoDB wp_links: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.02MB + ืื ืืข InnoDB wp_mailchimp_carts: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.00MB + ืื ืืข InnoDB wp_mailchimp_jobs: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.00MB + ืื ืืข InnoDB wp_ms_snippets: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.00MB + ืื ืืข InnoDB wp_options: ื ืชืื ืื: 2.52MB + ืืื ืืงืก: 0.08MB + ืื ืืข InnoDB wp_postmeta: ื ืชืื ืื: 0.22MB + ืืื ืืงืก: 0.19MB + ืื ืืข InnoDB wp_posts: ื ืชืื ืื: 0.11MB + ืืื ืืงืก: 0.06MB + ืื ืืข InnoDB wp_snippets: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.00MB + ืื ืืข InnoDB wp_termmeta: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.03MB + ืื ืืข InnoDB wp_terms: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.03MB + ืื ืืข InnoDB wp_term_relationships: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.02MB + ืื ืืข InnoDB wp_term_taxonomy: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.03MB + ืื ืืข InnoDB wp_usermeta: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.03MB + ืื ืืข InnoDB wp_users: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.05MB + ืื ืืข InnoDB wp_wc_admin_notes: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.00MB + ืื ืืข InnoDB wp_wc_admin_note_actions: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.02MB + ืื ืืข InnoDB wp_wc_category_lookup: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.00MB + ืื ืืข InnoDB wp_wc_customer_lookup: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.05MB + ืื ืืข InnoDB wp_wc_download_log: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.05MB + ืื ืืข InnoDB wp_wc_order_coupon_lookup: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.03MB + ืื ืืข InnoDB wp_wc_order_product_lookup: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.06MB + ืื ืืข InnoDB wp_wc_order_stats: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.05MB + ืื ืืข InnoDB wp_wc_order_tax_lookup: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.03MB + ืื ืืข InnoDB wp_wc_product_meta_lookup: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.09MB + ืื ืืข InnoDB wp_wc_reserved_stock: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.00MB + ืื ืืข InnoDB wp_wc_tax_rate_classes: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.02MB + ืื ืืข InnoDB wp_wc_webhooks: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.03MB + ืื ืืข InnoDB wp_wpforms_tasks_meta: ื ืชืื ืื: 0.02MB + ืืื ืืงืก: 0.00MB + ืื ืืข InnoDB ### Post Type Counts ### attachment: 14 custom_css: 1 customize_changeset: 9 elementor_library: 1 nav_menu_item: 17 page: 13 post: 2 product: 11 product_variation: 34 revision: 1 shop_order: 69 ### Security ### Secure connection (HTTPS): โ ืืื ืืช ืื ืืฉืชืืฉืช ืHTTPS. ืืืืข ื ืืกืฃ ืขื HTTPS ืืชืขืืืืช SSL. Hide errors from visitors: โ ### Active Plugins (1) ### ืืืงืืืจืก: ืืืช ืืืจืช ืืืืืืืืง โ 4.4.1 (ืืขืืืื ืืืจืกื 4.5.2 ืืืื) ### Inactive Plugins (7) ### Code Snippets: ืืืช Code Snippets Pro โ 2.14.0 Elementor: ืืืช Elementor.com โ 2.9.14 Facebook for WooCommerce: ืืืช Facebook โ 1.11.4 โ ืืืจืกื ืืืชืืงื ืช ืื ื ืืืงื ืขื ืืืจืกื ืืคืขืืื ืฉื WooCommerce 4.4.1 Google Ads for WooCommerce: ืืืช Kliken โ 1.0.4 โ ืืืจืกื ืืืชืืงื ืช ืื ื ืืืงื ืขื ืืืจืกื ืืคืขืืื ืฉื WooCommerce 4.4.1 Mailchimp for WooCommerce: ืืืช Mailchimp โ 2.4.3 โ ืืืจืกื ืืืชืืงื ืช ืื ื ืืืงื ืขื ืืืจืกื ืืคืขืืื ืฉื WooCommerce 4.4.1 Ocean Extra: ืืืช OceanWP โ 1.6.5 WP Super Cache: ืืืช Automattic โ 1.7.1 ### Must Use Plugins (1) ### Elementor Safe Mode: ืืืช Elementor.com โ 1.0.0 ### Settings ### API Enabled: โ Force SSL: โ Currency: ILS (โช) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: โ ### WC Pages ### ืืกืืก ืื ืืช: #30 - / ืกื ืงื ืืืช: #31 - /cart/ ืชืฉืืื: #32 - /checkout/ ืืืฉืืื ืฉืื: #33 - /my-account/ ืชื ืื ืฉืืืืฉ: โ ืืฃ ืื ืืืืืจ ### Theme ### Name: OceanWP Version: 1.8.7 (ืืขืืืื ืืืจืกื 1.8.9 ืืืื) Author URL: https://oceanwp.org/about-me/ Child Theme: โ โ ืื ืืฉื ืื ืืช ืืืงืืืจืก ืืขืจืืช ื ืืฉื ืื ืฉืื ื ืื ืชื ืืืืคื ืืืฉื ืืืืืฅ ืืืฉืชืืฉ ืืขืจืืช ืขืืฆืื ืืช. ืืคืฉืจ ืืจืืืช: ืืืฆื ืืืฆืืจ ืขืจืืช ืขืืฆืื ืืช WooCommerce Support: โ ### Templates ### Overrides: oceanwp/woocommerce/cart/mini-cart.php oceanwp/woocommerce/content-single-product.php oceanwp/woocommerce/loop/loop-start.php oceanwp/woocommerce/single-product/title.php ### Action Scheduler ### ืืืฉืื: 415 Oldest: 2020-08-19 13:17:55 +0300 Newest: 2020-09-09 14:44:32 +0300 ืืืชืื ืืืืฉืืจ: 1 Oldest: 2020-09-15 11:00:18 +0300 Newest: 2020-09-15 11:00:18 +0300 ื ืืฉื: 2 Oldest: โ Newest: โattached Screenshot
Thanks for sending this. So the issue is only on the backend?
Or does it appear on the front end as well?
When looking at your site, I only found one product and it was out of stock so I was not able to check further:
https://tikshoret.xyz/product/product-3/
Yes the fault also in shutting down all plugins (except Vocommerce)
That’s good to know.
As for the default theme, whatโs its name? (I deleted all topics)
I’ve found a fairly old issue where the issue came from the theme. Before going down any other troubleshooting paths, I’d like to ensure that this isn’t the case here.
ย
The best way to determine this is to:- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce
- Repeat the action that is causing the problem
If youโre not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.
Let us know how that goes.
Thanks Nancy
I really appreciate your consistency1. Yes, is only on the backend (but it is relevant to plugins)
Could be on the front end as well
Because of the next thing-
this
Note that it is written twice, once as the identifier (?) Of the attribute, and there it is incorrect, and a second time as there, and there it is correct.2. It continues even with the “Storefront” template, and with off plugins
3. My site is not yet active for learning and experimentation
I am currently working with products in English until it is fixed-
This reply was modified 5 years, 3 months ago by
davidrot.
The topic ‘Language encoding in product features’ is closed to new replies.