How to Remove a Link from My Account Menu

To remove a link from the My Account Menu, add the customer_account.xml layout via JJ/Statements/view/frontend/layout/customer_account.xml with the following content: <?xml version=”1.0″?> <!– /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ –> <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <referenceBlock name=”block_name” remove=”true”/> </page>

Published
Categorized as Magento

How to add Goole Maps To our page?

Easiest Method to add google Maps using embed coded I frame Generator. Using this embebed url , select our location and genarate embebed code. Eg: Embedded Location of Jobin&Jismi. https://maps.google.com/maps?width=600&height=400&hl=en&q=jobin%20and%20jismi&t=&z=14&ie=UTF8&iwloc=B&output=embedhttps://mcpenation.com

Published
Categorized as Magento

How to remove white space around product image in Magento 2

write the code on etc>view.xml <transparency>false</transparency> <aspect_ratio>false</aspect_ratio> <frame>false</frame> example: <image id=”category_page_list” type=”small_image”> <width>240</width> <height>300</height> <transparency>false</transparency> <aspect_ratio>false</aspect_ratio> <frame>false</frame> </image>

Published
Categorized as Magento

How to Set Background Position

After adding a background image and stopping it from repeating, we are able to further control how it looks within the background of the tag by improving its position. We’ll use the background-position property to do this. The selector takes in two values. The first one is for the horizontal position, or x-direction (how far… Continue reading How to Set Background Position

Published
Categorized as Magento