magento2 – Price rounding problem tax Magento 2

this bug is driving me nuts and I do not know how to fix it.

The following scenario:

We have sample articles. Each has a cost without tax of 0.30 €

German VAT is 19% usually. Now I put 4 samples into the cart. 3 of them get a price of 0.36 €, 1 gets 0.35 € (see screenshot)prices with tax

My calculation settings are:

  • Catalog Prices: Excluding tax (This sets whether catalog prices entered from Magento Admin include tax) –> Our prices are set without tax
  • Tax Calculation Method Based On = Total (even if I change this to row or subtotal, nothing changes)

The prices seem 1:1 as the output when I inspect the elements.

See here: enter image description here

And here: enter image description here

But as said, the calculation is wrong. Either all products here should have a price of 0.36 € or all should have 0.35 € but not mixed up.

Does anybody out there have an idea, how I can fix this so that prices for the same product have the same price incl. tax?

Bitcoin Price Chart – Bitcoin Breakout to $12k

Platinum Crypto Academy


Bitcoin Price Chart – Bitcoin Breakout to $12k


As Bitcoin’s price chart rises, the block reward becomes increasingly more attractive for miners/traders/investors. Key Trading on our Bitcoin price chart.

#Bitcoin #Cryptocurrencies #CryptoMarketAnalysis #BTCUSD #ETHUSD #XRPUSD #BCHUSD #BSVUSD


magento2 – Catalog Price Rules not applying to products until product is saved

We cannot seem to get price rules to apply to products without saving the product. I have tried various methods of resetting, reindexing, truncating tables, checking and manually running cron, but for some reason although products have some rules applied, they don’t get all of the rules until the product is saved again.

I have tried adding a new attribute and then mass-updating all of the products to change the attribute, and while I see the indexers update to show them processing an equivalent number of items in their backlogs, the price never updates – it must be saved individually from the product’s CMS edit page.

Looking in the catalogrule_product and catalogrule_product_price tables I can see the rules and calculated prices being applied after saving the product.

In my investigation I found that I needed to raise certain innodb settings such as the buffer pool and data file sizes, as we appeared to be getting warnings about the pool size being too small and temp tables being full, but now those warnings appear to have ceased.

Magento 2.2.5, PHP 7.1.32

❕NEWS – Investors are rushing to invest in Crypto currencies as the price surge. | Proxies-free

Earnings Disclaimer:  All the posts published herein are merely based on individual views, and they do not expressly or by implications represent those of Proxies-free or its owner. It is hereby made clear that Proxies-free does not endorse, support, adopt or vouch any views, programs and/or business opportunities posted herein. Proxies-free also does not give and/or offer any investment advice to any members and/or it’s readers. All members and readers are advised to independently consult their own consultants, lawyers and/or families before making any investment and/or business decisions. This forum is merely a place for general discussions. It is hereby agreed by all members and/or readers that Proxies-free is in no way responsible and/or liable for any damages and/or losses suffered by anyone of you.

ajax – Woocommerce apply discount to cart’s total price

I added an input field used by users to inform a specific membership number coming from an other site. So only users from this other website will have the discount, that’s the reason why I don’t want to use coupon.

So I’m using AJAX to validate this number and then apply a 10% discount on the total cart’s price. The problem is I can’t find how to update the total. I tried to trigger the “update cart” button and use woocommerce_before_calculate_totals hook to update the price but it is not even called.

Obviously, no hook or filter are exectuted inside my AJAX’s action function. I have tested with a simple filter to add a class to the body and it doesn’t work inside my action function but works perfectly outside. I put some flags to see if my function was called by AJAX et it does!

My JS :

