
skysolution(@skysolution)
47 Posts
Customers
Quote from skysolution on June 13, 2024, 16:40
Hi Pablo
I have now stated my next project on staging.nordiskgarn.dk, which use woocommerce composite products. I have not added any new code to any php files
except translatepress automatically language-currency change. You can see my issue ex on this product
https://staging.nordiskgarn.dk/nl/product-2/wol-pack-28-3-riddari-trui-lettlopi/ and here is the screenshot, all values are correct but when changing language the currency symbol is not changed in the total (54 is correct euro but dkk should be euro symbol)

Hi Pablo
I have now stated my next project on staging.nordiskgarn.dk, which use woocommerce composite products. I have not added any new code to any php files
except translatepress automatically language-currency change. You can see my issue ex on this product
https://staging.nordiskgarn.dk/nl/product-2/wol-pack-28-3-riddari-trui-lettlopi/ and here is the screenshot, all values are correct but when changing language the currency symbol is not changed in the total (54 is correct euro but dkk should be euro symbol)


Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on June 14, 2024, 09:35
Hello
Ok! Please drop me link to a site of this third party plugin(woocommerce composite products)
Hello
Ok! Please drop me link to a site of this third party plugin(woocommerce composite products)

skysolution(@skysolution)
47 PostsTopic Author
Customers
Quote from skysolution on June 14, 2024, 09:39
staging.nordiskgarn.dk
staging.nordiskgarn.dk

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on June 14, 2024, 12:16
Sorry, it seems I didn't explain it correctly. I need a link to this plugin's site on wordpress.org or envato
Sorry, it seems I didn't explain it correctly. I need a link to this plugin's site on wordpress.org or envato

skysolution(@skysolution)
47 PostsTopic Author
Customers
Quote from skysolution on June 14, 2024, 12:35
https://woocommerce.com/products/composite-products/
https://woocommerce.com/products/composite-products/

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on June 17, 2024, 08:35
Hello
Ok! thank you! Please add wp-admin+ftp access to your test site - https://share.pluginus.net/image/i20230222134241.png ->https://share.pluginus.net/image/i20230222134615.png
And I'll add this to the adaptation queue.
Hello
Ok! thank you! Please add wp-admin+ftp access to your test site - https://share.pluginus.net/image/i20230222134241.png ->https://share.pluginus.net/image/i20230222134615.png
And I'll add this to the adaptation queue.

skysolution(@skysolution)
47 PostsTopic Author
Customers
Quote from skysolution on June 20, 2024, 11:53
Hi pablo
user and password is added
regards
Ole
Hi pablo
user and password is added
regards
Ole

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on June 20, 2024, 11:56
Hello Ole
ok! I'll write to you as soon as I get the result
Hello Ole
ok! I'll write to you as soon as I get the result

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on June 21, 2024, 15:14
Hello Ole
https://c2n.me/4l4bIEI.png - The problem was that you turned off this currency.
Now - https://share.pluginus.net/image/i20240621161350.png
Please note that this custom price will not work with caching
Hello Ole
https://c2n.me/4l4bIEI.png - The problem was that you turned off this currency.
Now - https://share.pluginus.net/image/i20240621161350.png
Please note that this custom price will not work with caching

skysolution(@skysolution)
47 PostsTopic Author
Customers
Quote from skysolution on June 25, 2024, 14:42
Hi Pablo
Thanks for your answer, but if i first open ex language in english (euro) cahnge language to danish the euro symbol is still there , and not dkk and change back to english language then the currency symbol is euro ?
regards
ole
Hi Pablo
Thanks for your answer, but if i first open ex language in english (euro) cahnge language to danish the euro symbol is still there , and not dkk and change back to english language then the currency symbol is euro ?
regards
ole

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on June 26, 2024, 10:45
Hello Ole
Please disable all cache and do a test
Hello Ole
Please disable all cache and do a test

skysolution(@skysolution)
47 PostsTopic Author
Customers
Quote from skysolution on July 12, 2024, 12:00
Hi Pablo
One more issue on staging.nordiskgarn.dk. I have set decimal to 2 and want always an round to 5 . I have added this code to functions.php
add_filter('woocs_raw_woocommerce_price', function($price) {
return round($price * 2, 0) / 2;
});
price ex 7.75 shall be 8.00, 7.60 shall be 7.5 and 7.20 shall be 7.00 but it's like there dont be a rounding
can you help
regards
Ole
Hi Pablo
One more issue on staging.nordiskgarn.dk. I have set decimal to 2 and want always an round to 5 . I have added this code to functions.php
add_filter('woocs_raw_woocommerce_price', function($price) {
return round($price * 2, 0) / 2;
});
price ex 7.75 shall be 8.00, 7.60 shall be 7.5 and 7.20 shall be 7.00 but it's like there dont be a rounding
can you help
regards
Ole

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on July 15, 2024, 09:54
Hello Ole
I checked, everything works fine for simple products
Please read this - https://currency-switcher.com/hook/woocs_woocommerce_variation_prices/
Hello Ole
I checked, everything works fine for simple products
Please read this - https://currency-switcher.com/hook/woocs_woocommerce_variation_prices/

skysolution(@skysolution)
47 PostsTopic Author
Customers
Quote from skysolution on July 15, 2024, 11:55
Hi Pablo
Thanks
regards
Ole
Hi Pablo
Thanks
regards
Ole

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on July 15, 2024, 13:04
Welcome;)
Welcome;)