【WOOCSLABS】TeraWalletおおよその価格
サポートは土曜日と日曜日には機能しないため、一部の金曜日のリクエストには月曜日に回答できます。24〜36営業時間以内にメールが届かない場合は、まずスパムボックスをチェックし、サポートからのメールがない場合は、フォーラムに戻ってここで回答を読んでください。 しない] メールでの回答[noreply@pluginus.net]フォーラムから!! メールはあなたの情報のためだけのものであり、すべての回答はここでのみ公開する必要があります。
サポートは土曜日と日曜日には機能しないため、一部の金曜日のリクエストには月曜日に回答できます。
29年2022月05日40:XNUMXのabd_saからの引用親愛なるサポート、
FAQからこのコードを使用しました(TeraWallet –WooCommerce用)TeraWalletプラグインを使用すると、バランスが変わりますが、WOOCSプラグインでおおよその価格機能を有効にしているので、おおよその価格を表示したいだけです。 (スクリーンショット: https://prnt.sc/2pMbsWJGNHwd.)
ご覧ください。
よろしくお願いいたします。
親愛なるサポート、
FAQからこのコードを使用しました(TeraWallet –WooCommerce用)TeraWalletプラグインを使用すると、バランスが変わりますが、WOOCSプラグインでおおよその価格機能を有効にしているので、おおよその価格を表示したいだけです。 (スクリーンショット: https://prnt.sc/2pMbsWJGNHwd.)
ご覧ください。
よろしくお願いいたします。
からの引用 パブロ・ボリセンコ 29年2022月11日48:XNUMXこんにちは
テストサイトへのwp-admin+FTPアクセスをドロップしてください-https://share.stackovergo.com/image/i20210618130558.png->https://share.stackovergo.com/image/i20210618130637.png
適応キューに追加します
こんにちは
テストサイトへのwp-admin+FTPアクセスをドロップしてください- https://share.stackovergo.com/image/i20210618130558.png ->https://share.stackovergo.com/image/i20210618130637.png
適応キューに追加します
30年2022月08日35:XNUMXのabd_saからの引用こんにちは、
やった、ありがとう。
聞いてもらえるとどれくらいかかりますか? ステージング環境を更新する必要があるかもしれないので? アダプテーションキューにはすでに多くのリクエストがありますか?
こんにちは、
やった、ありがとう。
聞いてもらえるとどれくらいかかりますか? ステージング環境を更新する必要があるかもしれないので? アダプテーションキューにはすでに多くのリクエストがありますか?
からの引用 パブロ・ボリセンコ 2年2022月11日51:XNUMXこんにちは
There are not many adaptations at the moment.
I think we will do it next week (Friday)
こんにちは
There are not many adaptations at the moment.
I think we will do it next week (Friday)
3年2022月03日40:XNUMXのabd_saからの引用こんにちは、
Ok Thank you so much. I'll try to keep the staging as it is until next week.
Let me know when you have any update.
こんにちは、
Ok Thank you so much. I'll try to keep the staging as it is until next week.
Let me know when you have any update.
からの引用 パブロ・ボリセンコ 6年2022月19日04:XNUMXこんにちは
In functions.php I added code:
add_filter('woo_wallet_current_balance', function ($balance, $user_id) {
if(class_exists( 'WOOCS')){
グローバル$ WOOCS;$ balance = $ WOOCS-> woocs_exchange_value($ balance);
}$ balanceを返します。
}、10、2);add_filter( 'woo_wallet_amount', function( $amount, $currency, $user_id ){
if(class_exists( 'WOOCS')){
グローバル$ WOOCS;$amount = $WOOCS->woocs_exchange_value($amount);
}$ amountを返します。
}、10,3);
in file - \wp-content\plugins\woo-wallet\includes\class-woo-wallet-wallet.php - I added this code - https://share.stackovergo.com/image/i20220506170257.png
// woocs
$additional_info = '';
if(class_exists( 'WOOCS')){
グローバル$ WOOCS;
if ($WOOCS->is_use_geo_rules() AND get_option('woocs_show_approximate_amount', 0) ) {$user_currency = $WOOCS->get_currency_by_country($WOOCS->storage->get_val('woocs_user_country'));
$ currencies = $ WOOCS-> get_currencies();if ($user_currency != $WOOCS->current_currency AND !empty($user_currency) AND $balance) {
$tmp_curr_currency = $WOOCS->current_currency;
$ WOOCS-> set_currency($ user_currency);
$decimal_separator = $WOOCS->get_decimal_sep($user_currency);
$thousand_separator = $WOOCS->get_thousand_sep($user_currency);
$ balance = $ WOOCS-> woocs_exchange_value($ balance);$wc_price = $WOOCS->wc_price($balance, true, array('thousand_separator' => $thousand_separator, 'decimal_separator' => $decimal_separator, 'decimals' => $WOOCS->get_currency_price_num_decimals($user_currency, $WOOCS->price_num_decimals)));
$additional_info = '<span class="woocs_cart_item_price ">';
$additional_info .= apply_filters('woocs_get_approximate_amount_text', sprintf(esc_html__('(Approx. %s)', 'woocommerce-currency-switcher'), $wc_price), $wc_price);$additional_info .= '</span>';
$WOOCS->set_currency($tmp_curr_currency);
}
}
}
return 'view' === $context ? wc_price( $this->wallet_balance, woo_wallet_wc_price_args($this->user_id) ) . $additional_info : number_format( $this->wallet_balance, wc_get_price_decimals(), '.', '' );
In file - wp-content\plugins\woo-wallet\templates\wc-endpoint-wallet.php - I added code - https://share.stackovergo.com/image/i20220506170419.png
$additional_info = '';
if(class_exists( 'WOOCS')){
グローバル$ WOOCS;
if ($WOOCS->is_use_geo_rules() AND get_option('woocs_show_approximate_amount', 0) ) {$user_currency = $WOOCS->get_currency_by_country($WOOCS->storage->get_val('woocs_user_country'));
$ currencies = $ WOOCS-> get_currencies();if ($user_currency != $WOOCS->current_currency AND !empty($user_currency) AND $transaction->amount) {
$curr_price = $transaction->amount;$tmp_curr_currency = $WOOCS->current_currency;
$ WOOCS-> set_currency($ user_currency);
$decimal_separator = $WOOCS->get_decimal_sep($user_currency);
$thousand_separator = $WOOCS->get_thousand_sep($user_currency);
$curr_price = $WOOCS->woocs_exchange_value($curr_price);$wc_price = $WOOCS->wc_price($curr_price, true, array('thousand_separator' => $thousand_separator, 'decimal_separator' => $decimal_separator, 'decimals' => $WOOCS->get_currency_price_num_decimals($user_currency, $WOOCS->price_num_decimals)));
$additional_info = '<span class="woocs_cart_item_price ">';
$additional_info .= apply_filters('woocs_get_approximate_amount_text', sprintf(esc_html__('(Approx. %s)', 'woocommerce-currency-switcher'), $wc_price), $wc_price);$additional_info .= '</span>';
$WOOCS->set_currency($tmp_curr_currency);
}
}
}
echo $additional_info;
こんにちは
In functions.php I added code:
add_filter('woo_wallet_current_balance', function ($balance, $user_id) {
if(class_exists( 'WOOCS')){
グローバル$ WOOCS;
$ balance = $ WOOCS-> woocs_exchange_value($ balance);
}
$ balanceを返します。
}、10、2);
add_filter( 'woo_wallet_amount', function( $amount, $currency, $user_id ){
if(class_exists( 'WOOCS')){
グローバル$ WOOCS;
$amount = $WOOCS->woocs_exchange_value($amount);
}
$ amountを返します。
}、10,3);
in file - \wp-content\plugins\woo-wallet\includes\class-woo-wallet-wallet.php - I added this code - https://share.stackovergo.com/image/i20220506170257.png
// woocs
$additional_info = '';
if(class_exists( 'WOOCS')){
グローバル$ WOOCS;
if ($WOOCS->is_use_geo_rules() AND get_option('woocs_show_approximate_amount', 0) ) {
$user_currency = $WOOCS->get_currency_by_country($WOOCS->storage->get_val('woocs_user_country'));
$ currencies = $ WOOCS-> get_currencies();
if ($user_currency != $WOOCS->current_currency AND !empty($user_currency) AND $balance) {
$tmp_curr_currency = $WOOCS->current_currency;
$ WOOCS-> set_currency($ user_currency);
$decimal_separator = $WOOCS->get_decimal_sep($user_currency);
$thousand_separator = $WOOCS->get_thousand_sep($user_currency);
$ balance = $ WOOCS-> woocs_exchange_value($ balance);
$wc_price = $WOOCS->wc_price($balance, true, array('thousand_separator' => $thousand_separator, 'decimal_separator' => $decimal_separator, 'decimals' => $WOOCS->get_currency_price_num_decimals($user_currency, $WOOCS->price_num_decimals)));
$additional_info = '<span class="woocs_cart_item_price">';
$additional_info .= apply_filters('woocs_get_approximate_amount_text', sprintf(esc_html__('(Approx. %s)', 'woocommerce-currency-switcher'), $wc_price), $wc_price);
$additional_info .= '</span>';
$WOOCS->set_currency($tmp_curr_currency);
}
}
}
return 'view' === $context ? wc_price( $this->wallet_balance, woo_wallet_wc_price_args($this->user_id) ) . $additional_info : number_format( $this->wallet_balance, wc_get_price_decimals(), '.', '' );
In file - wp-content\plugins\woo-wallet\templates\wc-endpoint-wallet.php - I added code - https://share.stackovergo.com/image/i20220506170419.png
$additional_info = '';
if(class_exists( 'WOOCS')){
グローバル$ WOOCS;
if ($WOOCS->is_use_geo_rules() AND get_option('woocs_show_approximate_amount', 0) ) {
$user_currency = $WOOCS->get_currency_by_country($WOOCS->storage->get_val('woocs_user_country'));
$ currencies = $ WOOCS-> get_currencies();
if ($user_currency != $WOOCS->current_currency AND !empty($user_currency) AND $transaction->amount) {
$curr_price = $transaction->amount;
$tmp_curr_currency = $WOOCS->current_currency;
$ WOOCS-> set_currency($ user_currency);
$decimal_separator = $WOOCS->get_decimal_sep($user_currency);
$thousand_separator = $WOOCS->get_thousand_sep($user_currency);
$curr_price = $WOOCS->woocs_exchange_value($curr_price);
$wc_price = $WOOCS->wc_price($curr_price, true, array('thousand_separator' => $thousand_separator, 'decimal_separator' => $decimal_separator, 'decimals' => $WOOCS->get_currency_price_num_decimals($user_currency, $WOOCS->price_num_decimals)));
$additional_info = '<span class="woocs_cart_item_price">';
$additional_info .= apply_filters('woocs_get_approximate_amount_text', sprintf(esc_html__('(Approx. %s)', 'woocommerce-currency-switcher'), $wc_price), $wc_price);
$additional_info .= '</span>';
$WOOCS->set_currency($tmp_curr_currency);
}
}
}
echo $additional_info;
6年2022月23日22:XNUMXのabd_saからの引用That's Awesome :D Thank you very much!
Have you added also
display: block
〜へ.woocs_cart_item_price
inside `wp-content/plugins/woocommerce-currency-switcher/css/front.css` ?
That's Awesome :D Thank you very much!
Have you added also display: block
〜へ .woocs_cart_item_price
inside `wp-content/plugins/woocommerce-currency-switcher/css/front.css` ?
からの引用 パブロ・ボリセンコ 9年2022月09日56:XNUMXこんにちは
ようこそ;)
Have you added also
display: block
〜へ.woocs_cart_item_price
inside `wp-content/plugins/woocommerce-currency-switcher/css/front.css` ? - はい
こんにちは
ようこそ;)
Have you added also display: block
〜へ .woocs_cart_item_price
inside `wp-content/plugins/woocommerce-currency-switcher/css/front.css` ? - はい