Magento2 Add dropdown option in product listing page for configurable product The 2019 Stack Overflow Developer Survey Results Are Inmagento text field add dropdown value from some other databaseAdding random product listing for categoriesDisplay Dynamic SKU on configurable product view Magento using Image SwatchChanging sort-order of attribute dropdown (configurable product, magento 2)How to change price for configurable products in Product Listing using drop down options in Magento 2remove extra price from dropdown in configurable productMagento2 : Add Category Attribute DropdownMagento 2: Configurable product dropdown attributes on category listing pageCategory filter in list page magento2

Is Cinnamon a desktop environment or a window manager? (Or both?)

Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?

Is it a good practice to use a static variable in a Test Class and use that in the actual class instead of Test.isRunningTest()?

What is this sharp, curved notch on my knife for?

Are there any other methods to apply to solving simultaneous equations?

How to type a long/em dash `—`

Dropping list elements from nested list after evaluation

Did any laptop computers have a built-in 5 1/4 inch floppy drive?

How to display lines in a file like ls displays files in a directory?

How can I add encounters in the Lost Mine of Phandelver campaign without giving PCs too much XP?

What do I do when my TA workload is more than expected?

Unitary representations of finite groups over finite fields

Why doesn't UInt have a toDouble()?

Did Scotland spend $250,000 for the slogan "Welcome to Scotland"?

If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?

Getting crown tickets for Statue of Liberty

Is an up-to-date browser secure on an out-of-date OS?

What is this business jet?

Finding the area between two curves with Integrate

How to translate "being like"?

Is it okay to consider publishing in my first year of PhD?

Inverse Relationship Between Precision and Recall

Can we generate random numbers using irrational numbers like π and e?

Ubuntu Server install with full GUI



Magento2 Add dropdown option in product listing page for configurable product



The 2019 Stack Overflow Developer Survey Results Are Inmagento text field add dropdown value from some other databaseAdding random product listing for categoriesDisplay Dynamic SKU on configurable product view Magento using Image SwatchChanging sort-order of attribute dropdown (configurable product, magento 2)How to change price for configurable products in Product Listing using drop down options in Magento 2remove extra price from dropdown in configurable productMagento2 : Add Category Attribute DropdownMagento 2: Configurable product dropdown attributes on category listing pageCategory filter in list page magento2



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I want to change text-swatch to dropdown in category page.enter image description here
I want here drop down instead swatch



enter image description here










share|improve this question






















  • do you want text swatch into dropdown only for Size attribute(XL,S,M etc) or for every text swatch ?

    – Shashank Kumrawat
    Oct 30 '18 at 6:05












  • why you cant use magento native functionality in backend to choose any attribute as "drodown","text swatch" or "visual swacth" ?

    – Shashank Kumrawat
    Oct 30 '18 at 6:13











  • @Shashank Kumrawat dropdown not working on category page and custom collection

    – Ketan Borada
    Oct 30 '18 at 6:23











  • @Shashank Kumrawat I want dropdown everywhere-product,category,homepage collection

    – Ketan Borada
    Oct 30 '18 at 6:25











  • have you selected them as "dropdown" in attribute properties in backend?

    – Shashank Kumrawat
    Oct 30 '18 at 6:27

















1















I want to change text-swatch to dropdown in category page.enter image description here
I want here drop down instead swatch



enter image description here










share|improve this question






















  • do you want text swatch into dropdown only for Size attribute(XL,S,M etc) or for every text swatch ?

    – Shashank Kumrawat
    Oct 30 '18 at 6:05












  • why you cant use magento native functionality in backend to choose any attribute as "drodown","text swatch" or "visual swacth" ?

    – Shashank Kumrawat
    Oct 30 '18 at 6:13











  • @Shashank Kumrawat dropdown not working on category page and custom collection

    – Ketan Borada
    Oct 30 '18 at 6:23











  • @Shashank Kumrawat I want dropdown everywhere-product,category,homepage collection

    – Ketan Borada
    Oct 30 '18 at 6:25











  • have you selected them as "dropdown" in attribute properties in backend?

    – Shashank Kumrawat
    Oct 30 '18 at 6:27













1












1








1








I want to change text-swatch to dropdown in category page.enter image description here
I want here drop down instead swatch



enter image description here










share|improve this question














I want to change text-swatch to dropdown in category page.enter image description here
I want here drop down instead swatch



enter image description here







magento2 configurable-product product-list category-products dropdown-attribute






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Oct 23 '18 at 9:24









Ketan BoradaKetan Borada

406938




