Questions tagged [magento2]

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.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

Magento 2.4.1 If shopping cart is not empty place a Go To Shopping Cart button next to Add To Cart on Product Detail page

When the shopping cart is NOT empty, I want a button next to the Add To Cart button on the product detail page and have it go to the Shopping Cart File using to override is: /app/design/frontend/THEME/...
0
votes
0answers
8 views

Magento 2 Entreprise - Cancel Contract before its term

I would like to know if anyone has experienced the cancelation of Magento (2) entreprise before its term length. For example we have a contract with a 5 years lenght. About 6 months later we recognize ...
0
votes
1answer
18 views

Adding Category attribute but they are missing

I have created 2 category attributes. They are appearing in my eav_attribute table. But I can't see them in the category admin form. I'm under magento 2.4. Attribute creation $eavSetup->...
1
vote
0answers
20 views

Magento2.4: Getting error while importing the product custom option

We have created the product custom options by uploading the csv file but its showing the error and the uploaded custom option is not showing in the frontend. Getting the below error: Integrity ...
0
votes
1answer
18 views

Magento 2 - How to add customer name in CMS page/block?

I need to add the name of the customer into a CMS Site or Block. I tried to insert {{var customer.name}} as seen in the documentation, but it does not work.
0
votes
0answers
9 views

Show customer prefix in sales email

