Người dùng này không có chủ đề yêu thích.
Chủ đề diễn đàn yêu thích
Chủ đề diễn đàn đã được tạo
Trạng thái |
Đề tài
|
Người ủng hộ | Tiếng nói | Bài viết | Độ tươi |
---|---|---|---|---|---|
Issue with manually translated product attributes (extra slug problem)
1
2
Bắt đầu bởi: patrykP-6
tRONG: English Support
Problem: /wp-content/plugins/kadence-blocks-pro/includes/query/query-indexer-woo.php . if ( ! empty( $attribute_values ) ) { $attribute_values_array = explode( ',', $attribute_values ); foreach ( $attribute_values_array as $facet_name ) { $facet_name = trim( $facet_name ); $term = get_term_by('name', $facet_name, $tax_name); if ($term) { $term_id = $term->term_id; } $rows[] = array( 'facet_value' => isset( $term_id ) ? $term_id : 0, 'facet_name' => $facet_name, 'facet_id' => isset( $term_id ) ? $term_id : 0 ); } return $rows; } With: if ( ! empty( $attribute_values ) ) { $attribute_values_array = explode( ',', $attribute_values ); foreach ( $attribute_values_array as $facet_name ) { $facet_name = trim( $facet_name ); $term = get_term_by('name', $facet_name, $tax_name); if ($term) { $term_id = $term->term_id; } //WPML workaround for compsupp-7812 $languages = apply_filters( 'wpml_active_languages', NULL); if ( !empty( $languages ) ) { foreach( $languages as $language ){ $term_id = apply_filters( 'wpml_object_id', $term_id, $tax_name, TRUE, $language['language_code'] ); $rows[] = array( 'facet_value' => isset( $term_id ) ? $term_id : 0, 'facet_name' => $facet_name, 'facet_id' => isset( $term_id ) ? $term_id : 0 ); } } } return $rows; } 4. After making these changes, go to your default language product and click update to create a re-index for the loop. Please note that this solution might become outdated or may not apply to your specific case. If this solution does not resolve your issue, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket. |
|
0 | 20 | 1 weeks, 4 days trước | |
Credit calculation
Bắt đầu bởi: patrykP-6
tRONG: English Support
Problem: If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum. |
|
0 | 2 | 3 weeks, 1 days trước | |
update from December 19th – issue with a 500 Internal Server Error
Bắt đầu bởi: patrykP-6
tRONG: English Support
Problem: flush_rewrite_rules(true) function, which can alter the rewrite rules in your .htaccess file. This could be causing the issues on your WordPress site. For more detailed information, please visit https://wpml.org/faq/why-is-htaccess-getting-overwritten-with-the-language-folder-on-my-wpml-website/. If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If issues persist, please open a new support ticket at WPML support forum. |
|
0 | 3 | 1 months trước | |
Website Performance
Bắt đầu bởi: patrykP-6 tRONG: English Support |
|
0 | 6 | 2 months, 2 weeks trước | |
SLUG single product
Bắt đầu bởi: patrykP-6
tRONG: English Support
Problem: Translatable—only show translated items and Translatable—use translation if available or fallback to default language for Products in WPML → Settings → Post Types Translation to see if it resolves the issue. If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, please open a new support ticket at WPML support forum for further assistance. |
|
2 | 13 | 3 months, 3 weeks trước |