cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 product Attribures dropdwon values are not showing

Magento 2 product Attribures dropdwon values are not showing

Hi Everyone,

 

I am having issue on magento 2 website product size attributes are not showing some times on product detail page.

 

I have cleared cache and reindex the website but the issues are getting fixed.

 

Please anyone have the idea to fix the issues kindly share your suggestions.

 

Product page - https://shiraesthetics.com/pure-eucalyptus-cleanser.html

2 REPLIES 2

Re: Magento 2 product Attribures dropdwon values are not showing

Hello @Theeba 

In your size attribute, there is no option valued as you can check in the below screenshot

I think there is some deployment issue 
php bin/magento setup:upgrade 

php bin/magento setup:di:coompile
php bin/magento setup:static-content:deploy 
php bin/magento indexer:reindex

 


screen.jpglet me know after doing this problem resolved or not ???

Thank You

Re: Magento 2 product Attribures dropdwon values are not showing

 

If you installed magento 2 through composer with the master branch instead of develop branch, the module Magento_Swatches is not installed/enabled. Check in your app/etc/config.php for a Magento_Swatches line.

From your CLI, do:

php bin/magento module:enable Magento_Swatches

You may need to also clear cache and deploy static content.

Visual/Text swatches should function on this screen now (and also be an option when creating a new product attribute).

 

Check the documentation: How to Create Magento 2 Attributes