2022 Developer Survey is open! Take survey.

Questions tagged [magento-2-commerce]

General questions about the Magento 2 Commerce all version

Filter by
Sorted by
Tagged with
1 vote
2 answers
25 views

Can EE Extensions be used for CE?

I've seen a lot of discussion about whether or not CE extensions can be used for EE, but there isn't much in terms of clarification for the reverse scenario. We're currently on EE and starting a ...
user avatar
  • 23
0 votes
0 answers
8 views

Convert company user to individual

I'm still pretty new to Magento overall... bear with me. In our Magento Cloud (aka Adobe Commerce) we have multiple individual users, and then also a number of companies with company users. If I have ...
user avatar
  • 111
1 vote
0 answers
22 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....
user avatar
0 votes
0 answers
37 views

When i run catalog:images:resize it taked to much of disk space Magento 2.4.3

We had imported the product to our M2 store after that some product images are shown in the frontend so we checked for a solution and ran the catalog:images:resize command some images are shown in the ...
user avatar
  • 300
-1 votes
2 answers
25 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?
user avatar
0 votes
1 answer
188 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: ...
user avatar
0 votes
0 answers
15 views

magento 2 bulk update "backorders" inventory attributes from 1 to 0

Are there any solutions using CSV (i found default import export not include updating backorders), or API can do that? I know update attributes in product grid can do that but i want the solutions can ...
user avatar
  • 2,048
0 votes
1 answer
30 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 ...
user avatar
  • 2,336
0 votes
0 answers
12 views

Magento 2.4.2 Commerce Cloud - Approval Rules not working with multi shipping

Approval Rules do not work with multi-shipping checkout. It's working fine with default checkout. Any idea?
user avatar
0 votes
1 answer
23 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 ...
user avatar
  • 1
0 votes
0 answers
20 views

Getting 503 error on PLP and PDP pages. Magento 2.4.2 EE

We are facing a wired issue on Magento 2.4.2 production store. Many URLs are throwing 503 services unavailable. We have performed the below things to fix this issue but we couldn't. We have checked ...
user avatar
  • 2,336
0 votes
0 answers
44 views

How we create new Commerce Provider in next js e-commerce

How we create a new Commerce Provider in the next js e-commerce for magento 2. How I connect that provider into e-commerce
user avatar
0 votes
0 answers
15 views

How I create a custom provider in commerce for magento and How I connect it?

I am new to next js and bigcommerce , I am trying to create a custom provider for Magento and try to connect it. can you please tell, how I achieve this?
user avatar
0 votes
3 answers
53 views

How to find how many time function call happened?

I am using cookies to avoid every time function call happens, how to check after created cookies how many times function call happened?
user avatar
  • 103
0 votes
0 answers
92 views

How to setup local development and database connection for Magento Commerce Cloud?

Here are the steps I already done, but still couldn't figure out to to setup local development environment from Commerce Cloud. git pull the dev branch from magento commerce cloud export database ...
user avatar
0 votes
0 answers
32 views

How to send mail for the giftcard recipient email address in magento 2.4.2 commerce

We are trying to send mail to the gift card recipient's email address. Until I checked In-Default the Magento is not sending the mail. Can anyone tell me how to send mail to the recipient's email ...
user avatar
  • 300
0 votes
0 answers
27 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 ...
user avatar
  • 1,033
0 votes
0 answers
95 views

redirect to pdp from product tile in cart magento 2

Redirect to PDP I want to redirect to product detail page, whenever I click on the product CTA or tile in the cart.
user avatar
  • 1
1 vote
0 answers
45 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 ...
user avatar
  • 2,336
0 votes
0 answers
29 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 abc123@gmail.com I want to name only, how to remove @domain.com I need: Hi abc123
user avatar
  • 103
1 vote
2 answers
376 views

How to get all scheduled changes for a product in Magento commerce?

I have added 2 schedules to a product in Magento as shown below. Below code gives list of all schedules present in our database but there is no sku/product_id relation here. <?php namespace ...
user avatar
  • 6,687
