All Questions

1
vote
0answers
13 views

Magento 2.2 - Custom WEBAPI - Custom JSON Structure

i need to understand following situation: An external systems need to send a JSON Structure ( nearly similar than the magento default structure ) by using the web-api to import / update (POST/PULL) ...
1
vote
2answers
13 views

Order Items Collection in Order Detail Page

This snapshot of order detail page. I Just want to known that which file or function call for setting this collection in this page. I want to just get Selected (Filter Row) Items Order.
1
vote
0answers
13 views

Customer unable to login on frontend Magento 1.9.2.4

Customer visits website and they are able to login, but when they logout, they are unable to login again. When they click login, the login page just refreshes. Additionally, if i clear the site cache ...
0
votes
0answers
10 views

How FIlter Order Items Collection?

How Filter(make custom array) Order Items Collection when view order from front end admin page sales order grid.
2
votes
0answers
11 views

Sign up (guest checkout) issue in Magento 2

I have added customer_register_succes event for guest customer account creation during guest checkout. After the successful order when the user sign up by my event and observers call in which I load ...
2
votes
0answers
11 views

Upgrading from 2.2.6 to 2.2.7

I just don't get this damn error and it's driving me crazy. Problem 1 - The requested package magento/product-enterprise-edition 2.2.7 exists as magento/product-enterprise-edition[2.2.6] but ...
4
votes
0answers
11 views

How to create upload image and videos attribute in Admin product detail page in Magento2.2.5?

I want to create image and video upload for in Admin Product page Refer my screenshot: Under Available in I have created a attribute aaa, Under aaa I should get images and videos upload like this. ...
3
votes
0answers
10 views

Which license should I use for my own extension to prevent others to use it without my permission/paying?

I developed a few extensions and I try to figure out which license I should use to "prevent" others e.g. our agencies to copy them and spread them to their own customers w/o my permission.
1
vote
1answer
8 views

Out of stock images - Grey out if products are out of stock in Magento 2

I see that there is a solution for M1. Would this work for M2? https://stackoverflow.com/questions/35292353/out-of-stock-images-grey-out-if-products-are-out-of-stock-in-magento-1-9-x
1
vote
0answers
7 views

Could not establish FTP connection, invalid host or port in magento 2.2.5

i include the use \Magento\Framework\Filesystem\Io\Ftp; at the top nd connct the ftp as $connection = $this->ftp->open( array( 'host' => '00....
1
vote
0answers
10 views

Mageplaza products slider items not updating

I'm using the products carousel via the shortcode method: https://docs.mageplaza.com/product-slider-m2/#cms-page-cms-static-block I was wondering what settings there are available that I can add on ...
2
votes
0answers
17 views

Order Detail page get Order Item Collection When select any order in admin order grid in Magento 2

i have apply filter on order grid in admin page. Just all those order display in Admin Order Grid which is relate to current login admin products. But when i click on any order row in grid then in ...
3
votes
0answers
8 views

Magento 1.9 cron running, but stops on one method

I have a small bug and have no clue where or how to debug. I have one cron task which runs on production but stops or stuck always on one method. On local env it works like a charm, but on prod not. ...
3
votes
0answers
11 views

Override Checkout Template

I have developed a custom plugin that used to add a custom made shipping method. For that custom made shipping method I had override the existing templates. It was working fine but changing the server ...
2
votes
0answers
6 views

QTY box validation

I want to set a validation to use only English keyboard number on QTY box in product page magento 2.1 I mean that with any keyboard press 3 it use English keyboard not for-example Arabic keyboard
2
votes
1answer
10 views

How to call a function which is in a overwritten controller block?

I have developed a module to overwrite a controller. I have the next route: Lecasa/Javinewlistproductcontroller/Block/Catalog/Product/List.phtml This List.phtml file is: class ...
3
votes
0answers
11 views

Street address cannot contain more than 2 lines — payment page

I changed shipping street address values 2 in the admin panel. Now I can't place order only for logged in users. It's working fine for not logged in user. If I changed it into 3 lines of the street ...
2
votes
0answers
15 views

How to change the cart subtotal value using observer in magento 2?

I want to change the cart subtotal calculation in magento 2 but i try this code but not changing $quoteQty = $quote->getQuoteQty(); $priceOne=$priceOne/$quoteQty; $quoteItem->...
1
vote
1answer
13 views

Magento 2 custom customer attribute data not saved

We are working on Magento 2.2 create custom attribute seller_id for customer,this attribute is created successfully. But we can not display this attribute when loading the customer data. <?php ...
2
votes
0answers
8 views

Add external JS tracking script to tracking/popup.phtml

I want to insert an external js to popup tracking page to get shipping information provided by an API service. I need to pass the shipping number (that is yet in the popup tracking) to this js... ...
3
votes
1answer
11 views

Magento2 API Filtering Multiple categories

In magento2 API how can I filter by multiple categories V1/products?searchCriteria[filterGroups][0][filters][0][field]=name&searchCriteria[filterGroups][0][filters][0][value]=%test%&...
1
vote
0answers
12 views

Magento 2 : Running magento 2 on windows using Linux subsystem

Is there some good guide on how to use linux subsystem provided with windows 10 to setup and run magento 2?
3
votes
1answer
19 views

Magento2 - How to get product additional options from quote_items_options using product id

I have successfully saved product additional options in "quote_items_options" table . Now I want to retrieve those options using product_id. Can anyone help me how can I get additional options? ...
1
vote
0answers
11 views

Webkul Layerednavigation

I just installed Magento 2 webkul advanced layered navigation. but wen I use it as composer, I get below error: [RuntimeException] Source class "\Webkul\AdvancedLayeredNavigation" for "\Webkul\...
3
votes
1answer
14 views

Magento 2 : Search For Admin Menu Items

In magento2 admin dashboard , We have an option for Search. When we search for "rma" for example it is showing "rma in products" , "rma in pages" etc but I need to know if rma found in any of the ...
1
vote
1answer
21 views

In magento 2 datepicker, how to disable a paritcular dates in frontend?

frontend 1.app/code/companyname/vendorname/view/frontend/web/template/delivery-date-block.html <label class="label">Delivery Date</label> <div class="control"> <input class="...
3
votes
0answers
15 views

Magento 2 : Filter is not showing in front end in my custom module

i'm creating filter for Frontend in custom module. I'm following this module grid https://belvg.com/blog/ui-grid-component-on-the-front-end-in-magento-2.html But it's not showing in Front end. ...
3
votes
1answer
23 views

Magento 2 : Eav module record can't save in custom module table

I create custom EAV module. app/code/VendorName/ModuleName/Model/ResourceModel/Mainpage/Collection.php <?php namespace VendorName\ModuleName\Model\ResourceModel\Mainpage; class Collection ...
1
vote
0answers
13 views

“Shop by Brand” extesion of “mazeplaza” not showing frontend pages

I am using "shop by brand" extension of "Mazeplaza". But it is not working and slow down my website from frontend and backend. None of the pages regarding brands loading in frontend. I have more than ...
2
votes
0answers
11 views

Why some images aren't cached?

Why some images aren't returning status code 200 and they are also not cached? But the URLs are accessible and able to view images in the browser.
3
votes
1answer
25 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.
2
votes
0answers
15 views

Magento 2.3 Layered Navigation issue

I'm working on Magento 2.3 and has a new issue when call block on custom view: $layer=$layout->createBlock('Magento\LayeredNavigation\Block\Navigation\Category'); Exception #0 (RuntimeException): ...
2
votes
1answer
21 views

Magento 2 translate the “You added … to your shopping cart.” line

I'm trying to translate the "You added ... to your shopping cart." line in my Magento 2 installation. I have already a .csv file in: "app/design/themevendor/themename/i18n/" with all the lines ...
2
votes
0answers
16 views

Emergency - our site down for 2 days. Ready to deploy on a new server but missing custom options; any way to put same custom options on all products?

Magento 1.9.4 Our old Magento store (1.9.1) hosted at Hostforweb just stopped working (long story - first it was extremely slow = unusable; then the hosting company says they can move it to another ...
3
votes
1answer
35 views

Magento 1.9.4 Shipment PDF

I wanted to display only the product name on the shipment pdf. I assume I need to edit the below section from shipment.php and I tried $item->getName() but it didn't work How can i do this ? ...
1
vote
0answers
18 views

Call to a member function getValue() on null

Magento 2.2.7 Getting this error in the error_log and customer get's white screen when trying to login to site, Fatal error: Uncaught Error: Call to a member function getValue() on null in /home/...
3
votes
0answers
18 views

Importing from Custom E-Commerce Platform to Magento 2 (MySQL to M2)

I need to import Products, Customers and Order History from a custom e-commerce platform into a new Magento 2 implementation. Ideally the extension or cloud service would allow us to connect directly ...
3
votes
1answer
13 views

Knowing the store of the purchased product

I have a Magento 1.9 site with 2 stores. Both stores have different root categories. Products of both categories are shared between both stores. When a customer made a purchase, is there a way to ...
3
votes
1answer
19 views

Magento2 REST API and mode

Magento2 has three different modes but official documents don't talk about how does Magento 2.2.6 REST APIs' behaves in these three different modes?
2
votes
0answers
11 views

Is enabling Magento 1.7 compilation worthwhile?

I'm trying to speed up my Magento 1.7 installation until we can migrate it over to 2.3. One of the recommendations I've seen is to enable Magento Compilation i.e here. However, on SO I saw that it isn'...
2
votes
1answer
17 views

Security Report - patch 8788

Patch 8788 is available for <= 1.9.2.4. I have 1.9.3.4. How can I fix the issues addressed?
2
votes
1answer
15 views

whenever i do any change in xml file i need to remove pub/static folder then it works

I am trying to do some change in default.xml but whenever i do any change in xml layout i have to clear cache and remove pub/static folder var/cache folder . is there any way to skip these steps and ...
3
votes
0answers
20 views

Magento2 Getting error as variable @baseUrl is undefined in file /var/view_preprocessed

On doing php bin/magento setup:static-content:deploy -f I am getting error Compilation from source: vendor/magento/theme-frontend-blank/web/css/email-inline.less variable @baseUrl is undefined ...
2
votes
0answers
10 views

How to edit source of the index page in Magneto

I am a professional PHP developer, it's been like 2-3 days since I am trying to work with magneto. My task is to optimize the index page. Thing is, I can not edit the "actual" source of index page. ...
3
votes
0answers
11 views

Background or concurrent taks in Controllers

I am currently programming an extension for Magento 2. I am developing an observer that is triggered when you make an action inside a controller in the admin section. What I do is to fetch all ...
1
vote
0answers
8 views

magento 2 seperated parent and sub categories dropdowns

I want to show different input dropdown that seperate parent categories and subcategories. Indeed, the first dropdown shows parent categories, the second dropdown empty at first sight, then loaded ...
1
vote
0answers
19 views

Magento 2 Frontend UI grid not display

I am working in magento 2.2 I want show the customer list in the frontend / vendor panel. When accessing the url and check the response customer data is fetching in JSON format but customer grid is ...
0
votes
1answer
21 views

Magento2: How to change layout product detail

I want to change size and layout product detail: from: similar to: details.phtml <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ // @...
1
vote
1answer
9 views

Magento 2.3 CSS inlining error: DOMXPath::query() Invalid expression in selector >> .fotorama__wrap:not(.fotorama__wrap--toggle-arrows)

I am getting this error in Magento 2.3. Error occurs with every email sent. CSS inlining error: DOMXPath::query(): Invalid expression in selector >> .fotorama__wrap:not(.fotorama__wrap--toggle-...
2
votes
2answers
82 views

Database possibly compromised

I want to know if strangers have accessed the database. If so, I want to find out how they got access to the database. Until now, almost all files had chmod 777. I forgot to check if local.xml was ...

15 30 50 per page