Questions tagged [magento2.3]

Denotes questions related to Magento CE 2.3.x and EE 2.3.x

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

Magento2.4.6: How to remove duplicatation of code in this scenario?

I have a module in which there are 2 custom grids and these two grids have the same crud functionality but different classes, but the inner logic is the same, how can I achieve this in a more ...
Afzal Arshad's user avatar
1 vote
0 answers
15 views

How to remove default entity_id sorting in magento 2?

I need to remove the default entity_id sorting from category product collection and add position sorting. here i try using the below method > $cp = $category->getProductCollection()->...
Jay Parmar's user avatar
0 votes
0 answers
39 views

magento2.3 mysql slow query

SET timestamp=1708087305; UPDATE `theme` SET `parent_id` = NULL, `theme_path` = 'Magento/blank', `theme_title` = 'Magento Blank', `preview_image` = 'preview_image_5d490e5c15226.jpeg', `is_featured` = '...
Magecomp Product Team's user avatar
0 votes
0 answers
19 views

Magento 2 Website getting down

We host our dev and production sites on the same server. However, the production Magento site is going down randomly but, the dev is up at the same time. It is like the website is not loading. I have ...
Amiyo Ghosh's user avatar
0 votes
1 answer
18 views

Uncaught Error: Call to a member function getEndpointUrl() on null in /home/magento/backend/app/code/Wac/InstagramFeed/Model/Api/AbstractApi.php:124

the above image The getendpointUrl getting null public function getEndpointUrl(): string { return $this->getStoreConfigValue(self::XML_PATH_INSTAGRAM_API_ENDPOINT_URL); } ...
Alan Biju's user avatar
0 votes
1 answer
33 views

Total Cart Price in Magento 2

Sorry for the beginner question and seriously needed help but currently I am using the checkout module to get the total cart price and display it in my header however the problem is that when I add ...
marco narca's user avatar
0 votes
0 answers
10 views

Get Total Cart Price

Just a beginner question, How can I get the total cart price and display in the header, so in the header I have a minicart.js that displays the cart items but can't get the total cart price and put it ...
marco narca's user avatar
0 votes
0 answers
20 views

Magento2.4.6: How to setup xdebug on docker-compose with phpstorm?

I'm trying to set up xdebug on docker-compose with phpstorm. Any idea?
Afzal Arshad's user avatar
0 votes
0 answers
16 views

Cant edit base URL in new stores for multistore

I've added new websites, stores and store views. Now I need to edit the base URLs for each store but when I try to click them to change them in the back end admin panel those fields are locked. Any ...
climbah's user avatar
  • 33
0 votes
0 answers
12 views

Associated Products Missing in STEP 4: Summary page in Explorer, but are visible in Chrome

I have used Explorer for years to load items, then load assets including images based on Color attributes. Upon reaching Step 4: Summary page, I have a view of all children, including those that ...
MMiller's user avatar
0 votes
0 answers
31 views

create a reslover and graphql query for city and area

my current resolver is my current graphql schema is Iam looking for a graphql schema and resolver that if i select a city then all the area will display can you give me graphql query also and what ...
Alan Biju's user avatar
1 vote
1 answer
40 views

Remove or replace add to cart button on a product in catalog by condition programmatically

Preconditions: Magento 2 clean installation with Luma. We shouldn't use templates. The replacement needs to create a popup form related to product data to send and save it to my grid. I'm searching ...
Duddy Woody's user avatar
0 votes
0 answers
10 views

Magento 2 algolia search bar taking some time to show when website open

We have implemented Algolia search on our website It is working fine but we want some enhancement in the search bar display taking time. As I have debugged code and found Magento 2 Algolia search ...
Vikas kalal's user avatar
  • 1,251
0 votes
0 answers
26 views

How to fetch data api external to form and grid

i have 1 modal form and 3 input cells a b c when i enter input a and do enter or tab i capture value of a and call api from outside with parameter value of a then i get data from api and i dump It ...
Abu Shino's user avatar
0 votes
0 answers
27 views

Magento 2: Product Removed from Elasticsearch After Indexing Customizable Options

I'm facing a peculiar issue with my Magento 2.3.6 application where products with customizable options are being removed from Elasticsearch after indexing. I've tried various customizable option types ...
Ashraf Hefny's user avatar
1 vote
1 answer
30 views

Magento2: I'm getting empty data from the product attribute

I am receiving empty data from the product attribute "product_types" & getting a null value when fetching the data from this attribute.
Alan Biju's user avatar
0 votes
1 answer
43 views

Magento\SwatchesGraphQl\Model\Resolver\Product\Options\DataProvider\SwatchDataProvider does not exist

Magento\SwatchesGraphQl\Model\Resolver\Product\Options\DataProvider\SwatchDataProvider does not exist the error while i using php bin/magento s:d:c
Alan Biju's user avatar
0 votes
1 answer
76 views