I want to show the customer prefix in the sales email. I changed {{trans "Hello,"}} {{trans "%customer_name," customer_name=$order_data.customer_name}} to {{trans "Hello,&...
0
votes
1answer
13 views

Magento 2 - How to find out where certain blocks are defined?

I try to remove some blocks on the 404 site: but I have no idea where they are defined. I searched in the layout file vendor\magento\module-catalog-search\view\frontend\layout\...
0
votes
1answer
15 views

Magento 2 Set Grid/List view on an individual category basis

I am looking for a way to individually set the default view for each category to grid/list as opposed to the sitewide option. I have found this solution: https://magento.stackexchange.com/a/251172/...
0
votes
1answer
10 views

'TABLE 607 WHERE `Non_unique` = 1' - Setup Upgrade Error

When i run this command (setup:upgrade) in Magento 2. Then i am getting this error. Please tell me how to i can fix this issue. which table is 607 ? Syntax error or access violation: 1064 You have an ...
0
votes
1answer
9 views

Magento 2 get country Id when on change in estimate shipping on cart page

Due to some custom requirement on cart page, I need country id when someone change it using jquery. I have tried with below jquery script but its not working. <script> require(['jquery', '...
0
votes
1answer
37 views

how to get custom attributes in rest search api?

In order rest api http://127.0.0.1/mag/index.php/rest/V1/orders/1 it shows custom attributes "payment_additional_info": [ { "key": "method_title", ...
0
votes
0answers
26 views

Magento 2.4 - Express Checkout - Shipping Address Error

A fresh install Magento 2.4.x + theme, but having some issue related to express checkout, as seen from below picture on red-box area. The form has missing some elements, like firstname, lastname etc. ...
0
votes
0answers
9 views

Magento 2 extension for Mailchimp

Can you clearly tell if in 2021 the Magento 2 EBIZMARTS extension for Mailchimp is working well: Mailchimp Customer Journey Mailchimp Transactional email Mailchimp Mandrill Thank you
0
votes
1answer
13 views

Magento 2 how to create custom index.php and pass store code programmatically?

I have a multi-vendor e-commerce platform, everytime I create a new store I need to create a folder for the store and include an index.php for example: var/www/html/magento/stores/store2/index.php ...
0
votes
3answers
19 views

Add a css class to the element in template

How can I add a CSS class to the element in the template? for example, I want to add a CSS class to this element <div class="page-wrapper example">
0
votes
1answer
28 views

Category image full width with title centred

I'm trying to redesign a category page to display the category image full width with a max height and have the category title displayed in the same box centred on the image. I've managed to move the ...
0
votes
0answers
4 views

Magento2 RabbitMQ Topic % is not configured error

I used rabbitmq message queueing system in my module. It works perfectly at my local environment. But as I deploy it to live-host (which runs at platform.sh) i get error topic % is not defined. I ...
0
votes
0answers
13 views

How to use Magento Luma theme for a specific block in the product detail page - product info detailed

I am using the Magento 2 Claue Theme for my Magento 2.3 store, I would like to know if I can use the Magento Luma theme for a specific block which is "product info detailed" in the product ...
0
votes
0answers
10 views

Wrong Navigation Menu Shown to Customer After Programmatically Assigning B2B Company and Customer Group [Private Catalogs]

I created a custom module that automatically assigns a customer to a company and customer group during front-end registration using a new field that allows the customer to enter a company code as a ...
0
votes
0answers
9 views

Magento 2 Theme widgets for child theme not showing

Good Afternoon, I have my base theme "default" for my site and it contains 45 widgets and these work as expected. I need to make a change in terms of display and styles for one of my stores ...
-1
votes
1answer
15 views

Magento2: issue with template

I have clear Magento and Claue template. Left panel with menu no working. https://under-wear.pl/ Can anyone have any idea?
0
votes
0answers
17 views

How to check/list if some Magento extension is installed in some website [closed]

Is there a way to check in some Magento website if it uses some extension, in other words, is there a possibility to list all the modules installed in some public website developed on Magento which I ...
0
votes
1answer
8 views

add class in Magic Slider

I want to add a class to theme, how can i fined the file path ? or is there another way to add class ? here is the class class="slide-home alo-magicslider" i want to add continer to this ...
0
votes
0answers
15 views

Script injection below body tag in Magento 2.4.1

I upgraded our Magento from 1.9 to 2.4.1 after we found malware that was trying to copy customer credit cards before allowing the customer to use PayPal. I used Magento's migration tools to copy data ...
0
votes
1answer
17 views

Increase product image size in Amasty's One Step Checkout Magento 2

Amasty put their product image size at 75px in the 'Your Order 'Order Summary area, and mine is displaying at half that due to some css I can't locate. Please put an item into the cart on their demo ...
0
votes
0answers
7 views

Column ordering not available in declarative schema?

Assigning column position in declarative schema doesn't seem possible. Is there a way to do it?
1
vote
0answers
16 views

Composer Install throws error downloading Magento Package in Magento 2.4.1

Trying to run composer install in a Magento 2.4.1 project is netting the following error: The "https://repo.magento.com/archives/magento/module-page-builder/magento-module-page-builder-2.1.0.0....
1
vote
0answers
7 views

Filter on custom attributes - elasticsearch - not working on simple products

I have a project where I have a lot of configurable products and I need to make some filters there. I've manage to make the filters and everything related but the issue is that when I apply filters I ...
0
votes
1answer
19 views

How to add a custom dropdown menu in Magento2

I'm following these steps but it's not working. Could you help me? What I need is a dropdown of my account when the person starts the session when I place this code my session icon disappears, try to ...
0
votes
3answers
20 views

product not visible on frontend

I have two identical configurable products ( name and photoes are little bit different). from admin everything is the same but one configurable product is visible other is not. Skus are not identical ...
0
votes
0answers
7 views

Magento 2.3.5 Ceckout with PayPal-Plus empty cart

we have the problem that if you pay with PayPal Plus and are directed back to the shop, you end up in the empty shopping cart. We only use the Magento FPC. As soon as we deactivate the FullPageCache ...
0
votes
1answer
18 views

Magento 2.3. - Customize product image on frontend

I would like to create custom fonts, pre-defined images uploaded in admin, and then on the frontend user can choose to customize the main product (for example product is a mug) and can choose to add ...
0
votes
0answers
11 views

How to create extra PDF credit memo?

I need to create a custom module to add an extra PDF to credit memo. The idea is to have and extra button near "Print" button, called "Print custom PDF" in the credit memo admin ...
0
votes
0answers
9 views

Bundle Product Coupon Code Discount not working with subselection of items

Cart price rule in Magento 2.3.5-p1 not working with subselection condition. I have attached screenshots for reference. It says coupon is not valid when applied with only bundle product in cart. ...
0
votes
0answers
8 views

How to add custom block after store select page in admin order create flow and get it working

I am trying to add a custom block to appear after store select page, which is having a dropdown selection (same like store select page) in admin order create flow. This needs customer id to populate ...
-1
votes
2answers
30 views

Disable submit button on click - Register account page (Magento 2.3.6)

When a customer clicks on the register button more than once they get an error "An account already exists" To resolve this, i want to disable the submit button after one click. I tried the ...
0
votes
1answer
18 views

Creating Bundle Product with REST API issue

This is my request to rest/V1/products: { "product":{ "sku":"test4", "name":"test json", "attribute_set_id":4, &...
0
votes
1answer
24 views

Migrate from Magento 2.3 to Magento 2.4

I have a brand new Magento instance (2.4) and an old instance (2.3) with product/order/cms/theme data. I would like to migrate the data from Magento 2.3 to 2.4, is there any way to do this? I have ...
0
votes
0answers
15 views

Magento 2.2.4. How to place authorize.net seal in middle blocks of pages?

We have been trying to place the authorize.net seal in particular section of page. But after adding the script generated from authorize.net , by default seal logo goes to the bottom of the page. Any ...
0
votes
1answer
34 views

Hide or Change specific banner for signed in users

We have a banner on our homepage that is saying "BECOME A MEMBER TODAY". We want to hide this banner or have it changed to a different banner when customers are signed in. We are using ...
0
votes
1answer
14 views

Generate the block with two ifconfig condition in layout xml

I prepared a code which masks the phone field. Since on some of our customer's website the customer does not enter input for phone field on register page, i need to put second condition to render this ...
0
votes
0answers
6 views

How does catalog_category_product ( Category Products ) reindexer works according to mysql in Magento 2

I want to know about catalog_category_product ( Category Products ) indexer in Magento 2 like how it will work according to mysql. Like in which table's it will enter the data then further which table ...
1
vote
1answer
26 views

Table in MySQL to show product data in Magento 2 after reindexing process

I want to know about those MYSQL tables which is used to fetch data for Front-end Products in Magento 2 after re-indexing process. Like which table will be used after re-indexing process to show ...
0
votes
0answers
6 views

Magento 2.4 and PWA How We can deploy with two different URL as admin panel and front-end

I try to many ways to setup Magneto 2 Backend side and frontend side with different domains. But not a success. I using LEMP stack and PWA as React frontend.. If someone setup with two different ...
0
votes
2answers
27 views

In Magento 2, how to disable a menu for particular admin user

In Magento 2, how to disable a menu for particular admin user
0
votes
1answer
16 views

Newb question - Mageplaza SMTP installed but still regular php mail being used. Where to change default? - Magento 2

Hi all I installed the MagePlaza SMTP plugin, but the emails are still going through php mail and NOT my new SMTP settings through the plugin? Where do I change those settings? Is there a php file I ...
0
votes
2answers
36 views

How to add a template in a custom page layout in Magento 2

i have created a custom page layout, which i have used for my homepage. But when i m trying to add a template in it my template is not showing . Given below is my layout code <?xml version="1....
0
votes
1answer
11 views

magento 2 how to fill general information of store programmatically?

I wan't to fill information of a store , this information: Store Name Store Phone Number Country Region/State Postal Code City Street Address I know how to get this information like below: public ...
0
votes
0answers
5 views

Custom Options price ordering when default is set to show ex. VAT

I have set the default price configuration to be entered without VAT and show the price both incl. and ex. VAT. However it does not seem to apply to custom options. In custom options dropdown, it ...
0
votes
0answers
17 views

Error 503 Backend fetch failed in varnish cache magento

I am configuring Varnish cache in for my magento site I have followed the step from following url https://www.howtoforge.com/tutorial/how-to-install-varnish-with-nginx-on-centos-7/ But when i enter my ...