I trying to move the language switcher on mobile devices to be in the main website menu instead of the settings tab (screenshot below): I found some instructions on how to do that from the layout.xml file using <move element="name.of.an.element" destination="name.of.destination.element"/> However, I couldn’t find the values for element and […]
Magento2
Preconditions (*) PHP 7.4.27 composer 2.1.4 Magento version 2.4.2-p2 enterprise Elasticsearch 7.16.2 Redis Cache 5.0.14 Grunt 1.0.4 Steps to reproduce (*) Install a fresh installation of Magento with multiple store views (3-4), and added my custom code for the website Try to access the homepage Expected result (*) Site should […]
I believe we do not have a Google merchant center account, so Google is automatically displaying our products to the shopping tab on it’s own. The problem is that it’s displaying the wrong shipping price on their page. So, I’m assuming this is a problem that can be fixed somewhere […]
I need a custom extension for Magento2 – sort and filter product distance with map. Its extension for m1 i needed to m2 I try converter code m1 to m2 but – but lack of knowledge ( Please help anybody, maybe someone solved a similar problem
I am trying to achieve website switch for my site but i am getting error , i followed some code but getting error here is my module structure app/code/Rgswitch/switcher/etc/frontend/di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="MagentoStoreViewModelSwitcherUrlProvider" type="RgswitchswitcherViewModelStoreSwitchModel" /> </config> /app/code/Rgswitch/switcher/ViewModel/StoreSwitchModel.php <?php namespace RgswitchswitcherViewModel; use MagentoFrameworkAppConfigScopeConfigInterface; use MagentoFrameworkLocaleTranslatedLists; use MagentoFrameworkUrlEncoderInterface; use […]
as per my requirement, the state and country in the cart page should be a default of US and Washington. I found a configuration for the default of country but I wasn’t able to find any for the state. I research and found only for checkout page.
When I try to add to card any item via REST API I get this error: "{"message":""%fieldName" is required. Enter and try again.","parameters":{"fieldName":"quoteId"}}" First time I get the cart id calling this “rest/V1/carts/mine” than I call “rest/V1/carts/mine/items” with this data: { "cartItem": { "sku": "24-WG080", "qty": 1, "quote_id": cartID } […]
we need to change the repo that a magento cloud project uses. Like if we were migrating from GitHub to BitBucket. How could we do that?