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

  • Installing a testing instance for Magento CLI only
  • Basic Authentication with Nginx with proxy port (react/node app etc)
  • Fixing broken “screen options” in wordpress site
  • How to limit ajax apis for your origins (Access-Control-Allow-Origin headers)
  • proxying websockets via nginx and https

Recent Comments

  • 用PHP转置多维数组|php问答 on How to transpose an array in PHP with irregular subarray size?
  • مشکل با عرض پوزش شما مجاز نیستید این نوشته را ویرایش کنید. | وی میزبان ایرانیان on How to change WordPress user roles in MySQL database using PhpMyAdmin?
  • Harshvardhan Malpani on How to change WordPress user roles in MySQL database using PhpMyAdmin?
  • Samuel on How to change WordPress user roles in MySQL database using PhpMyAdmin?
  • Matthias Michaelis 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.

Archives

  • 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