Questions tagged [magento-2-commerce]

General questions about the Magento 2 Commerce all version

49 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
300 views

Display specified variations of a configurable product in category display page, all linking to configurable PDP

This is less of a coding question and more of community knowledge. We would like to include product filters on our site, specifically for size and width. However, at the moment, for products with ...
callamh's user avatar
  • 21
1 vote
0 answers
62 views

Auto Logout Issue in Magento 2.4.4 when Accessing Review Report – Suspected Source in Controller and Block Files

I'm currently working with Magento Commerce 2.4.4p4, and I've encountered an issue when accessing "Marketing > All Reviews." Upon reaching the review page, it appears that the session is ...
Mohd Farhan Bin Ramli's user avatar
1 vote
0 answers
67 views

Magento 2 : Price Layer Navigation Automatic equalize product count not working

When configure with Backend Stores > Configuration > Catalog > Catalog > Layered Navigation configured for the Automatic (equalize product count). That wasn't working with vanilla Magento....
Bhaumik Rana's user avatar
1 vote
0 answers
177 views

Magento2 PLP / SLP - Custom Sort Option doesn't work with ElasticSearch

I am facing one issue in my Magento 2.4.0 Commerce project. Please let me know if anyone has faced this before and you have any solution. It is coming when I try to add a non-product attribute or ...
Nits's user avatar
  • 2,486
1 vote
0 answers
229 views

Magento 2 - How to get newsletter subscribers email id in transactional email templates without @domain.com

I am using the following script to add in my email template, Hi {{var subscriber.getSubscriberEmail()}} Eg: Hi [email protected] I want to name only, how to remove @domain.com I need: Hi abc123
zus's user avatar
  • 155
1 vote
2 answers
3k views

How to design a mobile responsive design using Page builder Magento 2.4.2

Good Morning We are trying to design my home page fully using page builder, but the page builder is not working in responsive we had tried the page builder options to adopt in responsive but we can ...
Sabareesh's user avatar
  • 358
1 vote
2 answers
862 views

Magento2 - How To Setup Magento Commerce Cloud In Local Development?

I am new In Magento cloud and I have to start the development. how to set up in local and how to deploy new code. I have all details for cloud I am unable to set up in my local. I clone the git repo ...
Bharat's user avatar
  • 384
1 vote
0 answers
70 views

any live examples of ecommerce for fast food restaurants developed in Magento

Are there any live examples of the websites in the fast food industry which are developed in Magento ? I am looking forward to search the websites but i didn't find any website in fast food industry ...
Zeeshan Khuwaja's user avatar
1 vote
0 answers
26 views

Products in cart reports magnto2 backend

When i go to reports -> products in cart i am getting price 0 and product name blank.
Ansar Husain's user avatar
  • 3,409
1 vote
0 answers
25 views

Are magento commerce modules worth it?

I was just evaluating whether it's worth shifting to Magento commerce solely to use their pre-built modules. I don't want to look at their site documentation because they have an obvious bias, so I'm ...
Brandon's user avatar
  • 13
1 vote
0 answers
2k views

catalog_product_price reindex stuck

