Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
2 views

Details Tab Missing

We are using Magento 2.2.6 and Porto theme 3.1.6. The issue is we can't see the product details tab which comes native from Magento. We have searched throughout the configuration of Magento and the ...
0
votes
0answers
7 views

Need to remove decimal from Discount Price Magento 2

I want to remove decimal digits from discount price on product details page in magento 2.Any solution.
0
votes
0answers
6 views

Reward Points should not be applied to shipping in magento2

Rewards points are being used to cover shipping amount also In MAgento2. This should not be. Shipping amount MUST be paid. Reward points should not cover the shipping costs. Please help me to fix ...
0
votes
0answers
7 views

E-mail copy with changed subject line

How can I send a copy of each mail to the retailer and include the order number or customer number in the subject? Is there an event that covers all mails?
0
votes
1answer
18 views

Magento 2 Error

can anyone tell me what am I doing wrong with this code <?php namespace Feedback\Addon\Controller\Index; use Magento\Framework\App\Action\Context; use Feedback\Addon\Model\InsertFactory; class ...
0
votes
1answer
8 views

Magento 2 Cart Summary loading after code execution

When I visit the checkout page, the checkout summary loads after my custom.js file. This means when i'm trying to pull values from the summary to perform some logic on these values always return null. ...
0
votes
0answers
15 views

how to work local from life

I need to work on deployed version of a storefront, but because server has some issues, I need to work locally till solving the issue. what are tips should I consider so that storefront work as it is ...
0
votes
0answers
9 views

ACL Resources Access Customization and Admin form customization

I am new to magento so can somebody please help me out? I have created a new user (belonging to custom role group = vendor) who can login to admin panel and add their own products, for that i have ...
0
votes
0answers
18 views

Running schema recurring…Plugin class Vendorname\Modulename\Plugin\Pluginame doesn't exist

On submitting module to marketplace the Installation & Varnish Test Results failed stating Running schema recurring...Plugin class Vendorname\Modulename\Plugin\Pluginame doesn't exist but on my ...
0
votes
1answer
15 views

How to show Popup form at the time of shipping page?

I want popup form at the time of shipping page. How can I do it? Can you please suggest me anything for this?
0
votes
0answers
13 views

Magento 2 Custom Payment Method Not Visible on Checkout Page

Magento 2 Payment Method not showing in checkout page app/code/payhere/payhere/registration.php \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\...
1
vote
1answer
9 views

Change email button color not working for magento 2 email template

