---
# System prepended metadata

title: '1. Bug details: https://trello.com/c/od88sjiW'

---

# 1. Bug details: https://trello.com/c/od88sjiW
# 2. Root cause:
* Bakes customized product is configured to have additonal SKU in option config. ![Image](https://i.imgur.com/77r23BA.png)
* Magento has behavior to generate a virtual SKU `mainsku-option1sku-option2sku` for customized product if SKU field in option is configured. In this case when the above product is added to the cart, the SKU in cart will become `3413091-3413091-Malibu Hull ID#` ![Image](https://i.imgur.com/Yd9wPZX.png)
* In the `app/code/ClassyLlama/AvaTax/Helper/TaxClass.php` they have a function to get Avatax information by product SKU (get from quote item) but because the SKU is changed in above step so the product repository will throw the error about `The product that was requested doesn't exist. Verify the product and try again.` ![Image](https://i.imgur.com/zSA3r6d.png) 
# 3. Solution
We need to create an around plugins for the method `getAvataxTaxCodeForProduct` of `ClassyLlama\AvaTax\Helper\TaxClass`, in this plugins we will try to get the product by entity id (product id) first and then only get by SKU if entity id is not exist.
