Jump to content

Edit History

Webmain

Webmain

EDIT SOLVED!!

Well then the problem is super simple in the end but however you need to put the code as given above see below:

Add this logic to the if on line 390 in src/Adapter/Product/AdminProductDataProvider.php

if ($formatCldr) {
  $product['price'] = $localeCldr->formatPrice($product['price'], $currency->iso_code);
  $product['price_final'] = $localeCldr->formatPrice($product['price_final'], $currency->iso_code);
}

PAR

if ($formatCldr && $product['price'] != null && $product['price_final'] != null) {
  $product['price'] = $localeCldr->formatPrice($product['price'], $currency->iso_code);
  $product['price_final'] = $localeCldr->formatPrice($product['price_final'], $currency->iso_code);
}

Then when you have all the products displayed, search in the page or pages for the mention N/D of the column Amount including tax

Edit the product and delete all the combinations (shops only) Then save then put all the shops and recreate the combinations! Then modify the variations for each shop and save for each of the shops then go back to all the shops then save until you have the updated product message!!

Do this for all products with N/D then once finished you can remove the piece of code :).

Problem solved !!

In the future create your variations before on all the shops then configure each shop their price etc ..

Webmain

Webmain

Hello,

for my part I corrected the error :).

You have to change the precision in ps_currency

For my part for the EUR the precision was on 2 I pass to 6 and more bug!

So the error is caused by that.

Otherwise delete your currencies then recreate them or modify the precision in the table :).



EDIT :
I finally always have the error however it appears just before humm I continue to search.

 

Webmain

Webmain

Hello,

for my part I corrected the error :).

You have to change the precision in ps_currency

For my part for the EUR the precision was on 2 I pass to 6 and more bug!

So the error is caused by that.

Otherwise delete your currencies then recreate them or modify the precision in the table :).

Cordially.

×
×
  • Create New...