i tried to change the button for account confirmation email template in my custom theme like this: app/design/frontend/Test/mine/web/css/source/_email-extend.less .button{ a{ background-...
1
vote
0answers
10 views

Size option not showing on product view page for configurable product in Magento2

Color Options showing but size option not showing also all setting in admin is correct When i click on add to cart button it's show size required field but not size options are there I checked ...
0
votes
0answers
10 views

Change My Account side bar <li> links to a dropdown

I have to change the sidebar links to my own dropdown, How would I achieve that, I have to remove the sidebar from mobile view and add dropdown of those same data of sidebar. How to achieve that, ...
0
votes
1answer
19 views

How can i add shipping at our own store location in magento 2

I'm very new to the Magento 2. Can anyone help me to overcome my problem? I need another new option is "pickup at our stores". So there will be no shipping charges for the customers. For this, ...
0
votes
4answers
22 views

Magento 2: remove menu links from customer account

I want to remove these links Downloadable products, My wishlist, Stored payment method, Billing agreement form customer My Account page. Do you have any idea?
0
votes
2answers
25 views

Magento 2 breadcrumbs issue on product view page?

I have been facing one issue with breadcrumbs in Magento 2.2.3 CE i.e As per our observation, when the user browses the product from the category page, for some products breadcrumb full path is ...
0
votes
1answer
20 views

Magento 2: Frontend workflow on windows too slow

I am using XAMPP with php set up with memory_limit 2GB and max_input_vars set to 10000. Is there anything else I can do to speed up performance of Magento 2 on windows?
0
votes
1answer
17 views

How to add new page in Magento2?

Do I have to create a new own page? can not understand the theme structure on which file or module I have which files. Can Explain me in details?
0
votes
0answers
17 views

Magento2 set order status after payment gateway response

I'm implementing a payment gateway and I successfully created the payment method. But now, I need to get the new order status and pass it to admin order grid. For that I wrote a controller that ...
0
votes
0answers
18 views

Error with Magento\Eav\Model\Entity\Attribute how to fix?

I have this error, 1 exception(s): Exception #0 (Exception): Item (Magento\Eav\Model\Entity\Attribute) with the same ID "87" already exists. it seems to me that there must be a duplicate row ? But ...
0
votes
0answers
8 views

How can i disable/hide bundle product with something like an expir date

I want to disable/hide a bundle when period of time is expired, for example, i need to set a creation date and an expiration date, when the actual date is > expiration date, the bundle will be ...
0
votes
1answer
11 views

Custom layout extending 2columns-left.xml problem

I'm trying to create a custom layout based on 2columns-left.xml. The layout was created correctly and I can select it from the Admin. This is what I did so far: I created the layouts.xml file THEME/...
1
vote
0answers
23 views

Set Route FrontName dynamically in Controller

Is there anyway to override the default front-name inside routes.xml and change it dynamically in the controller like setFrontName(%frontname%)?
0
votes
0answers
6 views

Custom import entity, add custom dropdown in Import Behavior

I have created a custom import. Model is already created and linked. In adminhtml I want to add a dropdown in the 'Import behaviors' only for my custom import. My dropdown will contain all my stores. ...
1
vote
0answers
15 views

Image uploader not working

The upload image function recently broke on my backend after compiling. I'm running 2.2.7, but it has been an issue for over a year now. I've just haven't compiled until recently I was forced to. Any ...
1
vote
0answers
11 views

How to achieve single domain > multiple stores > different products and prices per store

I need to build out multiple Magento 'stores' on a single website, with each 'store' representing a unique partner who offers a different combination of products from our global catalog. For example,...
0
votes
1answer
14 views

Fetch all the students on the basis of ascending marks

This query fetches all the student name and there ids on basis of topics but i want to get these result on basis of ascending marks ... i.e select student_name and ids where student_topic = topic but ...
0
votes
1answer
21 views

Magento 2.3.0 - Create Product Page H1 title with product name and attribute name

I have created two phtml files that can be called from within a CMS Block on a product page to echo the product name and an attribute name. As follows: Product Name {{block class="Vendor\...
0
votes
0answers
7 views

How to specify image path relative to module in Knockout HTML view?

I'm making a magento 2, usign 2.2.6, module trying to display certain information at the checkout and I'm stuck when trying to add an image relative to the module path. I'm NOT using PHTML in this ...
0
votes
1answer
16 views

Magento2 custom module installed but not working

have created a module and it works fine on staging and locally but not on live. The module is installed correctly and enabled. The live config.php and the staging config.php are the same. I used the ...
0
votes
0answers
7 views

Megamenu using same category URL for all categories on front-end

I'm using the Magedelight Megamenu for Magento 2.2.7 I have a range of product categories listed under the "Default Category", about 8 or 9. The Megamenu is using the URL of the first category in the ...
0
votes
1answer
13 views

whats is wrong when i tried to insert a custom attribute programatically?

I have the following code : <?php namespace Vendor\Extension\Setup; use Magento\Eav\Setup\EavSetup; use Magento\Eav\Setup\EavSetupFactory; use Magento\Framework\Setup\InstallDataInterface; use ...
0
votes
0answers
10 views

Magento 2 - Accessories shop

Does someone know an extension to display all the accessories for a certain product like a webshop... I have an example here: https://www.bhphotovideo.com/c/product/1322801-REG/...
1
vote
1answer
14 views

magento 2 how to call a method from a block within a phtml

I have a block within a phtml file: the block is not associated with a controller. echo $this->getLayout() ->createBlock("Top\CmsAndTemplatePages\Block\Cmspages") ->setTemplate("...
0
votes
2answers
10 views

How can I prevent the page timeout?

Our time out is currently set to 50 seconds. After this time Magento automatically returns a 504 Response Code. Under normal circumstances this is fine. However, I have developed a page that allows ...
0
votes
0answers
3 views

Why No Body Talk About Checkout Customization Of Magento 2? My Last Post On This Platform [migrated]

Why No Body Talk About Checkout Customization Of Magento 2? I Do So Much Search On Internet But I Can't Find Any Proper Solution For Customize Checkout Fieds. So I Decide I Ask Question On This ...
0
votes
0answers
8 views

Issue with User Role Resources Tree

I have to get helped in some parts of my website with a friend who is a developer, so he asked me the access to the backend. Being that I don't want to give the full access, I have created a new user ...
0
votes
0answers
7 views

Send custom Email to Customer after submitting Form in Magento 2

I want to send a custom email to the customer just after submitting a Feedback Form. For Submitting the form I created a Controller Action here is my action file use Magento\Framework\App\Action\...
0
votes
1answer
16 views

Magento2 Module does not use catalog_category_view.xml

I am trying to update the catalog_category_view.xml with this content: <?xml version="1.0" encoding="utf-8" ?> <page xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/...
0
votes
1answer
11 views

Magento 2 Product Form Categories Sort Alphabetically From the Backend

I want to sort Categories alphabetically of the product form, how can I? For more clarification please look onto the below picture. As I checked, by default Magento 2 sort according to the category ...
0
votes
0answers
8 views

Magento 2 How can we assign customers to admin users?

I want the functionality to assign particular customers, order, products to the particular admin user, It means each admin can see the customer, product, order, etc, Which is assigned to him. Let ...
0
votes
3answers
23 views

Add module Enable/disable functionality in Magento 2

I want to add Enable/disable functionality in my custom module by which the module can be enabled or disable directly form admin-panel for just selecting. I want to add something like this in my ...
0
votes
0answers
5 views

How to update checkout page's layout according to specific condition?

I wanto to add my custom block to checkout, if the conditions in cart are satisfied. Which steps should I follow?
0
votes
0answers
3 views

Programatically change all product names to the short description

I would like to modify the way Magento loads the product names and change it to load the short_description instead. We use the API to synchronize between an ERP and the Magento itself, so once the ...
0
votes
0answers
9 views

Magento 2 How to clear cache for home page

I dont want cache to be done for home page alone but for other cms_page_view. How can I do it.
0
votes
1answer
12 views

Create custom payment gateway in Magento 2?

Which class we need to extends,implement interface and method use when create a custom payment gateway.
0
votes
0answers
4 views

Reload swatches not showing in frontend

My swatch attributes are not showing after i reload my div. <div class="quotation-body"> <ul data-index="<?php echo $step; ?>" class="option option-list"> <?...
0
votes
0answers
10 views

Magento 2: Is there a way to return custom json response from REST API without building a data interface?

I have a few custom REST API interfaces on my module & they all need to return a standard json response (different on each). After a little research, I realized that I can't do something like @...
0
votes
0answers
6 views

JS Error breaks Minicart in developer mode only Invalid template file

I'm working on a project and I'm getting the below browser console error only in developer mode when I add an item to the cart Invalid template file: 'cart/item/price/sidebar.phtml' in module: '...