when creating database showing error The default website isn't defined. Set the website and try again

sudo php bin/magento setup:install --base-url=http://oxygen.local --db-host=localhost --db-name=oxygen –db-user=root --db-password=Root@123 --admin-firstname=admin --admin-lastname=web --admin-email=...
Alan Biju's user avatar
0 votes
1 answer
28 views

Magento2: We have unassigned an attribute from the attribute set but it is still showing on the frontend

I have different Attribute Set Name they are tv,laptop and watch I have unassigned Ram in attribute in watch and Tv and assigned attribute in Laptop but it showing Ram in Watch(attribute) and Tv and ...
Alan Biju's user avatar
0 votes
2 answers
57 views

I'm getting empty array without using session object. How we can get cart data without using session object

I'm getting empty array without using session object. How we can get cart data without using session object. Here is the screenshot: Here is the code: $cartItems = $this->cart->...
Alan Biju's user avatar
0 votes
0 answers
32 views

Broken reference: the 'product.reviews' element cannot be added as child to 'product_tabs', because the latter doesn't exist

Broken reference: the 'product.reviews' element cannot be added as child to 'product_tabs', because the latter doesn't exist
Alan Biju's user avatar
-1 votes
1 answer
50 views

Home Page Problem Html Code Images and Content home Page is html only

Home Page Problem Html Code Images and Content home Page is html only
Nino's user avatar
  • 37
0 votes
2 answers
36 views

Place DIV or SPAN class inside stock available

How can I place a div or span class inside stock available with custom xml. Would like custom block next to INSTOCK. <body> <referenceBlock name="product.info.stock.sku"> ...
Shaun's user avatar
  • 99
0 votes
2 answers
56 views

Place div next to or under in stock

How can I place a div between in stock and sku using xml for custom block. I can only seem to place it after sku. <body> <referenceBlock name="product.info.stock.sku"> ...
Shaun's user avatar
  • 99
1 vote
1 answer
89 views

Using if statement in phtml

Would like to put an if statement in the below code as follows. If saleable qty <=0 (equals 0 or under), add CSS. Otherwise, add different CSS <div class="left-stock"> <...
Shaun's user avatar
  • 99
0 votes
1 answer
26 views

How to Stop Catalog Search from Indexing Bundle Products by their Children

How to prevent bundle products showing up in catalog search results where the bundle product itself does not match the search query? Running Magento 2.3.7, have observed the following behavior ...
sj xviii's user avatar
0 votes
1 answer
28 views

Magento 2 Hosting

I am running 2.3.5 and in the process of moving to 2.4.6. We are currently using Webscale (formally Magemojo) for hosting and have been for several years.  I am Looking at Nexcess. I am not sure what ...
Troy B.'s user avatar
  • 13
0 votes
0 answers
66 views

magento2 on kubernetes

I am trying to deploy magento on Kubernetes, I am using php-fpm as a base image with nginx, the magento files are available locally on Docker, but when I move it to Kubernetes i do notenter code here ...
Naveen Naidu's user avatar
1 vote
0 answers
41 views

Customizing Magento 2.3.4 Search to Include Product 'Position' from Categories in Result Sorting

I'm working with a Magento 2.3 store and looking to customize the search result logic - fulltext search. Specifically, I want the search results to consider the "Position" attribute of ...
Magento Learner's user avatar
1 vote
0 answers
19 views

Magento2.4.5: How to lazy load Jquery and remove unused scripts from Theme Desgin?

I want to optimize my website and remove unused javascript/jquery and also defer or lazy load javascript/jquery for better performance any tools or techniques to achieve this?
Afzal Arshad's user avatar
1 vote
0 answers
24 views

Cart Price rule is not working if the product is available in multiple categories Magento 2.4.6

In my magento we are using Mexbs Bunlde Discount extension to create cart price rules. i created one rule like - A product from X category + B product form Y category + C product from Z category for ...
Mani's user avatar
  • 383
0 votes
0 answers
14 views

Some of order confirmation emails are not send

So I have a Magento 2.3 that's been running for a long time with no issues. There hasn't been any major change in the past days but suddenly some - not all - of the order confirmation emails are not ...
mediocre_amateur's user avatar
0 votes
4 answers
64 views

Magento2.3.5: How to optimize product export scripts?

