All Questions

0
votes
0answers
4 views

move header links to dropdowndialog widget

I want to move the header links to a dropdowndialog widget, this is the code: <div data-block="dropdown" class="minicart-wrapper"> <i class='fas fa-user-circle action' data-trigger='...
1
vote
0answers
4 views

Magento2.3 how to add custom option of product when create order programatically?

I am using Magento2.3 I need to how to add custom option of product when create order programmatically? I used below code for add custom option to product but it is not working $product = $om->...
0
votes
0answers
7 views

What's the logic of inherited constructor order parameters

I have this module class namespace VendorName\Module\Block\Magento\Framework\Pricing; use Magento\Framework\Pricing\Amount\AmountInterface; use Magento\Framework\Pricing\Price\PriceInterface; use ...
0
votes
0answers
4 views

Mageto 2.3. How add Qty & increment and decrement for Product page and category page and widget

I am just sharing variant how i added increment and decrement for Product page and category page and widget I have created it in my custom theme into module Magento_Catalog. You should create file: ...
1
vote
1answer
9 views

Magento 2.3 Product getSpecialPrice

i have a function which sets the correct price for calculation: $_product->getSpecialPrice() ? $_product->getSpecialPrice() : $_product->getCustomUnitAmount()*$_product->...
0
votes
1answer
14 views

How To Get Simple Product Name From Configurable Product From Ordered Product

