This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
| Status |
Topic
|
Supporter | Voices | Posts | Freshness |
|---|---|---|---|---|---|
|
Split: Product bundles missing on translation
Started by: abdullahA-127
in: English Support
Problem: if ( ! $translated_item_id ) {<br /> $menu_order = $this->wpdb->get_var(<br /> $this->wpdb->prepare(<br /> "SELECT menu_order FROM {$this->wpdb->prefix}woocommerce_bundled_items<br /> WHERE bundle_id=%d AND product_id=%d",<br /> $bundle_id,<br /> $product_id<br /> )<br /> );<br /><br /> $this->wpdb->insert(<br /> $this->wpdb->prefix . 'woocommerce_bundled_items',<br /> [<br /> 'product_id' => $translated_product_id,<br /> 'bundle_id' => $translated_bundle_id,<br /> 'menu_order' => $menu_order,<br /> ]<br /> );<br /> $translated_item_id = $this->wpdb->insert_id;<br /> $this->set_translated_item_id_relationship( $item_id, $translated_item_id, $lang );<br />}and ADD the following code below it: $check = $this->wpdb->get_var(<br /> $this->wpdb->prepare(<br /> "SELECT bundled_item_id FROM {$this->wpdb->prefix}woocommerce_bundled_items<br /> WHERE bundled_item_id = %d AND bundle_id = %d",<br /> $translated_bundle_id,<br /> $translated_product_id<br /> )<br />);<br />if ( !$check ) {<br /> $menu_order = $this->wpdb->get_var(<br /> $this->wpdb->prepare(<br /> "SELECT menu_order FROM {$this->wpdb->prefix}woocommerce_bundled_items<br /> WHERE bundle_id=%d AND product_id=%d",<br /> $bundle_id,<br /> $product_id<br /> )<br /> );<br /><br /> $this->wpdb->insert(<br /> $this->wpdb->prefix . 'woocommerce_bundled_items',<br /> [<br /> 'bundled_item_id' => $translated_item_id,<br /> 'product_id' => $translated_product_id,<br /> 'bundle_id' => $translated_bundle_id,<br /> 'menu_order' => $menu_order,<br /> ]<br /> );<br />}4. Go to the Products tab, filter by Bundles, and perform a Bulk update without making any changes. This solution might be outdated or not applicable to your specific case. If the issue persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If needed, please open a new support ticket. |
|
0 | 7 | 10 months, 1 week ago | |
|
Split: product images missing
Started by: abdullahA-127
in: English Support
Problem: Please note that this solution might be outdated or not applicable to your specific 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 the problem persists, please open a new support ticket. |
|
0 | 6 | 10 months, 2 weeks ago | |
|
i got disconnected from live chat
Started by: abdullahA-127
in: English Support
Problem: If this does not resolve the issue, we ask the client to provide a detailed step-by-step description of how to recreate the problem, which will help us further diagnose and resolve the issue. Please note that this solution might be outdated or not applicable to your specific 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 the problem persists, please open a new support ticket. |
|
1 | 13 | 10 months, 2 weeks ago | |
|
website Arabic broken after translating
Started by: abdullahA-127 in: English Support |
|
1 | 4 | 1 year, 5 months ago | |
|
Fatal error on installing wpml
Started by: abdullahA-127
in: English Support
Problem: wp-config.php file: define('WP_DEBUG', true);<br />define('WP_DEBUG_LOG', true);<br />define('WP_DEBUG_DISPLAY', false);After updating the file, try to activate the plugin again and check the /wp-content/debug.log for any specific error messages. Please note that the solution provided might be outdated or not applicable to your specific 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 the problem persists, please open a new support ticket. |
|
3 | 12 | 1 year, 5 months ago |