I Have a product export script that uses product collection to create an array and write the array to CSV, I want to know if this script can be optimized. <?php error_reporting(E_ALL); ini_set('...
Afzal Arshad's user avatar
0 votes
1 answer
55 views

Override di.xml OR Exclude a code part to be added in generated\metadata\global.php

Basically I want to make magento default store credit(Magento_CustomerBalance) to be enable/disable at website level scope(by default its global level) I have overirded & made changes in certain ...
GunJan Mehta's user avatar
0 votes
2 answers
34 views

Magento2.3.5: How to remove index.php and theme id from url?

my website homepage is accessible with index.php and theme ID which is as below https://baseurl/index.php https://baseurl/porto_home_26 how do I fix this issue?
Afzal Arshad's user avatar
1 vote
1 answer
35 views

Magento2.4.3: While importing products, getting this error (The value specified in the URL Key field would generate a URL that already exists)?

I'm trying to import products and while importing I'm getting this error, i have tried this extension for URL rewrite but still getting this error, any temporary fix for this problem
Afzal Arshad's user avatar
1 vote
1 answer
22 views

Magento2.4.3: After decreasing quantity to 0 on cart page, product doesnt remove from cart?

I want to update the cart page when the quantity goes below 1, it works fine if the quantity is above 1, but it does not change the cart if the quantity is below zero as shown in the picture below, ...
Afzal Arshad's user avatar
0 votes
0 answers
24 views

Have configurable product display different information based on selected option?

I know the image for each option can be set and will change based on which is currently selected, but can something like this be done for other information on the products page? For example, ...
sitemap's user avatar
0 votes
0 answers
16 views

Magento 2 Multiple translations

Is it possible to implement multiple translations in a "Magento 2" way? I have a form on my website where I should have the same language text as a user browser language. How to achieve it? ...
Duddy Woody's user avatar
0 votes
0 answers
54 views

Uncaught TypeError: Cannot read properties of undefined (reading 'modal') error in Magento 2.4.6

we recently upgraded from magento 2.4.3 to magento 2.4.6. In my previous version below code is working properly. /** * Magedelight * Copyright (C) 2019 Magedelight <[email protected]> * * ...
Vinni's user avatar
  • 13
1 vote
0 answers
29 views

Found JS error in require.js, but not able to rectify from where it is coming. Please help

I found the error in require.js like Uncaught Error: Mismatched anonymous define() module: function(y,h){"use strict"; With the around the thousand line that i can't share it here. But i am ...
Raghwendra Ojha's user avatar
1 vote
2 answers
305 views

Class "Zend_Http_Response" not found error in magento 2.4.6

In my magento2.4.6 am facing below error - "Error: Class "Zend_Http_Response" not found in C:\xampp\htdocs\wff\app\code\Amasty\InvisibleCaptcha\Model\Captcha.php:100" - $...
Vinni's user avatar
  • 13
0 votes
1 answer
150 views

magento 2.3.4 problem add new product

i have problem with magento Version 2.3.4 my problem if i want add products i cant i get this error Although it was working normally before I deleted all the add-ons that I had installed in order to ...
Nino's user avatar
  • 37
0 votes
1 answer
72 views

Magento 2 braintree verifyCard options must include a BIN

Preconditions and environment We are using Magento version - 2.4.6-p3 after an upgrade from 2.4.5-p1 Steps to reproduce 1 - Add product to the cart 2 - Go to the checkout page page 3 - Try to place ...
sumeet bajaj's user avatar
  • 1,286
0 votes
1 answer
41 views

Magnto2.4.3: How to fix if Some pages have Duplicate content and some Pages have duplicate title?

Client provided an audit report of his website and on that report, he mentioned some pages have duplicate title and content as shown below picture, how to fix those URLS any idea?
Afzal Arshad's user avatar
0 votes
0 answers
23 views

Magento2.4.3: How to stop adding non-canonical url from in sitemap.xml?

I have 400k products in my store and when I generate a sitemap it contains non-canonical URL, is there any way I can stop adding non-canonical URLs in sitemap.xml, and still be able to generate ...
Afzal Arshad's user avatar
1 vote
1 answer
55 views

Remove all tabs of order view

I want to remove everything which is inside the red part. All area under "Order View" include "Order view" it self. After removing this part the detail of order should start from ...
Avesh Bond's user avatar
1 vote
2 answers
46 views

change product page information from tabs to one column

I am trying to change the way displaying the tabs in product page ( details, more information and reviews ). I don not want it to be tabs I want it to display directly one after one: details then ...
Ibrahim's user avatar
  • 13
0 votes
2 answers
68 views

API searchCriteria not working with "FROM and TO" for "created_at" field, fetching the wrong results

Im trying to get data for orders that created between 2 dates(2023-10-05 - 2023-10-01). Im using the search condition type FROM and TO but its not fetching the right details. This is what im trying: ...
Almog Lahav's user avatar
0 votes
0 answers
21 views

I can select specific columns to update using the `updateFromSelect` function for mass updates?

I try to massivle update a specific column from 1 table to another using the updateFromSelect function: $table = 'mytable'; /** * @var $resource \Magento\Framework\DB\Adapter\Pdo\Mysql\...
Dimitrios Desyllas's user avatar

1
2 3 4 5
95