Best Multi Vendor Marketplace Plugin for WordPress › Forums › WCFM › Some questions about wcfm
- This topic has 6 replies, 2 voices, and was last updated 7 years, 3 months ago by
Vladislav.
- AuthorPosts
- March 3, 2019 at 2:49 pm #50962
Vladislav
GuestHello, sorry for my English, I communicate with the help of an interpreter. I would like to clarify a few questions:
1. More than a month ago I made a request that you try to add Russian payment systems to your plugin: Sberbank, Qiwi. You then asked me to throw off documentation and API and I provided them to you. Are they being worked on? Believe me, it is very important for us.
2. I also asked about a very important update. You said that will be in the next updates. I think this add-on will be convenient for all users. – We have in the store sooo many categories of goods and attributes of goods – When the seller adds his goods, he squanders to the bottom and looking for the desired category ( about 1800), the same is the case with the attributes of goods – I propose to include a search field above these elements, so you can just print the name and not squander.
3. The fact is that the woocommerce plugin initially writes a currency symbol near the price, for example: 1000 € or $ or £ or ¥ or ₽. We were not satisfied with this option and we replaced the native symbol sivol “ք” with “RUB” by adding code to the file functions.php:add_filter(‘woocommerce_currency_symbol’, ‘add_my_currency_symbol’, 10, 2);
function add_my_currency_symbol( $currency_symbol, $currency ) {
switch( $currency ) {
case ‘RUB’: $currency_symbol = ‘руб’; break;
}
return $currency_symbol;
}
But now your plugin also displays “руб” everywhere, although this is not surprising, since it also loads them with WooCommerce. So we would like your plugin to keep the character “a long way” – How is that possible?I hope you understand all my translated nonsense..
Thank you! Have a happy day! - March 3, 2019 at 4:36 pm #50968
WCFM Forum
MemberHI,
1. More than a month ago I made a request that you try to add Russian payment systems to your plugin: Sberbank, Qiwi. You then asked me to throw off documentation and API and I provided them to you. Are they being worked on? Believe me, it is very important for us.
– We are checking this
2. I also asked about a very important update. You said that will be in the next updates. I think this add-on will be convenient for all users. – We have in the store sooo many categories of goods and attributes of goods – When the seller adds his goods, he squanders to the bottom and looking for the desired category ( about 1800), the same is the case with the attributes of goods – I propose to include a search field above these elements, so you can just print the name and not squander.
– Try this plugin – https://drive.google.com/file/d/1VBvBiDk0tbl-jokSlaKjIxggYKr_2DTh/view?usp=sharing
3. The fact is that the woocommerce plugin initially writes a currency symbol near the price, for example: 1000 € or $ or £ or ¥ or ₽. We were not satisfied with this option and we replaced the native symbol sivol “ք” with “RUB” by adding code to the file functions.php:
– Your code not even work for WooCommerce panel –
https://ibb.co/8cK1gD8
https://ibb.co/M5g2v3xThank You
- March 3, 2019 at 4:38 pm #50969
WCFM Forum
MemberWell, actually without your code symbol looks perfect –
https://ibb.co/4pfb07f
https://ibb.co/gF66kBJThank You
- March 3, 2019 at 5:50 pm #50971
Vladislav
Guest1. Thank you! 🙂
2.Ahah, I am very pleased with this decision 🙂 By the way, when you switch on the tabs of the panel and get to the add product tab, then for about a second it looks like this: https://ibb.co/8nCZ98c
then of course it is brought back to normal and everything is in its place: https://ibb.co/fD0KzcR
This is certainly not very important, but it would be better without such a transition 🙂
3.I guess I misunderstood, now I will correct:
—– Now it looks like this:
https://ibb.co/c8NPZnf
https://ibb.co/6J3xPQJ
—–and I need it to look like this:
https://ibb.co/Zz08X6x
https://ibb.co/HdBXQYvBut at the same time it is necessary that the price on product pages is displayed as: “руб”.
By the way, I really dropped the code, here is the complete construction:
function add_my_currency( $currencies ) {
$currencies[‘RUB’] = __( ‘Русский рубль’, ‘woocommerce’ );
return $currencies;
}
add_filter(‘woocommerce_currency_symbol’, ‘add_my_currency_symbol’, 10, 2);function add_my_currency_symbol( $currency_symbol, $currency ) {
switch( $currency ) {
case ‘RUB’: $currency_symbol = ‘руб’; break;
}
return $currency_symbol;
} - March 5, 2019 at 5:16 am #51153
WCFM Forum
MemberHi,
OK, I understand.
Problem is in your code, you have written a generic code so it’s changed currency symbol through out the site.
Write your code only for Single Product page, where you want to show “руб”.
Thank You
- March 5, 2019 at 7:30 am #51173
Vladislav
GuestI need to display this code only on product pages, is it possible?
- March 5, 2019 at 7:35 am #51174
Vladislav
GuestSorry, this question is not for you, thanks for the help!
- AuthorPosts
- The topic ‘Some questions about wcfm’ is closed to new replies.