Fixed Product Taxes (FPT) are not used from simple products #4774

Closed
kanduvisla opened this Issue May 30, 2016 · 7 comments

Projects

None yet

6 participants

@kanduvisla

Steps to reproduce

  1. Create a configurable product
  2. Give it's child-products different FPT values
  3. Add the product to the cart

Expected result

  1. That the product in the cart has the FPT applied of the child product

Actual result

  1. The FPT of the parent product (configurable) is applied instead.
@MomotenkoNatalia MomotenkoNatalia added the MX label Jun 1, 2016
@choukalos choukalos self-assigned this Jun 2, 2016
@choukalos
choukalos commented Jun 2, 2016 edited

Hi @kanduvisla,

Our FPT/WEEE implementation is pretty simple. We only look at the product's attribute for what the WEEE fee is. That means for meta-products, such as configurable, bundled, grouped, we only see the meta-product's fee and not a roll up of the children's fee.

Internally I'm tracking this as a feature request (MAGETWO-53828).

@kanduvisla

Is this feature going to be implemented in 2.1?

@choukalos

No, it's way out there - buried in icebox; unless there's a massive deluge of interest/need for this it's likely to stay there.

On the other hand if some one wants to give us a PR we'd love to take it into mainline.

@kanduvisla

I try to figure it out myself. Any pointers on where to look to manipulate FPT? Any events or plugin suggestions?

@kanduvisla

I think I figured out a way to do this with only one plugin and one rewrite, but I'm not sure if it's solid enough. Anyway, I'll leave the link on how I did this here for future developers who might encounter the same situtation (untill Magento decides to take this feature request out of the icebox): https://gielberkers.com/properly-calculate-fptweee-configurable-products-magento-2/

@vkorotun vkorotun removed the MX label Aug 4, 2016
@skymeissner
skymeissner commented Aug 21, 2016 edited

This really needs to get a bug label. I can choose a tax rate for child products. But it is not used.

@kanduvisla I will try using your code and will post here if it works for me.

@piotrekkaminski
Contributor

Thank you for your submission.

We recently made some changes to the way we process GitHub submissions to more quickly identify and respond to core code issues.

Feature Requests and Improvements should now be submitted to the new Magento 2 Feature Requests and Improvements forum (see details here).

We are closing this GitHub ticket and have moved your request to the new forum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment