PAngV (base price) is not updated by changing product attribute (price)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 7 ans
Hi,

PAngV (base price) is enabled for a product. and this product has an attribute content (like 100g, 200g ...).

the initial price ist €4.64 Euro for 100 gram. if you change the attribute and choose 200g, then the price is updated to €8.45 but the base price text is not updated:

it shows allways (€46,41 per 1 kg(s)) and it's not correct.

Regards,
E.A
Il y a 7 ans
Coould you please provide provide a complets list of steps to reproduce the issue (product price, attributes, additional fees, etc, etc)? And expected behaviour (what should be displayed when 100g is selected, when 200g is selected)
Il y a 7 ans
Steps to reproduce this bug:

Product info Tab:
Article Price: 3.90 Euro
Article Weight: 100 gram

PAngV (base price) enabled: True
Amount in product: 100
Unit of product  : gram
Reference amount: 1
Reference unit: KG

Product Attribute Tab:
Attribute name : Weigth(content)
Control type: dropdown
value 1 : 100 g - Price adjustment : 0 - Weight adjustment 0
Vakye 2: 200 g - Price adjustment : 3.2 - Weight adjustment 100


IN Public Store> Product detail page:

Price: 3.90 [100g]
(€39.00 pro 1 kg(s))

If you select the 200 g from dropdown, the price will be updated:
3.90 + 3.20 = 7.10

But the price pro Kg is not updated!!!
the expected price pro KG should be calculated as below:
(1000 gr * 7.10 Euro)/200 gr = 35.50

It means in the article detail page we should show the following:

(€35.50 pro 1 kg(s))


Regards,
E.A
Il y a 7 ans
Thanks a lot! We'll investigate it - https://github.com/nopSolutions/nopCommerce/issues/2278
Il y a 5 ans
Fixed. Please see https://github.com/nopSolutions/nopCommerce/commit/c20b0f8571db258559a21cc73bebee22aae4604c
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.