Questo utente non ha argomenti preferiti.
Argomenti preferiti del forum
Argomenti del forum creati
| Stato |
Argomento
|
Supporter | Voci | Post | Freschezza |
|---|---|---|---|---|---|
|
E-shop products does not open in other language
Iniziato da: martH
in: English Support
Problem: Solution: If these steps do not resolve the issue, it 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 at WPML support forum for further assistance. |
|
0 | 5 | 8 mese, 3 settimana fa | |
|
WPML Multilingual CMS causes problems
Iniziato da: martH
in: English Support
Problem: // WPML Workaround for compsupp-7975
add_filter( 'woocommerce_order_get_payment_method_title', 'custom_everypay_submethod_title', 15, 2 );
function custom_everypay_submethod_title( $title, $order ) {
if ( ! is_a( $order, 'WC_Order' ) ) {
return $title;
}
if ( $order->get_payment_method() !== 'everypay' ) {
return $title;
}
// get sub method stored in the order meta
$sub_method_key = $order->get_meta( '_wc_everypay_payment_method', true );
if ( ! $sub_method_key ) {
return $title;
}
// get everyPay settings
$settings = get_option( 'woocommerce_everypay_settings' );
if ( ! is_array( $settings ) ) {
$settings = maybe_unserialize( $settings );
}
if ( empty( $settings['payment_methods'] ) ) {
return $title;
}
// get sub methods from settings
$methods = json_decode( $settings['payment_methods'], true );
if ( ! is_array( $methods ) ) {
return $title;
}
// loop and match
foreach ( $methods as $method ) {
if ( isset( $method['source'], $method['name'] ) && $method['source'] === $sub_method_key ) {
return $method['name'];
}
}
return $title;
}If this solution does not resolve your issue or seems outdated, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket for further assistance. |
|
0 | 14 | 9 mese, 2 settimana fa | |
|
After updating WooCommerce Multilingual & Multicurrency we got fatal error.
Iniziato da: martH in: English Support |
|
2 | 6 |
3 anno fa
martH |
|
|
Subcategories does not appear correctly in other languages
Iniziato da: martH in: English Support |
|
2 | 12 |
3 anno, 2 mese fa
martH |
|
|
WPML disturbes other plugin
Iniziato da: martH in: English Support |
|
2 | 2 | 3 anno, 6 mese fa | |
|
Other plugin?
Iniziato da: martH in: English Support |
|
3 | 10 | 3 anno, 6 mese fa |