PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, May 10, 2022

[FIXED] How can we change size of an attribute Swatch image in Magento2

 May 10, 2022     magento2, product     No comments   

Issue

How to change the product swatch image size in Magento2.

Is there any option to change the size in the file /etc/view.xml ?


Solution

I got the solution:

Add the below code in /etc/view.xml file

<image id="swatch_image" type="swatch_image">
                 <width>38</width>
                 <height>38</height>
</image>

Clear all cache types and check.



Answered By - VIPIN A ROY
Answer Checked By - Cary Denson (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing