All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
3k views

Session and cookies are not removing in Magento

I am trying to set the cookie on user login basis and want to empty on logout. Login working perfect but logout didn't work. For that purpose I used this XML code : <customer_logout> &...
1
vote
1answer
34 views

Page Builder product carousel only one item per slide always

Is it possible to have one product per slide always no matter the size of the screen using the product Carousel with page builder? The default is 5 items.
0
votes
1answer
25 views

Session not working after memcached activation

I am setting up a Magento store. The server is running Ubuntu 18.04.5 and Magento 2.4. After the memcached (service and php extension) installation I updated Magento's session configuration. Now when ...
0
votes
0answers
7 views

Need to generate the invoice automatically once the shipment is created. [Magento 2.3.3 EE]

I want to generate the invoice automatically once the shipment is created. [Magento 2.3.3 EE] More details as follows: Automatically create an invoice based on orders with shipment created ...
0
votes
1answer
7 views

I got issue regarding memory limit, I have changed php.ini files. still got same error?

Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors. {"messages":{"error":[{"code":500,&...
0
votes
0answers
8 views

main.DEBUG: URI '/customer/account/loginPost/referer

I am getting the errors below [2021-01-18 10:55:22] main.DEBUG: URI '/customer/account/loginPost/referer/...
0
votes
1answer
60 views

How to delve into Magento Enterprise development?

I'd like to start out studying Magento Enterprise development. Is there a legal way to obtain a free Enterprise distribution for non-commercial purposes - other than getting employed as a Magento ...
0
votes
1answer
1k views

PHP Fatal error: Uncaught TypeError: Argument 1 passed to Magento\\Framework\\Data\\Collection\\AbstractDb::setConnection() must implement interface

PHP Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Framework\Data\Collection\AbstractDb::setConnection() must implement interface Magento\Framework\DB\Adapter\AdapterInterface, ...
0
votes
0answers
10 views

magento 2.3 observers on product attributes save/changes

on my magento 2.3 I need to detect when a particular product attribute is updated in order to change the product price. Changing the product attribute via backend is no big deal: I simply put an ...
0
votes
0answers
8 views

Magento 2 - custom option for coupon code

In the Marketing > Cart price rules rule section I would like to create a custom option for my coupon that allows me to apply the discount in money and not as a percentage. To make myself better ...
0
votes
1answer
11 views

Pass data to uiComponent in Checkout

I have a simple uiCOmponent that I added to the checkout Layout to display in the jsLayout. The code looks like this. component.html <div class="delivery-estimation" data-bind="text: ...
0
votes
0answers
6 views

How to mock a core method by phpunit in magento 2

I have a piece of code that looks like this $noRouteIdentifier = $this->scopeConfig->getValue( 'web/default/cms_no_route', \Magento\Store\Model\...
1
vote
1answer
962 views

Can't display all upsell products in magento, 1 product is missing

I don't understand why upsell doesn't show 1 product in the frontend. All upsell products are showing up except for 1. I've reindexed all data, but still no changes. All upsell products are in stock, ...
1
vote
2answers
4k views

Class 'Mpdf\Mpdf' not found

I am trying to install the magento2-pdf-generator2 extension, but I first need to install the mpdf library, I ran the composer require mpdf/mpdf command and then ran php bin/magento setup:upgrade and ...
0
votes
0answers
8 views

Next days without weekends and holidays in magento 2

I am trying to get next days with skip of weekends and holidays. I tried this code: $holidays = array('01-01', '05-31','07-05','09-06','11-25','11-26','12-24'); $weekend = array('Sun','Sat'); ...
0
votes
0answers
10 views

Unable to delete product entry in catalog flat tables on deleting product from admin in Magento2

I have enable catalog flat tables configuration. I try to delete product from admin but still it is displaying in frontend with message "Out of stock". Also i checked database entry for ...
0
votes
0answers
11 views

Magento2: issue with elasticsuite (elasticsearch7) catalog_product index does not exist yet

Magento 2.4.1 I install elasticstuite on elasticsearch7 When I fire up a category, I get an error: 1 exception(s): Exception #0 (LogicException): catalog_product index does not exist yet. Make sure ...
3
votes
2answers
3k views

How to get processed email template using template id in Magento 2?

I wanted to load a particular processed email template by using its id. how to process this in magento 2. in magento 1.x the code is like $sTemplate = Mage::getModel('core/email_template') ->...
1
vote
1answer
342 views

Magento 2: Autoplay product video when video icon on left panel is clicked?

I want to autoplay video when video icon on the left panel is click. Once the video icon is click the video on the container will automatically play. Here is the current classes on the video icon: ...
0
votes
2answers
17 views

Create Store Programmatically on frontend

I want to create stores/store_views programmatically from the frontend. Is it possible to do that? I have not found any useful tutorial explaining to create stores/store views. I am using Magento 2.4....
0
votes
1answer
2k views

Correct way of creating custom SOAP API magento2

Please correct the below for creating custom SOAP API. \Vendor\Module\etc\di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
5
votes
1answer
3k views

Custom Column Sorting in Admin Grid - Magento 2

I have a custom grid with a column definition as below: <column name="practitioner_id" class="Amrita\Practitioner\Ui\Component\Listing\Column\Practitioner"> <argument name="data"...
0
votes
0answers
15 views

Magento 2 Sales order creation upon checkout

I'm in the process of migration from v1.9 - v2.4 and realized that the sales orders are only created in Admin Panel after successful payment. Is there a way to configure it to behave like v1 where the ...
0
votes
0answers
19 views

M2 - How to setup schema property for Home page?

I am created custom theme inherit from blank theme, How to setup schema property for home page? How to Mapping notes for organization name, url(homepage url), logo?
0
votes
3answers
2k views

Show/Hide Editor Not Responding

I have tried to look for previous solution and couldn't find any relevant topics. So I guess I should post a new question here. We are trying to toggle the WYSIWYG editor (Which is turned by default) ...
0
votes
3answers
52 views
+50

Type Error occurred when creating object Magento 2

I have created custom module and it's working fine in Dev, but it's not working on Production. It's throwing Type error. Type Error occurred when creating object: Tiny\ProductCustomization\Model\...
0
votes
1answer
19 views

Limit Cart Items to Add in Cart

I want to limit cart items to be added in cart. Limit Checkout Order or Add to Cart Limit to allow only 6 type of items. These 6 items can have variable Qty value. I have done the below code using ...
0
votes
0answers
22 views

Magento 2: How can i check if field has data while Viewing the form(Ui component) data in backend

I want to display those field who has data in View action. Below is my DataProvider: <?php namespace Vendor\Module\Model; use Vendor\Module\Model\ResourceModel\Module\CollectionFactory; use ...
2
votes
2answers
3k views

I want to override js function on shipping method section

I want to override js function on shipping method section : i checked on inspect Element below is the function is calling on click on continue button Can you please help me to find out where i can ...
3
votes
2answers
1k views

Failed to load the “Magento_GiftMessage/js/view/gift-message” component in magento 2

On cart page I am getting this error in console: Failed to load the "Magento_GiftMessage/js/view/gift-message" component When I disable the module Magento_GiftMessage is working but it effect some ...
0
votes
1answer
15 views

Magento Migration Tool: What should the database host, name, user and password be in config.xml?

I am hoping to migrate Magento 1.9.4.0 to 2.4.1 using the Magento Migration Tool. I have already installed the Migration tool and now I'm trying to configure the confix.xml file in: <Magento 2 root ...
2
votes
4answers
2k views

Disable Ajax Add to Cart on product page

In our web-shop, we use an AJAX add to cart, so the page doesn't have to reload. But when the order is bigger than the stock, the ajax keeps loading and doesn't show a message the order isn't ...
0
votes
2answers
31 views

Attributes showing values instead of their labels. Exporting in customers grid: Magento 2.3.5

I Have two custom attributes in my customer grid, named old_customer (1=>Yes,0=>No) and zone (1=>India, 2=>UK, 3=>Others ) , both attributes is_used_in_grid is true . but while I'm ...
0
votes
0answers
11 views

Magento ver. 2.2.4 default billing & shipping address not selecting while place an order

Need some help on the below scenario. #1. Created New customer in the Magento 2.2.4 CE #2. Did not provided billing & shipping addresses in the customer dashboard #3. While placing an order ...
1
vote
2answers
3k views

Magento 2: Upgrade Readiness Check Cron script readiness check failed

I have installed Magento 2 CE Version 2.1.0. I'm doing System Upgrade on my Linux Server It gives below error [UPDATE] Instead of GUI i'm using CLI. How to update Magento2 using composer I'm ...
0
votes
0answers
23 views

magento2 create collection filter in sale order

I have wirted in menu.xml <add id="Mageplaza_OrderFilter::completed" title="Order with Status 'completed' filter" translate="title" module=&...
0
votes
2answers
779 views

load customer collection by email and mobile but not general group

I want to load customer collection by email and mobile but not general group for email load $customer = Mage::getModel("customer/customer")->loadByEmail($customerEmail); for mobile $customer ...
0
votes
2answers
2k views

how to create a form popup-modal in magento2.3

here I want to create a modal pop up when the button was a click, by using block file how can I pass the modal link through this below code... public function getMainButtonsHtml() { $html = ...
0
votes
0answers
7 views

Setting Up Custom URLs For Each Option/Swatch of a Variable Product

A client wanted to setup where he sells fabric and related stuff and wanted each variation on a different URL. So example, he sells a shirt with the colors red, blue, and black. Upon landing on the ...
4
votes
1answer
1k views

Magento downloader upgrade conflict 1.9.2.0 > 1.9.2.2

I'm trying to update Magento from version 1.9.2.0 to 1.9.2.2. Unfortunately, there is a conflict error during installation/updating. For example when I try to upgrade a package I get the following ...
0
votes
3answers
1k views

data scraping for categories and products

I want to scrape a data from one of ecommerce website. Where i want to pull all categories and products details. What will be the best method to do it?
5
votes
4answers
954 views

I have installed PWA venia in frontend magento 2.3 but images are not loading

I have installed PWA venia in frontend magento 2.3 but images are not loading.
1
vote
1answer
17 views

Magento2 blank Checkout Page with JS errors

Since a few months the Checkout Page show blank except of the logo. In the Browser console there are several JS errors. There are a few threads about this error but nothing helped. I did try fixing it ...
0
votes
2answers
99 views

After upgrade to Magento 2.3 - js error in arrays.js in cart and checkout

I am updating an e-commerce with Magento, from version 2.1.18 to version 2.3.4 (I have verified that it also happens by updating to version 2.2.11). Everything went well, but when I add a product to ...
0
votes
1answer
37 views

Magento 2 : How to add country_id column in sales order grid

I want to add/filter country_id column of shipping address in sales order grid. I refer below link which is useful to display regoin_id. By doing same I am able to add country id as a column but when ...
4
votes
2answers
2k views

How to display category image in home page with custom css?

I want to display all of my category image with in home page. What should i do for this? I am using CE:1.9.2.4
0
votes
2answers
2k views

Magento 2: How to change page layout from to 1column

What's up guys, i know this is some kind of basic question, but here's the thing, i can't change page layout from catalog_product_view.xml to 1column. I've try using new custom theme, and EVERY ...
0
votes
1answer
21 views

How to add external JS script to product page in Magento 1.9?

I'm trying to add a JS Script for some specific products in the product detail page but I dont know how to. I know I can edit the xml file and add scripts there... but the source of the script ...
1
vote
2answers
153 views

How to upload new product images after Adobe Flash Player EOL?

I am wondering how can I upload new product images to my Magento 1 store? Adobe has blocked all Flash content today and I can't see upload button now. However, I am already working on my new Magento 2 ...
0
votes
1answer
7 views

Composer update failing with Root package 'magento/project-community-edition' cannot require itself in its composer.json

If I install a completely fresh version of Magento in an empty directory, say 2.3.3, using the command: composer create-project --repository-url=https://repo.magento.com/ magento/project-community-...

15 30 50 per page