attila.vecerek
Forum Replies Created
-
So, I have done some small debugging and it seems, that on the translation page the plugin always applies the exchange rate. The manual price method is not set by the get_post_meta() function. So it must be a WPML compatibility issue.
Oscar, is it possible to solve this? If yes, how long would it take? I am willing to help you out with this one. It’s critical for us to launch the eshop, ASAP.Best,
AttilaHi Oscar,
I have a similar problem. The shop has 2 languages – English as primary one and German as secondary. On the english site all the prices appear correctly but on the German one it shows some strange one, I have not even set. The currency is set correctly, though.
Best,
AttilaForum: Plugins
In reply to: [Price Based on Country for WooCommerce] Price change on checkout pageI have solved my problem by altering the code inside the woocommerce. Case solved. Thanks much for your help ??
Forum: Plugins
In reply to: [EU Cookie Law for GDPR/CCPA] Does't show up the bannerHello, I have the same problem. The banner does not appear, even after enqueuing the css and js, manually. What shall I do?
Forum: Plugins
In reply to: [Price Based on Country for WooCommerce] Price change on checkout pageHi Oscar,
I understand you. I thought, that you use somewhere the wcpbc-functions, where you get the country by IP but after further examination I noticed, that it’s not used in any of the scripts. If I understand well, it is the WooCommerce itself, which changes the country class member to the chosen value from the selectbox, right?
The thing, I would like to achieve is to stick to the prices based on the user’s IP. So he would be charged by the current country’s prices and not by the one of the shipping country.
Cheers,
AttilaForum: Plugins
In reply to: [Price Based on Country for WooCommerce] Price change on checkout pageI have just installed the version 1.3.4, there it is the line 110. Also tested the funcionality after commenting the line. It was working only seemingly. It still changes the price in the cart, so I commented out the whole body of load_checkout_script() function, it does not change the price in the totals, nor in the cart but after going back to the shop, it does change the currency. Any clue?
Forum: Plugins
In reply to: [Price Based on Country for WooCommerce] Price change on checkout pageI have managed to solve the problem by uncommenting the line 108 in class-wcpbc-frontend.php
Although, this solution has a drawback for the future updates, I will always have to uncomment it, when updates arrive. If there would be more people who would ask for a same backend option, as me, I think it wouldn’t be a problem to write there an if statement that checks for this setting ??Nice and clean code, btw ??
Forum: Plugins
In reply to: [Price Based on Country for WooCommerce] Price change on checkout pageHi Oscar,
we can’t solve it like this. The main problem is that when a customer changes his shipping/billing address, he acknowledges that the price has changed. Is there a possibility to have an option in the backend, that would enable/disable refreshing the price on the checkout page?Forum: Plugins
In reply to: [Price Based on Country for WooCommerce] Filter by priceHi @oscargare,
I’m sorry but it seems that it did not work out. Just have a look at it on the test site:
https://test.tenone.ch/shop/The price filter shows min 11€ and max 17€. The lowest € price is 10.50€, highest € price is 13.30€. Lowest CHF price is CHF12.60 and the highest one is CHF 16.80.
So I think, it gets the overall lowest and highest prices instead of the two extremes for each of the currencies. And another things is, that in my opinion, it should use floor() for the filter min value and ceil() for filter max value, as it’s now. Don’t you agree?
Thanks for the update ??