Using Magento 2.3.1 EE, 50k products and 14 store views. The catalog_product_price reindex gets stuck with this query listed in SHOW FULL PROCESSLIST DELETE `price_index` FROM `...
acampos's user avatar
  • 96
1 vote
1 answer
600 views

Any examples on how to use requisition_lists API Endpoint?

ORIGINAL POST Trying to use the save requisition list REST API endpoint. The API docs are not very clear on what the values should be and currently don't have access to the B2B module code to see ...
Henry Nitz's user avatar
0 votes
0 answers
14 views

SQL for getting promos applied to an order

I require an SQL query to retrieve information about the promotions applied to an order from the sales order table. The field "applied_rule_ids" is utilized to obtain all rule IDs. However, ...
Shiffin Thomas's user avatar
0 votes
0 answers
27 views

Unusual Behavior in Magento 2.4.4 Commerce: Editable Address Gets Added as New Data After Successful Checkout

I am investigating a bug that is occurring in a Magento 2.4.4 Commerce project. The bug occurs when the following steps are performed: Editing an address on my profile page. Checking out by selecting ...
Mohd Farhan Bin Ramli's user avatar
0 votes
1 answer
18 views

How to get multiple Wishlist name (enterprise feature) by a customer_id

I'm trying to get the multiple wishlist by customer_id, but not work protected $wishlistCollectionFactory; --constructor \Magento\Wishlist\Model\ResourceModel\Wishlist\CollectionFactory $...
hkguile's user avatar
  • 2,221
0 votes
1 answer
46 views

I want to build Magento extension for enterprise edition. For this how can I setup development environment for enterprise?

I want to build a Magento extension for the enterprise edition. For this how can I set up a development environment for the enterprise? and how can I get an enterprise edition license? Do we need to ...
Ajay Chandani's user avatar
0 votes
1 answer
106 views

Magento continue shopping link to last added product’s category page

I've seen a few similar questions here when i searched but they all pertain to magento 1. This seems identical do what i want to do.. Redirect "Continue Shopping" Button to the Current ...
Head's user avatar
  • 157
0 votes
0 answers
31 views

Magento Commerce Customer registration page field input appear incorrectly

we are currently in the process of setup magento2.3.5p2 commerce, previously we are using the magento2.3.5p2 open source version After finish setup and installation of magento2.3.5p2 commerce at local,...
Mohd Farhan Bin Ramli's user avatar
0 votes
1 answer
206 views

Configuration missing in magento2.3.5p2 admin panel

I recently downgraded magento commerce from 2.4 to 2.3.5p2 due to having some known issue, but after the change my Stores > Settings > Configuration appear only below config it should not ...
Mohd Farhan Bin Ramli's user avatar
0 votes
1 answer
215 views

Magento 2.4.4 customer grid not working

I've seen this error before and I believe i've fixed it in the past but i can't seem to resolve it atm. So the Argument 1 passed must be of the type array, null given, called in vendor/magento/...
Head's user avatar
  • 157
0 votes
1 answer
686 views

Cloud installation detected error message while running bin/magento-docker ece-deploy

I'm having a hard time setting up my local Magento cloud environment. I'm following this guide: https://devdocs.magento.com/cloud/docker/docker-development.html The exact steps I'm taking are: ...
javag87's user avatar
  • 13
0 votes
1 answer
194 views

Magento 2.4.2 On click on Gift Card Removal link, page is redirecting to 404 page

Add product to cart Apply for a Gift card in the Gift Card section on shopping cart page Then remove the Gift card from Shopping cart summary section Please let us know if anyone faced this issue ...
Nits's user avatar
  • 2,486
0 votes
1 answer
189 views

Integrate Magento Store Into My app

I have an app that is a social commerce platform and we have products that are being reviewed. We want to tap into a retailer who has a Magento store and we want a customer to place that order through ...
Brett's user avatar
  • 1
0 votes
0 answers
97 views

How to mange customer custom address attribute based on website in order detail page customer address edit?

FOR: Magento 2.3.3 enterprise edition. How can I use the Customer custom attribute in adminhtml customer address? Scenario: we have two websites having different customer custom address attributes e.g ...
lalit mohan's user avatar
  • 1,065
0 votes
0 answers
360 views

Magento 2 - How to solve report.INFO: Broken reference error

How to solve the following error, [2021-06-17 03:28:43] report.INFO: Broken reference: the 'catalog.compare.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn'...
zus's user avatar
  • 155
0 votes
1 answer
385 views

Block is rendered, but toHtml() function is not called

Using Magento Commerce 2.3.5-p2. I'm changing the template of the layered navigation from a custom module like this: <referenceBlock name="catalog.navigation.renderer" ...
simonthesorcerer's user avatar
0 votes
2 answers
735 views

magento 2 - custom module - Error filtering template: Notice: Trying to access array offset on value of type null

I am getting Error filtering template: Notice: Trying to access array offset on value of type null in C:\xampp\htdocs\m3\app\code\Zero\Storelocator\view\frontend\templates\google_reviews.phtml on line ...
zus's user avatar
  • 155
0 votes
1 answer
206 views

How to print array of values

My array, array ( 'store_hours' => array ( 'entity_id' => '7', 'attribute_id' => '2', 'store_id' => '4', 'value' => 'Mon-Fri: 10am - 8 pm', 'frontend_label' =&...
zus's user avatar
  • 155
0 votes
1 answer
244 views

How to override module-wishlist\CustomerData\Wishlist.php by using custom module?

I have added custom code in m3\vendor\magento\module-wishlist\CustomerData\Wishlist.php, and called inside the app\design\frontend\zero\my_theme\Magento_Wishlist\templates\sidebar.phtml, for testing i ...
zus's user avatar
  • 155
0 votes
2 answers
2k views

Uncaught TypeError: $.widget is not a function

My code : define([ 'Magento_Customer/js/model/authentication-popup', 'Magento_Ui/js/modal/alert', 'Magento_Ui/js/modal/confirm', 'underscore', 'jquery/ui', 'jquery-ui-modules/...
zus's user avatar
  • 155
0 votes
0 answers
490 views

Magento 2 custom module Class does not exist

I am using the custom module for minicart qty increment and decrement, Module: https://github.com/kirtinariya1/MinicartAjaxQtyIncrementDecrement After the installed module visible, but value not ...
zus's user avatar
  • 155
0 votes
1 answer
299 views

How to implement homepage minicart qty increment and decrement option?

I want to implement the qty increment and decrement option in the mini cart on the homepage.
zus's user avatar
  • 155
0 votes
1 answer
138 views

Magento Installation on xampp windows 10

I was installing Magento on my pc on xampp. First I had a lot of errors worked through it but now am getting the message below would please advise. Thank you in advance PHP Parse error: syntax error, ...
freddyb's user avatar
0 votes
1 answer
329 views

How to merge two collections in Model

I want to merge my two collections, public function getRelatedPosts() { if (!$this->hasData('related_posts')) { /** collection 1 */ $collection = $this->...
zus's user avatar
  • 155
0 votes
1 answer
147 views

How to get custom module on cms page

I have created cms page name : contact us identifier: contact-us, my layout: <referenceBlock name="contactForm" template="Vendor_Block::form.phtml"> <block class="...
zus's user avatar
  • 155
0 votes
1 answer
418 views

PHP Fatal error: Cannot declare class Tigren\Core\API\License\LicenseAPI, because the name is already in use

I am getting an error when i try to run setup:upgrade command third-party module, PHP Fatal error: Cannot declare class Tigren\Core\API\License\LicenseAPI, because the name is already in use in app\...
zus's user avatar
  • 155
0 votes
2 answers
1k views

Magento 2.4: Custom Block not return values to custom phtml file

I want to get my wishlist product list on my custom phtml file, My block: \app\code\vendor\module\Block\WishlistProducts.php <?php namespace Vendor\Module\Block; use Magento\Framework\...
zus's user avatar
  • 155
0 votes
1 answer
201 views

How to get magento wishlist product list block on my custom phtml file?

I want to get my wishlist product list block actually available in wishlist landing page, How to get this wishlist block in my custom phtml file?
zus's user avatar
  • 155
0 votes
2 answers
1k views

How to include custom block to phtml file

I have created a block for getting wishlist items, after that i need this list to my custom phtml file, my block : app\code\vendor\path\Block\WishlistProducts.php <?php namespace Vendor\Path\Block; ...
zus's user avatar
  • 155
0 votes
2 answers
418 views

How to get list of Wishlist product on popup in homepage?

I have added a wishlist icon on my header, I need to show my list of wishlist product if customer click the wishlist icon as a popup. Any reference thanks.
zus's user avatar
  • 155
0 votes
0 answers
140 views

Home page error - How to solve Element 'block', attribute 'destination': The attribute 'destination' is not allowed

My homepage getting the following error, 1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'block', attribute 'destination': The attribute 'destination' is not ...
zus's user avatar
  • 155
0 votes
2 answers
199 views

How to find from which file $block->getContent() called?

I am using Magefan blog extension, app\code\Magefan\Blog\view\frontend\templates\post\view.phtml <div class="post-text-hld"> <?= /*@noEscape*/ $block->...
zus's user avatar
  • 155
0 votes
1 answer
99 views

Magento 2.4 Commerce cloud - After push the code from dev to live server less not compiled to css file

I have created a custom theme, for the listing page i have created custom less file, app\design\frontend\Zero\my_theme\Magento_Catalog\web\css\source\ _custom_listing_page.less On the Website listing ...
zus's user avatar
  • 155
0 votes
1 answer
33 views

How Magento Commerce Support Flash Sale

I am using community edition, recently know commerce edition has the feature like Flash Sale, what are all the options available any docs related to this please welcome.
zus's user avatar
  • 155
0 votes
0 answers
281 views

Magento 2.3 : EE - Segments for visitor only return empty

In Magento 2.3 EE, we have few segments which is applicable for both visitors and registered customers also but it is not returning segment id for guest user i.e., visitors NOTE : It was working ...
Prathap Gunasekaran's user avatar
0 votes
0 answers
124 views

Category not showing on frontend

I have created categories and products but not showing on frontend. Please note that I am working on Commerce cloud environment, so before marking this question as duplicate, or anything else ...
Tester's user avatar
  • 367
0 votes
1 answer
1k views

M2 - How to change Wishlist icon color after product added to Wishlist

My code: app\design\frontend\Zero\my_theme\Magento_Wishlist\templates\catalog\product\view\addto\wishlist.phtml <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for ...
zus's user avatar
  • 155
-1 votes
2 answers
2k views

Magento 2: get customers associated with a company

I need to get the customers associated with a company. I have the company ID. Is it possible to get the customers of a company?
Pankaj Sharma's user avatar
-1 votes
2 answers
77 views

How to custom module contact form details in contact us email templates?

I am created a new contact form using the custom module, how do i integrate with my custom module form details into email templates.
zus's user avatar
  • 155