foreach ($order->getAllItems() as $item { $orderItemId = $item->getOrderItemId(); $orderItem = Mage::getModel('sales/order_item')->load($orderItemId); $product = Mage::getModel('...
0
votes
0answers
6 views

How to increase the width of Tier Price box in advanced pricing

I overwritten Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\AdvancedPricing:getTierPriceStructure() Custom fields are added to the advanced pricing section but the width of the custom fields ...
0
votes
0answers
11 views

As capture the token that came through the head and send it to a function that I created myself?

I'm trying to customize the Magento API Engine 2. I would like to know if there is any time of the request, before arriving at webapi.xml to capture the token that came through the head and send it to ...
2
votes
0answers
13 views

How to trigger an index for a configurable if the simple price index was changed

I made a pull request enter link description here for an the ElasticSuite module to make a discount of configurables flag dependent on simples. Now of course the configurable has to be reindexed if ...
0
votes
0answers
8 views

Magento 2 Add Sidebar Order Summary on Customer Account Create

On Magento 2.x I'd like to display the Order Summary via the sidebar on the page customer/account/create. You can find this sidebar on Checkout/#shipping page usually. Is it even possible? I tried to ...
0
votes
0answers
16 views

Invoice email not received while place order in magento 2

I have not received invoice email after placing order. Magento version : 2.2.2 & 2.3.0 Checked in these Payment Methods : Authorize.net & Zero subtotal Checkout Expected result: Order ...
0
votes
2answers
19 views

How to change of out stock error message in magento2?

I need to modify out of stock error message in cart page in magento2? In Magento\CatalogInventory\Model\Quote\Item\QuantityValidator.php: public function validate(Observer $observer) { /...
0
votes
0answers
9 views

Custom dropdown attribute sort by option is not showing proper result on category page in magento 2

I am using magento 2.2.6 and create custom product dropdown attribute called patter_name and i wanted this to use for product sort by on category page. but when i sort by this attribute "patter_name"...
0
votes
1answer
16 views

How to get tracking number for items using order id for an order

I am getting the order information using $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $order = $objectManager->create('Magento\Sales\Api\OrderRepositoryInterface')->...
1
vote
0answers
10 views

“Requested store is not found” error in Magento 2.2.7 while opening categories from admin dashboard

I am getting an error while trying to open the categories form catalog in the admin dashboard. I have migrated the data from Magento1.9.2.0 to Magento2.2.7. Getting this in error log. "{"0":"...
0
votes
0answers
7 views

Magento2 jQuery.live is not a function on checkout page

When i am going to place an order on checkout page then on page load i am getting an error in firebug like jQuery.live is not a function on checkout page but not display always it shows sometime. ...
1
vote
0answers
19 views

How to truncate product name properly in Magento 2?

I am using 2.3.1 I have truncated product name in the listing page and displayed dots if the length of the name is more than 27 but the problem is that there are special characters like &,'," etc....
0
votes
0answers
9 views

Sorting on parent categories

Let's say that we have the following categories: Category A (60 products) Subcategory A1 (20 products) Subcategroy A2 (40 products) Products are assigned only to Subcategories A1 and A2, but they ...
0
votes
1answer
13 views

How to update Schedule Update in product in magento 2.3?

I have few question to ask for my understand about Schedule Update What is Save as New Update Option? What is the Update name should add here ? attribute code or just a name? 3.What is Assign to ...
1
vote
1answer
19 views

Magento 2 equivelent of __(“whatever %s”, $variable)

In Magento 1 you can use something like this Mage::helper('module')->__('Hi %s, there is an error', $name); https://stackoverflow.com/a/21726921/10121426 Does Magento 2 support this? If so what ...
1
vote
1answer
25 views

How to use resultJsonFactory in Model file magento2

I have used below code to print response from my Model file. <?php class CountrylistManagement implements \Vendor\Module\Api\CountrylistManagementInterface { protected $_storeManager; ...
1
vote
1answer
16 views

display subcategoies and their products on parent category page

I want to display subcategoies and their products on parent category page I tried this code on ../Magento_Catalog/templates/category/products.phtml but it shows all product of the parent category on ...
0
votes
0answers
13 views

How to get custom session in rest api calls?

I have created a custom session and it's storage with custom namespace. I have set some data in storage which I am trying to fetch in my api calls but not getting any data in session. I do get the ...
0
votes
1answer
17 views

How to add custom option price when product is adding add to cart using controller

I have to add the custom option price when product is adding add to cart using controller
0
votes
0answers
7 views

revenue value for dashboard graph

i am try to understand how graph make in magento2 i place many order and debug the value for graph . \vendor/magento/module-reports/Model/ResourceModel/Order/Collection.php::_prepareSummaryLive() $...
0
votes
0answers
14 views

can virtual types be used as cronjob instances

I tried to use a virtual type in cronjob as instance but without any success. When I use a real class it works as expected. Is there any hint to get virtual types working in cronjobs? crontab.xml: &...
0
votes
0answers
24 views

Magento2.3.1 installation error

I started to install fresh Magento2.3.1 in xampp with a fresh database. When I am installing the Magento everything is set up properly. But Suddenly I got the following error: [ERROR] PDOException:...
1
vote
2answers
22 views

How to check if column exist before trying to add it to the table?

We are using the Extension FollowUp E-Mail from AheadWorks. The Extension has bugs in the sql install scripts... they are trying to add a column to a table but don't check if the column does already ...
1
vote
0answers
21 views

Magento 2 Linnworks Integration Issue [on hold]

I'm running a Magento 2.X.X instance on a dedicated CentOS 7 server. I'm trying to integrate the Linnworks API but it would seem it's a lot more complicated than I thought it would be. In Linnworks ...
0
votes
0answers
14 views

How do i remove unused css from magento 2 homepage?

I am not getting good performance when i audit my website with chroome lighthouse. I am getting few errors like - Remove unused CSS - Ensure Text Remain Visible during web front load - Minimize main ...
0
votes
0answers
14 views

Redirected automatically to a store view based on a user group - M2

I have created two store views, one for my normal customers (group) and one for my wholesale customers (group). I need that when a Wholesale customer login will be redirected automatically to the view ...
0
votes
0answers
7 views

Paypal Api sandbox disable

I'm Trying to Disable sandbpx, i get this error : GetRecurringPaymentsProfileDetails failed: Could not resolve host: api-3t.0.paypal.com; Name or service not known(6)
0
votes
3answers
38 views

How to get data from sales_order_item table in magento 2

I am new to Magento 2 and I want to get all data from sales_order_item table in Magento 2. How to get that can anyone answer?
0
votes
0answers
13 views

Package a custom extension

Can anybody help me to provide the complete process of making my custom module install able and update able using composer. I am using my custom bit bucket repository to upload my code base of ...
0
votes
1answer
11 views

Magento 1: Apply catalog price rule if cookie set in customer system's browser

I am setting cookie in customer system's browser when customer comes from google ads, for that I had done some code for detecting that he/she is coming from google ads or not. In addition, when ...
0
votes
1answer
20 views

Magento 2 Base Url path issue custom theme

I have a Magento 2.3.1 site installed in a subfolder and I have a problem with base URL. When I have a link like this < a href="#" > LINK < /a > Instead of this www.domainname.com/...
0
votes
0answers
8 views

Warning: session_regenerate_id(): Session object destruction failed. on Magento 2 Checkout

I have a Magento 2.2.4 running on a Windows IIS server. When entering checkout, I often get There has been an error processing your request error. When I check the error report, it says * ...
0
votes
0answers
11 views

Magento 2.2.3 order listing page too slow in admin

I am using Magento 2.2.3 it is in production mode. The order listing page in admin loads very slow. I have been facing this issue since long. To debug this I have also tried enabling query log ...
2
votes
1answer
20 views

M2 | How to set default store view of product while creating the product programmatically?

I am creating simple product programmatically, but for displaying it on frontend I need to edit product from admin side and set its view from All Store Views to Default Store View Mannually, ...
0
votes
0answers
7 views

header links in mobile view are not shown

I have moved the .header.links to another containers. Now the .header.links are in the div with class .header_links and .header_links_menu. So when I pass to a mobile view the links are not shown. I ...
1
vote
1answer
8 views

How to change the Magento 2.2 Session location from Redis back to File

I use Magento 2.2. Changed session destination from file to Redis. Is there a command to save back to a file?
1
vote
2answers
16 views

Magento 2 : Is there any way to stop to sending email to customer while importing customer?

Is there any way to stop to sending email to customer while importing customer ? Is Disable Email Communication : OFF this helpful for that ?
1
vote
1answer
17 views

urlEncode in Magento 2

How get Mage::helper('core')->urlEncode in Magento 2?
2
votes
1answer
16 views

Retrieve guest cart using token in Magento 2

When you create a guest cart you will receive a token that may look like this "696EreQdYt2AAtEceQsHfD2gxGyWFodG" and you can use it to retrieve a guest cart that has an id number. I know how to ...
3
votes
2answers
42 views

Sorting by product ID

I'd like to add product id as a new sorting option in frontend catalog pages. How can I do that? This attribute is not listed in product attributes configuration in magento backend. I guess that it ...
0
votes
1answer
17 views

How to change “input file” storage location in customer account edit form

I have added a customer attribute called "My File". It gets added in customer account edit form. By default, the selected file(My File) is saved under "pub/media/customer" directory. In my case, I ...
0
votes
0answers
15 views

Static Content Deploy Halts on web/FormData.js

I'm running a Magento 2.3.1 site in production mode, and after switching to the production mode via: bin/magento deploy:mode:set production --skip-compilation Yes, I'm skipping compilation to cut ...
1
vote
1answer
13 views

Magento 2 API add item to Cart ignore price

if i add a item to cart via api it set Magento 2 default price of the item instead price set via API 1st i create a cart for a customer: index.php/rest/default/V1/customers/631/carts via POST ...
1
vote
0answers
12 views

How to configure Category product listings in Mobile?

We knew the steps to configure the product listings in Magento 2 on Desktop view and done successfully as per our need. Now, we wanted to show 2 products per row in portrait mode and 3 products per ...
0
votes
0answers
13 views

Recent viewed product conflcit with infiniteScroll

I have installed the Infinite scroll extension On my category Listing page. I have also added the feature of recent viewed product, but it not compatible with infinite scoll. I have done the changes ...

15 30 50 per page