Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
General questions about Magento 2, not specific to a minor version. Use this tag to distinguish from Magento 1. If you have issues with a specific version, please use the appropriate 'Magento-2.x' tag instead. Functionalities between Magento 2 minor versions might differ.
8
votes
1
answer
2k
views
Difference between Minicart and Cart in Magento 2
I want to know the difference between Mini cart and Cart in details.
6
votes
2
answers
481
views
How to setup more than one project in docker?
I have successfully installed Magento 2 with sample data using Docker
everything works fine but I have below question.
Magento 2 project Base URL is 127.0.0.1 How can I change this URL?
What if …
5
votes
Convert datetime and timezone to datetime in Magento 2
Try This
protected $timezone;
public function __construct(
\Magento\Framework\Stdlib\DateTime\TimezoneInterface $timezone,
......
)
{
$this->timezone = $timezone;
}
$dateTimeZone = $this->time …
5
votes
Accepted
Magento2 - How to get product additional options from quote_items_options using product id
You can get product wise additional option using below code. (Do not use Objectmanager directly if the code works then change dependency use via construct)
$productId = 68;
$objectManager = \Magento …
5
votes
1
answer
472
views
How to assign cart data in order Magento 2?
I am successfully save custom data in cart using checkout_cart_product_add_after event in "quote_item_option" table Now i want to save this data in order and display in order section in admin panel.
…
4
votes
2
answers
4k
views
Magento 2: The direct use of ObjectManager is discouraged [duplicate]
when I am check using object manager it gives me warning that The direct use of ObjectManager is discouraged. Inject necessary dependencies via constructor". How to solve this problem and I also want …
4
votes
Accepted
Magento2, setItemCount for minicart does not work
You can also set limit the number of product displaying in mini cart using below steps.
Login to your magento admin panel
Set store configuration Maximum Display Recently Added Item(s) to `3
(Loca …
4
votes
2
answers
278
views
Is there any extension available for Wechat share in Magento2? [closed]
Is there any Magento 2 extension available for wechat share?
4
votes
Accepted
How to upgrade magento ver 2.3.1 to 2.3.3
Please take your database & code backup first after that performs an update task.
Connect Your SSH and then go to your project root and run below command
composer require magento/product-community-e …
4
votes
Accepted
Magento2: What is difference between configurable products and simple product with custom op...
A configurable product and a simple product with custom option look almost similar on the front end. The main difference is that in a configurable product inventory can be easily managed as each varia …
4
votes
2
answers
5k
views
Magento2 - How to install and check coding standards of extension for Magento Marketplace?
I want to check My Extension's coding standard for Magento Marketplace before submitting it on **Magento Marketplace*. Can anyone tell me how can I install coding standard in My Local Environment and …
3
votes
Moving Gift message form block from Cart to Checkout step 1
Try below code
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="checkout" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configura …
3
votes
Allow customer to login only if they accept terms & condition
You can achieve this functionality by Put a Terms and Conditions checkbox on the register form.
Put below code in your customer register form template file (Phtml File)
<div style="width: auto; marg …
2
votes
Customer session for logged in customer by token based authentication
Try Below Code To get a customer id
<?php
$obm = \Magento\Framework\App\ObjectManager::getInstance();
$context = $obm->get('Magento\Framework\App\Http\Context');
$isLoggedIn = $context-> …
2
votes
Accepted
How to add cms page on magento default footer links?
you achieve this using default.xml
<referenceBlock name="footer_links">
<block class="Magento\Framework\View\Element\Html\Link\Current" name="name-of-your-link" after="frequently-aske …