UNI CPO (free version) instant price calculation doesn't work with WOOCS
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 Laura on February 23, 2021, 02:47Hi,
I just read this post https://pluginus.net/support/topic/uni-cpo-free-version-with-woocs/ and i think i got the same issue here.
For example, this product (https://fiber2c.com.au/product/10g-aoc/ ) on my website is calculated by its length, after I activate WOOCS, the price of product is calculated correctly in cart but the price will not change instantly if I change the length anymore.
Can you please help me with this problem, thank you so much!
Kind regards,
Laura
Hi,
I just read this post https://pluginus.net/support/topic/uni-cpo-free-version-with-woocs/ and i think i got the same issue here.
For example, this product (https://fiber2c.com.au/product/10g-aoc/ ) on my website is calculated by its length, after I activate WOOCS, the price of product is calculated correctly in cart but the price will not change instantly if I change the length anymore.
Can you please help me with this problem, thank you so much!
Kind regards,
Laura
Quote from Pablo Borysenco on February 23, 2021, 12:47Hello Laura
please update plugin to latest version
Read this please - https://currency-switcher.com/woocs-labs/
Hello Laura
please update plugin to latest version
Read this please - https://currency-switcher.com/woocs-labs/
Quote from Laura on February 24, 2021, 07:29hi,
I just checked the plugin, it is the latest version.
And I read this from the above-mentioned link : https://currency-switcher.com/product-options-and-price-calculation-formulas-for-woocommerce-uni-cpo/
Due to i am using the free version of UNI CPO, the code is different from the premium one, so what I did is:
- Add the code you provided into the function "uni_cpo_price" of the file "uni-cpo-core-functions.php"
if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$price = $WOOCS->woocs_exchange_value(floatval($price));
}}2. Change selector of prices: .summary.entry-summary .price .woocs_price_code > .amount
And the prices are calculated perfectly on the product page and in cart (example: https://fiber2c.com.au/product/10g-aoc/)
But on the shop page, the price has been converted twice from AUD to USD,
the example product 10G-AOC price is AUD 53.90, USD 42.04, but it displayed as USD 32.79 on the shop page : https://fiber2c.com.au/shop/?swoof=1&product_cat=aoc,direct-connecting-aoc&really_curr_tax=42-product_cat
hi,
I just checked the plugin, it is the latest version.
And I read this from the above-mentioned link : https://currency-switcher.com/product-options-and-price-calculation-formulas-for-woocommerce-uni-cpo/
Due to i am using the free version of UNI CPO, the code is different from the premium one, so what I did is:
- Add the code you provided into the function"uni_cpo_price" of the file"uni-cpo-core-functions.php"
if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$price = $WOOCS->woocs_exchange_value(floatval($price));
}}
2. Change selector of prices: .summary.entry-summary .price .woocs_price_code > .amount
And the prices are calculated perfectly on the product page and in cart (example: https://fiber2c.com.au/product/10g-aoc/)
But on the shop page, the price has been converted twice from AUD to USD,
the example product 10G-AOC price is AUD 53.90, USD 42.04, but it displayed as USD 32.79 on the shop page : https://fiber2c.com.au/shop/?swoof=1&product_cat=aoc,direct-connecting-aoc&really_curr_tax=42-product_cat
Quote from Pablo Borysenco on February 24, 2021, 12:15Hello
Ok! Please drop me wp-admin +FTP access - https://c2n.me/43SC6rb.png -> https://c2n.me/42BAoj4.png
I will add this plugin to the adaptation queue
Hello
Ok! Please drop me wp-admin +FTP access - https://c2n.me/43SC6rb.png -> https://c2n.me/42BAoj4.png
I will add this plugin to the adaptation queue
Quote from Laura on February 25, 2021, 05:00Hi
Thank you, I just added the wp-admin+ FTP.
BTW this issue can be found at the shop page, and also the woo-shortcode-option section, ex: the 10g aoc price on the homepage should be 42.04 in USD.
Hi
Thank you, I just added the wp-admin+ FTP.
BTW this issue can be found at the shop page, and also the woo-shortcode-option section, ex: the 10g aoc price on the homepage should be 42.04 in USD.
Quote from Pablo Borysenco on February 25, 2021, 11:13Hello
OK! I added this plugin to the adaptation queue
Hello
OK! I added this plugin to the adaptation queue
Quote from Pablo Borysenco on February 26, 2021, 19:36Hello
I can not find the folder with your site
Please check your FTP access OR drop me a path
Hello
I can not find the folder with your site
Please check your FTP access OR drop me a path
Quote from Laura on March 1, 2021, 04:16Sorry Pablo,
I dropped the wrong one, updated, thank you.
Sorry Pablo,
I dropped the wrong one, updated, thank you.
Quote from Pablo Borysenco on March 1, 2021, 12:59Hello
Ok! I'll write you when we get the result
Hello
Ok! I'll write you when we get the result
Quote from Laura on March 2, 2021, 08:10hello Pablo,
Hi Pablo,
the issue has been solved, please remove if from the adaptation queue, thank you!
I added && !is_shop()&& !is_singular() conditions to the provided code, and now it works fine!
if (class_exists('WOOCS')&& !is_shop()&& !is_singular()) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$price = $WOOCS->woocs_exchange_value(floatval($price));
}
}
Regards,
Laura
hello Pablo,
Hi Pablo,
the issue has been solved, please remove if from the adaptation queue, thank you!
I added && !is_shop()&& !is_singular() conditions to the provided code, and now it works fine!
if (class_exists('WOOCS')&& !is_shop()&& !is_singular()) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$price = $WOOCS->woocs_exchange_value(floatval($price));
}
}
Regards,
Laura
Quote from Pablo Borysenco on March 2, 2021, 11:45Hello Laura
Great! Thank you for cooperation
Hello Laura
Great! Thank you for cooperation