Calculation prices issue on Multisite
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from KESKES on November 2, 2024, 22:31Подскажите пожалуйста. Существует следующая проблема:
На мульти-сайте установлен плагин Fox Currency и 2 валюты RUB и USD.
В Русской версии сайта: https://keskes.store/
1. Язык сайта: Русский
2. Установлена основная Валюта: RUB
3. Курс доллара: 0.011147725195197
4. Цена товара: 7000 руб.
5. Цена отображается верно в Рублях.В Английской версии сайта: https://en.keskes.store/
1. Язык сайта: English
2. Установлена основная валюта: RUB
3. Цена Товара: $ 8 740 (подгонялась что бы при делении на значении курса доллара получилось $ 97)
4. Курс доллара: 0.011147725195197
5. Отображает цену в карточке товара: $ 97 (цена верная) - Цена отображается только при включенном VPN (Польша)
6. Цена товара при выключенном VPN в карточке товара отображается : $8730 (геолокация Россия)
7. Как только обратно включаю VPN обновляю страницу и сразу показывает нормальную цену $ 97Как сделать так что бы в Английской версии без VPN цена товара отображалась $ 97?
Если ставить цену товара в Долларах и указывать основную валюту Доллар в Английской версии сайта, то стоимость доставки 500 рублей будет отображаться как 500 долларов
Подскажите пожалуйста. Существует следующая проблема:
На мульти-сайте установлен плагин Fox Currency и 2 валюты RUB и USD.
В Русской версии сайта: https://keskes.store/
1. Язык сайта: Русский
2. Установлена основная Валюта: RUB
3. Курс доллара: 0.011147725195197
4. Цена товара: 7000 руб.
5. Цена отображается верно в Рублях.
В Английской версии сайта: https://en.keskes.store/
1. Язык сайта: English
2. Установлена основная валюта: RUB
3. Цена Товара: $ 8 740 (подгонялась что бы при делении на значении курса доллара получилось $ 97)
4. Курс доллара: 0.011147725195197
5. Отображает цену в карточке товара: $ 97 (цена верная) - Цена отображается только при включенном VPN (Польша)
6. Цена товара при выключенном VPN в карточке товара отображается : $8730 (геолокация Россия)
7. Как только обратно включаю VPN обновляю страницу и сразу показывает нормальную цену $ 97
Как сделать так что бы в Английской версии без VPN цена товара отображалась $ 97?
Если ставить цену товара в Долларах и указывать основную валюту Доллар в Английской версии сайта, то стоимость доставки 500 рублей будет отображаться как 500 долларов
Quote from KESKES on November 2, 2024, 22:49Прикладываю скрин. Если в Geo IP добавить россию что бы отображала цену в долларах в Англ версии, все равно отображает в Рублях.
https://imgur.com/Ahhgb6PСсылка на видео с багом:
https://www.youtube.com/watch?v=nftcx3FhnXw
Прикладываю скрин. Если в Geo IP добавить россию что бы отображала цену в долларах в Англ версии, все равно отображает в Рублях.
Ссылка на видео с багом:
Quote from KESKES on November 2, 2024, 23:14Могу предоставить доступы к админке. Напишите куда скинуть
Могу предоставить доступы к админке. Напишите куда скинуть
Quote from Pablo Borysenco on November 4, 2024, 11:07Hello
It looks like your text message - https://share.pluginus.net/image/i20241104105931.png doesn't match the information in the video. I will take the data from the video as a basis
"The English version of the site should show prices in dollars" - Can you describe why? Are you using custom code for this behavior?
The plugin shows/includes welcome currency or currency from GeoIP rules only on the first visit of the user. Next, the plugin stores the user's last currency. When you turn on VPN you simulate a new user
Hello
It looks like your text message - https://share.pluginus.net/image/i20241104105931.png doesn't match the information in the video. I will take the data from the video as a basis
"The English version of the site should show prices in dollars" - Can you describe why? Are you using custom code for this behavior?
The plugin shows/includes welcome currency or currency from GeoIP rules only on the first visit of the user. Next, the plugin stores the user's last currency. When you turn on VPN you simulate a new user
Quote from KESKES on November 13, 2024, 19:19Hi! Check this video please.
https://www.youtube.com/watch?v=Y6H6eInqHQg
I have a problem with calculation of Delivery Price for Products. The delivery price shows in RUB but it should be calculate in USD. Help me please. I will thank you for your fast helping.
Hi! Check this video please.
I have a problem with calculation of Delivery Price for Products. The delivery price shows in RUB but it should be calculate in USD. Help me please. I will thank you for your fast helping.
Quote from Pablo Borysenco on November 14, 2024, 10:52Hello
This is an incompatibility with a third party plugin.
This third party shipping plugin uses API to get shipping prices but does not take into account the current currency
Hello
This is an incompatibility with a third party plugin.
This third party shipping plugin uses API to get shipping prices but does not take into account the current currency
Quote from KESKES on November 14, 2024, 14:36Thank you very much, dear, for your help! We managed to solve this issue by adding this custom code to the functions.php file. I'll leave it here as it may be very useful for you and other users.
// Почта России (Russian Post)
add_filter( 'wc_russian_post_rates_item', function( $atts ) {$currency_current = get_woocommerce_currency();
if( $atts['cost'] > 0 && ! in_array( $currency_current, [ 'RUB', 'RUR' ], true ) ) {
$atts['cost'] = ceil( $atts['cost'] / 100 ); //Значение 100 это примерное соотношения пары RUB/USD
}return $atts;
} );// СДЭК (CDEK Delivery)
add_filter( 'woocommerce_package_rates', function( $rates ) {
$currency_current = get_woocommerce_currency();foreach ( $rates as $rate_id => $rate ) {
// Проверяем, что метод доставки относится к СДЭК
if ( strpos( $rate->method_id, 'official_cdek' ) !== false ) {
// Проверяем валюту и изменяем стоимость
if ( $rate->cost > 0 && ! in_array( $currency_current, [ 'RUB', 'RUR' ], true ) ) {
$rates[$rate_id]->cost = ceil( $rate->cost / 100 ); // Настройте коэффициент в зависимости от курса
}
}
}return $rates;
}, 10, 2 );//
Thank you very much, dear, for your help! We managed to solve this issue by adding this custom code to the functions.php file. I'll leave it here as it may be very useful for you and other users.
// Почта России (Russian Post)
add_filter( 'wc_russian_post_rates_item', function( $atts ) {
$currency_current = get_woocommerce_currency();
if( $atts['cost'] > 0 && ! in_array( $currency_current, [ 'RUB', 'RUR' ], true ) ) {
$atts['cost'] = ceil( $atts['cost'] / 100 ); //Значение 100 это примерное соотношения пары RUB/USD
}
return $atts;
} );
// СДЭК (CDEK Delivery)
add_filter( 'woocommerce_package_rates', function( $rates ) {
$currency_current = get_woocommerce_currency();
foreach ( $rates as $rate_id => $rate ) {
// Проверяем, что метод доставки относится к СДЭК
if ( strpos( $rate->method_id, 'official_cdek' ) !== false ) {
// Проверяем валюту и изменяем стоимость
if ( $rate->cost > 0 && ! in_array( $currency_current, [ 'RUB', 'RUR' ], true ) ) {
$rates[$rate_id]->cost = ceil( $rate->cost / 100 ); // Настройте коэффициент в зависимости от курса
}
}
}
return $rates;
}, 10, 2 );
//
Quote from Pablo Borysenco on November 15, 2024, 11:00Great! Thank you for your cooperation!
Great! Thank you for your cooperation!