csabal
Forum Replies Created
-
Forum: Plugins
In reply to: [YITH Pre-Order for WooCommerce] pre-order emails not sendingYeh. Same here. Very annoying…. every other mail is sent, except the YITH pre-order stuff!!!!!
Khm, maybe it is because this is a variation products! Not a single woo product!
We may need add this to the variation part of the ProductHelper.php, I guess!
Thank you!!!
Code added, browser cache flashed (there is no cache on the server side yet), but still when you change to EUR, it is not calculating in the right method.. ??
csaba
Hi, I added this, but did work (sorry I have very limited knowledge of coding)
Could you pls send me an exact example? Thanks a lot in advance.public function sale_price() { return floatval($this->product->get_sale_price()); return floatval($this->product->woocs_exchange_value()); } /** * Get regular price of the product or variation * * @return mixed * @since 1.0.0 */ public function regular_price() { return floatval($this->product->get_regular_price()); return floatval($this->product->woocs_exchange_value()); }
HI
Thank you!
How do I add the woocs_exchange_value to the ProductHelper.php ? What would be the exact method? Thx!
Forgot to mention, that it is work well with the default currency (HUF) but if you switch to EUR it is not counting well. Your code is inserted to the fieldsetproduct.php as you mentioned before
Hi
https://drive.google.com/file/d/1mRrvULx852UT4taUYvhwBTVafmVwABuh/view?usp=share_link
let me know if you need anything else.
thank you!
I meant, the plugin shows only the addon price, not the total, and only this is added to the cart ( not the total price). I had try to move your mentioned code to other places, but no luck.
We are so close to solve this issue, could you pls take a look?Hi
Almost okay.Added the mentioned code, now it is changing the addon price to the right currency, and amount, however it is not added to the total product price (the sum would be 0). So, when I click add to cart, it is adding the product with 0 value to the cart….
Maybe we should add something to the function.php?
Soltuion would be simililar like this one: https://currency-switcher.com/wc-fields-factory?fbclid=IwAR1ND1pFuYrWCyeRsUXcAntUovZtHopnmL3H5lZ5ofN6qHQItFatmtBX_Kg#/woot-gallery-woof
I just could not figure out how I can adapt this for you plugin actually.
I figured out, IF I switch currency AFTER everything is in tha cart, everything ok.
So I am so close … can you help me?
csab
Sindiana, what currency converter do you use?