406938












  • do you want text swatch into dropdown only for Size attribute(XL,S,M etc) or for every text swatch ?

    – Shashank Kumrawat
    Oct 30 '18 at 6:05












  • why you cant use magento native functionality in backend to choose any attribute as "drodown","text swatch" or "visual swacth" ?

    – Shashank Kumrawat
    Oct 30 '18 at 6:13











  • @Shashank Kumrawat dropdown not working on category page and custom collection

    – Ketan Borada
    Oct 30 '18 at 6:23











  • @Shashank Kumrawat I want dropdown everywhere-product,category,homepage collection

    – Ketan Borada
    Oct 30 '18 at 6:25











  • have you selected them as "dropdown" in attribute properties in backend?

    – Shashank Kumrawat
    Oct 30 '18 at 6:27

















  • do you want text swatch into dropdown only for Size attribute(XL,S,M etc) or for every text swatch ?

    – Shashank Kumrawat
    Oct 30 '18 at 6:05












  • why you cant use magento native functionality in backend to choose any attribute as "drodown","text swatch" or "visual swacth" ?

    – Shashank Kumrawat
    Oct 30 '18 at 6:13











  • @Shashank Kumrawat dropdown not working on category page and custom collection

    – Ketan Borada
    Oct 30 '18 at 6:23











  • @Shashank Kumrawat I want dropdown everywhere-product,category,homepage collection

    – Ketan Borada
    Oct 30 '18 at 6:25











  • have you selected them as "dropdown" in attribute properties in backend?

    – Shashank Kumrawat
    Oct 30 '18 at 6:27
















do you want text swatch into dropdown only for Size attribute(XL,S,M etc) or for every text swatch ?

– Shashank Kumrawat
Oct 30 '18 at 6:05






do you want text swatch into dropdown only for Size attribute(XL,S,M etc) or for every text swatch ?

– Shashank Kumrawat
Oct 30 '18 at 6:05














why you cant use magento native functionality in backend to choose any attribute as "drodown","text swatch" or "visual swacth" ?

– Shashank Kumrawat
Oct 30 '18 at 6:13





why you cant use magento native functionality in backend to choose any attribute as "drodown","text swatch" or "visual swacth" ?

– Shashank Kumrawat
Oct 30 '18 at 6:13













@Shashank Kumrawat dropdown not working on category page and custom collection

– Ketan Borada
Oct 30 '18 at 6:23





@Shashank Kumrawat dropdown not working on category page and custom collection

– Ketan Borada
Oct 30 '18 at 6:23













@Shashank Kumrawat I want dropdown everywhere-product,category,homepage collection

– Ketan Borada
Oct 30 '18 at 6:25





@Shashank Kumrawat I want dropdown everywhere-product,category,homepage collection

– Ketan Borada
Oct 30 '18 at 6:25













have you selected them as "dropdown" in attribute properties in backend?

– Shashank Kumrawat
Oct 30 '18 at 6:27





have you selected them as "dropdown" in attribute properties in backend?

– Shashank Kumrawat
Oct 30 '18 at 6:27










1 Answer
1






active

oldest

votes


















0














Overwrite below mentioned file in your Theme,



vendor/magento/module-swatches/view/frontend/templates/product/listing/renderer.phtml






share|improve this answer























  • thanks, can you be more specific?

    – Ketan Borada
    Oct 31 '18 at 17:10











  • You'd want to edit your code that prints them one by one and make it an html <option> element

    – zack6849
    Nov 5 '18 at 18:40











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f247469%2fmagento2-add-dropdown-option-in-product-listing-page-for-configurable-product%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Overwrite below mentioned file in your Theme,



vendor/magento/module-swatches/view/frontend/templates/product/listing/renderer.phtml






share|improve this answer























  • thanks, can you be more specific?

    – Ketan Borada
    Oct 31 '18 at 17:10











  • You'd want to edit your code that prints them one by one and make it an html <option> element

    – zack6849
    Nov 5 '18 at 18:40















0














Overwrite below mentioned file in your Theme,



vendor/magento/module-swatches/view/frontend/templates/product/listing/renderer.phtml






share|improve this answer























  • thanks, can you be more specific?

    – Ketan Borada
    Oct 31 '18 at 17:10











  • You'd want to edit your code that prints them one by one and make it an html <option> element

    – zack6849
    Nov 5 '18 at 18:40













0












0








0







Overwrite below mentioned file in your Theme,



vendor/magento/module-swatches/view/frontend/templates/product/listing/renderer.phtml






share|improve this answer













Overwrite below mentioned file in your Theme,



vendor/magento/module-swatches/view/frontend/templates/product/listing/renderer.phtml







share|improve this answer












share|improve this answer



share|improve this answer










answered Oct 31 '18 at 13:34









Nauman m. MansuriNauman m. Mansuri

19818




19818












  • thanks, can you be more specific?

    – Ketan Borada
    Oct 31 '18 at 17:10











  • You'd want to edit your code that prints them one by one and make it an html <option> element

    – zack6849
    Nov 5 '18 at 18:40

















  • thanks, can you be more specific?

    – Ketan Borada
    Oct 31 '18 at 17:10











  • You'd want to edit your code that prints them one by one and make it an html <option> element

    – zack6849
    Nov 5 '18 at 18:40
















thanks, can you be more specific?

– Ketan Borada
Oct 31 '18 at 17:10





thanks, can you be more specific?

– Ketan Borada
Oct 31 '18 at 17:10













You'd want to edit your code that prints them one by one and make it an html <option> element

– zack6849
Nov 5 '18 at 18:40





You'd want to edit your code that prints them one by one and make it an html <option> element

– zack6849
Nov 5 '18 at 18:40

















draft saved

draft discarded
















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f247469%2fmagento2-add-dropdown-option-in-product-listing-page-for-configurable-product%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Sum ergo cogito? 1 nng

419 nièngy_Soadمي 19bal1.5o_g

Queiggey Chernihivv 9NnOo i Zw X QqKk LpB