(function($) {
    $("body").on("click", ".updateCart", function(e) {
        var form = $('#cartAjaxTcs');
        var value = form.serialize();
            data: {
                action: 'test',
                tcs_number: value
            url: ajaxurl,
            success: function(value) {
})( jQuery );

My PHP :

add_action( 'wp_ajax_test', 'test' );
add_action( 'wp_ajax_nopriv_test', 'test' );

//This works well! If I put the same filter in my 'test' function it doesn't work
add_filter( 'body_class', function( $classes ) {
    return array_merge( $classes, array( 'test-class' ) );
} );

function test()
    //This is displayed in console
    if (!DOING_AJAX){
    //This does't work
    //add_filter( 'body_class', function( $classes ) {
    //  return array_merge( $classes, array( 'test-class2' ) );
    //} );
    //The callback function isn't called
    //add_action( 'woocommerce_before_calculate_totals', 'update_price' );

    //This is displayed in console
    echo 'test';


//Not called
function update_price(){
    echo 'update';

Maybe I go in a wrong direction to update that price. I tried to change it directly using WC() class like this (inserting it in my ‘test’ function), but it doesn’t work neither :

$total = (int) WC()->cart->get_totals()('total'); 
$total *= 0.9;

That’s the reason why I planned to use “update cart” button and its hook. Any idea?

Order Anonymous Hosting at Good Price – MyDreams innovations – Secure solutions! | Proxies-free

MyDreams innovations s.r.o. is a company that has been operating in the field of hosting services since 2004. First as a self-employed person and now as a company. MyDreams team members are people with many years of experience in hosting, VPS servers and dedicated servers. We offer Anonymous Hosting – Dedicated servers. “No questions, it just works!” – Best Anonymous Hosting in the City (in Europe and in the World)!

What is Anonymous Hosting?

The literal definition of Anonymous hosting is the process of your hosting your data in a different country other than your own or with the needs of more privacy than usual. However, there are more characteristics to Anonymous hosting. One definition of them may be the sentence: “No questions, it just works!”

Anonymous Hosting can offer you:

  • not to expose your identity
  • extra quick set-up: you can have your server in 10 minutes
  • extra quick cancellation policy – your server evaporate instantly (we use disk data shredder)
  • lot of IP address ranges
  • direct, non-filtered and high speed internet connection
  • lot of Payment options such as: Bitcoin, Ethereum, Ripple, PayPal, Credit Card, bank transfer or cache
  • dedicated servers in TIER II datacenter that is ISO 27001 & 9001 certified
  • “No questions, it just works!”

What can you host with our Anonymous hosting solutions? For whom is our Anonymous hosting solutions meant?

  • for those who wish get maximum privacy;
  • for those who want to host adult, online marketing, private networking, high secure solutions
  • for those who wish to host their data outside of their own country;
  • for those who do not want their data or identity shared with third parties;
  • for those who want to express themselves through freedom of speech;
  • for those who likes sentence – “No questions, it just works!”

Promo code: 4IPV44FREE” for additional 4 IP addresses from different address ranges for FREE to every ‘Anonymous Hosting’

Check out our Anonymous Dedicated Servers:

1U Server Economic A+
Unmanaged Dell 1x Intel Xeon E3 2.00GHz (2 cores) or equivalent
8 GB
Disks: 2x 250 GB SSD, Raid 1
1 x IPv4 address
2x 100 Mbit eth
100 Mbps guaranteed bandwidth
Ready within 48 hours
Price – 49 USD – ORDER NOW

If you need to customize server hosting packages, please feel free to Contact US.

The dedicated server price includes:

  • Server rental and housing
  • 1000 Mbps Connectivity (NIX) without aggregation
  • 100 Mbps Connectivity (Tranzit) without aggregation
  • Replacing the Damaged Hardware
  • Monitoring of services
  • Primary installation of the system
  • Unlimited traffic
  • 24/7 restart on request
  • Housing in the modern Prague data center
  • Professional Helpdesk interface
  • Monthly, quarterly, or annual payments
  • Possibility to pay by Paypal
  • Without notice

5% DISCOUNT on annual billing.
Servers runs on solutions from SuperMicro, HP, IBM, DELL a SUN. We prefer servers SuperMicro a DELL.
Above-standard dedicated server management, SLA, backup to external server, and Cloud solutions can be ordered in SERVER MANAGEMENT.

If you have any questions, you are free to CONTACT US!

This doesn’t mean that you can engage in illegal activities, which we strictly forbid. This includes, but is not limited to, direct spam, phishing, fraud, some kind of pornography or anything which violate the Czech Republic or European Union laws.

Start Your Hyip Website at cheap price – HYIPs

Now you can start your own hyip website from today
We are best and most popular BitCoin Mining, BTC MINING,BTC DOUBLER, PTC ADS CLICKING, HYIP MONITOR, ALLHYIP MONITOR AND ZARFUND (MLM) websites maker. We provide the quality services at very low price.
We provide all in one ready websites including following services free
1-     Free Script
2-      Free Template
3-      Free Domain
4-      Free hosting
5-      Free live chat installation
6-      Free SSL , DDOS
7-      Free 2 Banners
8-      Free Powered By Removal
9-      Free Support
For any Further query you can contact us on live chat or skype
Skype: live:
WWW.BTCHYIPMAKER.COM Price Comparison Site and Shopping Search Engine

Why are you selling this site?
I need quick cash for emergency family reason

How is it monetized?
Affiliate programs ( and and also Amazon associates.

Does this site come with any social media accounts?

How much time does this site take to run?
Since 2015

What challenges are there with running this site?
Hosting fee. need good vps or dedicated server to run it to the max.