Skip to content
Tutes Club

Tutes Club

Tutorials for all

  • Magento
  • PHP
    • Learn PHP
  • JavaScript
    • jQuery
    • Learn jQuery FREE
  • MySQL
  • WordPress
    • How to Use WordPress
  • Tools
    • Android
    • Facebook
    • Scripts
  • Learn
    • Basics of Domains and Hosting
    • WordPress Walkthrough
    • Learn HTML
    • Learn CSS
    • Learn PHP
    • Create your own website
    • Learn jQuery jQueryUI
    • Webinars

Tag: console trick

Convert dropdown attribute to text swatch in Magento2 Admin Panel

Run the following code in console:

$=new jQuery.noConflict();
$("#swatch-text-options-panel tr td:nth-child(4) input").each(function (e,el) {
$(this).parent().parent().find("td:nth-child(3) input").val($(this).val());});
Author Harshvardhan MalpaniPosted on September 24, 2019September 24, 2019Categories Magento, ScriptsTags console trick, jQueryLeave a comment on Convert dropdown attribute to text swatch in Magento2 Admin Panel
Shared Hosting with Namecheap. Free .Website domain & WhoisGuard

Recent Posts

  • How to speed up slow Magento indexer process? Maria DB 10.4
  • Windows 10 WSL Ubuntu Common Commands and hacks
  • Remove zone.identifier files in windows
  • Condition types for addAttributeToFilter in Magento2 Collections
  • How to fix CORS error for amazon s3 files and resources?

Recent Comments

  • Zee on How to change WordPress user roles in MySQL database using PhpMyAdmin?
  • Meet Patel on Testing Configuration for Paytm Gateway Plugin India
  • Fahad Shafi on [SOLVED] Magento 2 Error: A technical problem with the server created an error. Try again to continue what you were doing. If the problem persists, try again later.
  • Promise on Radio buttons CSS for wordpress elementor form markup
  • 5 formas de arreglar «Parece que a su instalación de PHP le falta la extensión MySQL requerida por WordPress». – Recursos WordPress on Your PHP installation appears to be missing the MySQL extension, required by WordPress

Archives

  • September 2023
  • April 2022
  • March 2022
  • January 2022
  • December 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • February 2021
  • January 2021
  • December 2020
  • October 2020
  • August 2020
  • July 2020
  • June 2020
  • February 2020
  • January 2020
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • May 2017
  • March 2017
  • May 2016

Categories

  • Android
  • Apache directives
  • CSS
  • Facebook
  • HTML
  • Internet
  • JavaScript
  • jQuery
  • Linux
  • Magento
  • MySQL
  • News
  • PHP
  • Scripts
  • Shopify
  • Tools
  • Uncategorized
  • Windows
  • WordPress
  • Magento
  • PHP
    • Learn PHP
  • JavaScript
    • jQuery
    • Learn jQuery FREE
  • MySQL
  • WordPress
    • How to Use WordPress
  • Tools
    • Android
    • Facebook
    • Scripts
  • Learn
    • Basics of Domains and Hosting
    • WordPress Walkthrough
    • Learn HTML
    • Learn CSS
    • Learn PHP
    • Create your own website
    • Learn jQuery jQueryUI
    • Webinars
Tutes Club Privacy Policy Proudly powered by WordPress