2 votes
2 answers
523 views

How to delete/unschedule scheduled updates for product programatically in Magento 2 commerce edition?

I have added a scheduled update for a product as shown below Now I want to delete this schedule programatically. How to achieve that? I see the product staging class Magento\CatalogStaging\Api\...
user avatar
  • 6,687
1 vote
1 answer
165 views

Magento 2 - How to trigger Customer Segment Data Refresh?

After migration from Magento1 Enterprise to Magento2 Commerce I need to programmatically refresh the customer segments
user avatar
  • 1,183
1 vote
2 answers
767 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 ...
user avatar
  • 300
0 votes
0 answers
147 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'...
user avatar
  • 103
0 votes
0 answers
25 views

How to find what is the controller responsible?

I am using the Amasty store locator module, in the backend, i am filled with all values and click the save button, how to find which controller is responsible for saving all the values. After clicking ...
user avatar
  • 103
0 votes
1 answer
42 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" ...
user avatar
0 votes
2 answers
191 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 ...
user avatar
  • 103
0 votes
2 answers
50 views

Magento 2 AB testing category page

I'm looking to create variants of the same category page to perform AB testing? For example, If I have a category page called /bags, we need to create one more version of the same category page called ...
user avatar
  • 9,489
2 votes
2 answers
737 views

Magento 2 - Page Builder Media Gallery not loading - "You entered an invalid Secret Key. Please refresh the page."

If I add a media node to the page builder and try to select an image from the gallery, then nothing happens. Normally the gallery should load. I get this in the network console https://company.de/...
user avatar
  • 2,402
0 votes
1 answer
44 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' =&...
user avatar
  • 103
0 votes
2 answers
208 views

Custom product attribute storefront property 'Used for Sorting in Product Listing' is disabled

Stores > Attributes > Product > My Custom Attribute > Storefront Properties tab I'm not able to change the Storefront Properties 'Used for Sorting in Product Listing', since it is ...
user avatar
0 votes
2 answers
488 views

Magento 2.4 - How to enable ajax for add-to-cart button and wishlist button of product widgets on homepage?

I have added products on the homepage using the widget, how to enable ajax for add-to-cart button and wishlist button of product widgets.
user avatar
  • 103
0 votes
1 answer
123 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 ...
user avatar
  • 103
0 votes
2 answers
644 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/...
user avatar
  • 103
0 votes
0 answers
277 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 ...
user avatar
  • 103
0 votes
1 answer
93 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.
user avatar
  • 103
0 votes
1 answer
109 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, ...
user avatar
0 votes
1 answer
116 views

How to override third party module \view\frontend\templates\ from my custom theme using prefrence?

I am using a third-party module, I am added one extra feature to it, after upgrade the extension all my changes removed right, how to handle this situation, i mean how to override third-party module ...
user avatar
  • 103
0 votes
1 answer
72 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->...
user avatar
  • 103
-1 votes
2 answers
53 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.
user avatar
  • 103
0 votes
1 answer
52 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="...
user avatar
  • 103
0 votes
1 answer
282 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\...
user avatar
  • 103
1 vote
1 answer
147 views

How to add ajax to custom theme add-to-cart and Wishlist button?

I created my website using a custom theme, how to implement ajax to my add-to-cart and wishlist button? I tried the following step, it not working, vendor\magento\module-catalog\view\frontend\...
user avatar
  • 103
0 votes
2 answers
477 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\...
user avatar
  • 103
0 votes
1 answer
60 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?
user avatar
  • 103
0 votes
3 answers
168 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; ...
user avatar
  • 103
0 votes
2 answers
176 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.
user avatar
  • 103
0 votes
0 answers
58 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 ...
user avatar
  • 103
0 votes
1 answer
296 views

Magento 2 Commerce : Add to cart not working for gift card product

I am trying to add giftcard product to cart but its not working it shows "Please specify a delivery date." error on frontend. Magento ver. 2.4.1 Commerce
user avatar
  • 367