אין למשתמש דיונים מועדפים.
דיונים מועדפים בפורום
נושאי פורום נוצרו
מצב |
דיון
|
Supporter | משתתפים | תגובות | עודכן לאחרונה |
---|---|---|---|---|---|
Follow up to Site Language resetting the cache
1
2
נוצר על ידי John בEnglish Support |
|
4 | 22 | לפני 1 חודש, 1 שבוע | |
Scheduled sale price mixes the pricing with default language
נוצר על ידי John בEnglish Support |
|
3 | 13 | לפני 3 חודשים, 2 שבועות | |
Wpml client location reset caching
1
2
נוצר על ידי John בEnglish Support |
|
2 | 18 | לפני 4 חודשים | |
We have an issue with the emails
1
2
נוצר על ידי John בEnglish Support |
|
2 | 17 | לפני 4 חודשים, 1 שבוע | |
Session expires when trying to checkout
נוצר על ידי John בChat Support |
|
1 | 2 |
לפני 5 חודשים, 1 שבוע
|
|
Get post meta price doesn't return posta meta database value
נוצר על ידי John בEnglish Support |
|
2 | 7 | לפני 6 חודשים, 2 שבועות | |
I have an issue with the strings from WooCommerce emails
1
2
נוצר על ידי John בEnglish Support |
|
3 | 27 | לפני 7 חודשים | |
issue trying to translate the woocommerce emails
נוצר על ידי John בChat Support |
|
1 | 2 |
לפני 8 חודשים, 2 שבועות
|
|
Split: I have an issue regarding translating some strings
נוצר על ידי John בEnglish Support |
|
2 | 8 | לפני 8 חודשים, 2 שבועות | |
I have an issue regarding translating some strings
נוצר על ידי John
בEnglish Support
Problem: Solution: Relevant Documentation: |
|
2 | 5 | לפני 8 חודשים, 3 שבועות | |
issue with wpml and product attributes
1
2
נוצר על ידי John
בEnglish Support
Problem: Solution: /** * WPML Workaround for compsupp-6299 */ add_action('wp_head', 'wpml_compsupp6299_replace_term_meta_on_translations'); function wpml_compsupp6299_replace_term_meta_on_translations() { // Settings $taxonomy = 'pa_color'; // Replace with the attribute taxonomy $term_meta_key = '_xts_attribute_image'; //Replace with the term meta key //Get Terms $terms = get_terms(array( 'taxonomy' => $taxonomy, 'hide_empty' => false, ) ); echo '<div style="margin: 20px auto; border-radius: 20px; width: 800px; padding: 20px; border: 4px solid #ff0000;">'; foreach ( $terms as $term ) { $term_meta_value = get_term_meta( $term->term_id, $term_meta_key, true ); //Get Translations $taxonomy_wpml_key = 'tax_'.$taxonomy; $trid = apply_filters( 'wpml_element_trid', NULL, $term->term_id, $taxonomy_wpml_key ); $translations = apply_filters( 'wpml_get_element_translations', NULL, $trid, $taxonomy_wpml_key); foreach ($translations as $translation) { $translation_id = intval($translation->element_id); // Update term meta on translations with the meta value from the original term if ($translation_id != $term->term_id ) { update_term_meta( $translation_id, $term_meta_key, $term_meta_value ); echo '<h4>Term '.$translation_id.' updated.</h4>'; echo '<hr/>'; } } } echo '<p>Please remove the workaround from the functions.php file.'; echo '</div>'; } - Visit the site on front-end which will execute the code and the values from _xts_attribute_image term meta will be copied to the translations of the taxonomy/attributes. Relevant Documentation: |
|
2 | 24 | לפני 8 חודשים, 4 שבועות | |
Split: Product template with Vega theme
נוצר על ידי John בEnglish Support |
|
2 | 4 | לפני 9 חודשים | |
WPML importing attributes issue
נוצר על ידי John
בEnglish Support
Problem: [WP All Export] Exporting products taxonomies – missing WPML Translation ID field Solution: You are trying to export product attributes in 8 languages from one site and import them to another site. You must do that before importing any products with those attribute terms associated with them. You do not need to include the Term ID in the import file because the terms will get new IDs on the new site once the import is complete. So here are the steps you need to take. 1. Export terms in one language, then edit the file and add a unique identifier field/column to all terms. 2. Export terms in another language and edit the file to add a unique identifier field/column to all terms. 3. Import both files as per our standard procedure, explained in our guide here. Relevant Documentation: |
|
2 | 11 | לפני 10 חודשים | |
WP JobSearch issue
נוצר על ידי John בEnglish Support |
|
2 | 2 | לפני 11 חודשים, 2 שבועות | |
WPML price issue
נוצר על ידי John
בEnglish Support
Problem: How to export products with price from that specifc language currency. Solution: The client used custom code that worked for them: function price_euro($value){ $price = $value; $currency = "EUR"; $new_price = apply_filters('wcml_raw_price_amount', $price, $currency); return $new_price; } Relevant Documentation: - https://wpml.org/wcml-hook/wcml_raw_price_amount/ |
|
2 | 6 | לפני 1 שנה |