2

I am facing one problem with the configurable product. I am using Magento 2.1.1 and when i open category page than it throws me below error.

1 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): Configurable product "red-wine-liqueur-vinegar" does not have sub-products

Exception #0 (Magento\Framework\Exception\LocalizedException): Configurable product "red-wine-liqueur-vinegar" does not have sub-products #0 D:\xampp\htdocs\m2migration\demo\vendor\magento\module-configurable-product\Pricing\Price\ConfigurableRegularPrice.php(71): Magento\ConfigurableProduct\Pricing\Price\ConfigurablePriceResolver->resolvePrice(Object(Magento\Catalog\Model\Product\Interceptor)) When i am edit this configurable product from admin than it shows "Requested product doesn't exist".

Let me know if by using any query or programmatically we can resolve the issue.

4
  • For your configurable product with no sub product is added so its issue are coming. first check for your config product have assigned simple product or not, if not then first assigned simple product with it. Sep 13, 2016 at 12:48
  • 1
    Hello @Rakesh, Thanks for our answer. I am unable to edit that configurable product from admin. It throws error like "Requested product doesn't exist" Sep 13, 2016 at 12:49
  • Were you changing something in catalog programmatically or what was the last change you did made this issue occur.
    – mp196
    Sep 13, 2016 at 14:29
  • Hello @mp196, I have migrated data from 1.7 to 2.1.1. Sep 14, 2016 at 3:00

1 Answer 1

0

Seems this has been a magento issue after migration. Please check the link here. It might be solution to your question.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.