Jump to content

Bug pri importu cen s DPH?


Vergillio

Recommended Posts

Ahoj,
dnes jsem si hral s importem zbozi a zjistil jsem, ze blbne import kdyz zadam cenu s dani. Chtel jsem se zeptat jestli vam to dela take. Dela to u cen ktere zacinaji od 1000 a vys. Pripadne by se to melo poslat na bug report.

Ja jsem to vyresil u sebe editaci AdminImport, ale nevim, jestli to neni treba nastavenim meho localhostu.

Muj patch AdminImport je zmena radku 645 (pokud nemate jine zmeny) z

$product->price = (float)(number_format($product->price / (1 + $product->tax_rate / 100), 6));


na

$product->price = (float)round($product->price / (1 + $product->tax_rate / 100),6);



Pokud byste to nekdo vyzkousel a potvrdilo se to poslu jim to na bug report.

Mam prestashop 1.4.0.17

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...