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
0answers
19 views

Attribute code error: null value - how to find which attribute code?

We ran into this exact error: Certain Magento Pages returning HTTP Error 500 after a payment was done with PayPal Express Checkout (PayPal redirects to our website after the transaction is completed, ...
0
votes
1answer
34 views

How to create simple product using direct SQL queries?

I know direct SQL query is not good practice, but I need to insert product using direct SQL query.Also they do not want to use REST API for that.Anyone has SQL queries to create a simple product with ...
0
votes
1answer
22 views

Errors validating salesrule programatically on 2.3.2

After upgrading to Magento 2.3.2 (from 2.2.8) I am having a problem with a piece of custom code. I am running this as part of a block for displaying valid cart rules for a product. public function ...
0
votes
0answers
18 views

Magento 2 : Best way to debug why translation was not applied

I have created my translation file using below guide https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/translations/theme_dictionary.html But it seems my CSV is overridden by other CSV ...
1
vote
2answers
46 views

Magento 2.3 GRAPHQL

How to run Api request in Magento's newly introduced feature Graphql. I have gone through some of the documents. In my local environemnt, So far I have installed ChromeiQL extension from chrome ...
1
vote
1answer
38 views

Magento 2.3 How to automate custom cron job from custom module?

I am working on Cron from custom module to send email from custom cron job, I created it as below but the cron job is nor working on the server. <?php namespace Name\Module\Cron; use Magento\...
0
votes
1answer
37 views

Magento 2 forgot password doesn't check email exist exist or not

Magento 2 forgot password doesn't check email exist or not. It gives the message If there is an account associated with xxxx@xxxx.com you will receive an email with a link to reset your password....
0
votes
0answers
19 views

Magento2 - Custom module Secondary CMS Block not showing up on front-end

I have created a module to add a secondary CMS block to category pages, and everything is working fine in the back-end and I select whichever CMS I want. However, nothing appears on the front-end of ...
0
votes
0answers
12 views

Creating shipping label(FedEx, USPS) without order and shipment in Magento 2

I am creating a custom module for Magento 2.3. Where I am not using Magento products, order. I have a custom product(not Magento product) with a fixed weight, customer, address. Using this ...
0
votes
1answer
25 views

Magento 2.3: Error Creating Order Programmatically

I'm trying to create an order programmatically using the following code in a cron script: $order = [ 'currency_id' => 'USD', 'email' => 'test@test.com', '...
0
votes
0answers
16 views

Hideit input on other forms

I stumbled across hideit input on contact us form https://magento.stackexchange.com/a/107656/70343 Makes sense to catch bots filling out the form. Just wondering whether it's worth adding to other ...
0
votes
1answer
37 views

Magento 2.3.1 Search Bar Error - Unknown column 'search_result.score'

Relatively new to Magento. Helped a friend migrate a site from M1 to M2. Using Porto Theme. Search Bar seems to work (does auto querying as you type and makes suggestions) until you hit 'Enter' at ...
0
votes
0answers
17 views

Email not being translated/viewed correctly. What is causing the issue and how can I fix it?

I am currently having the following issue: All automated Magento emails were working normally. But today I have made a test order and suddenly the emails are not being translated anymore. The ...
0
votes
1answer
14 views

Magento 2.3 don't show products if price is 0

Is there a way to hide products that have the price at 0? I tried with this Plugin but it shows the same all the products even those at price 0. <?php namespace Vendor\Namespace\Plugin; use ...
2
votes
1answer
56 views

How to make drop-down dependent on another drop-down value in admin ui component Magento 2

I want to update one drop-down option on the change of another drop-down using UI Component in Magento admin section. Like: have one drop-down with color option ex: Red, Pink, Black, etc. and another ...
0
votes
2answers
43 views

Magento2: redirection problem from observer or Logging Out from two application at same time from observer

I am trying to logout from two applications I have a logout observer, where I am trying to logout from external application and also from Magento. Here Problem is when I am logged out from the ...
0
votes
1answer
14 views

What is the magento way to hide an html element in a phtml until the page is loaded in Magento 2?

I'm trying to hide the customer register form until the page is loaded, I know I can use jQuery or plain javascript, but I'd like to do it using Magento2 own resources, the markup I'm using right now: ...
0
votes
2answers
18 views

Changes not reflecting on mobile devices

Any changes which i do on my site are reflecting on desktop but not on mobile devices. why so. The code changes are not at all reflecting on mobile devices
0
votes
0answers
27 views

magento 2.3 issue after adding trailing slash in htaccess

I have added below code to add trailing slash at the end of cms pages in htaccess of our magento 2.3.2 website. RewriteCond %{REQUEST_URI} !^/robots.txt/* RewriteCond %{REQUEST_URI} !\.(php|...
0
votes
1answer
30 views

Migrate Static Blocks and multi stores from One Magento to Another

What is the best way to migrate Magento Content i.e Blocks, Pages, and All content from one Magento instance to another. I have 2 Magento setups. One of which has all data and another is fresh Magento....
2
votes
2answers
46 views

How to change eav_attribute table's note column's datatype varchar to mediumtext using declarative schema?

I have follow this documnet https://devdocs.magento.com/guides/v2.3/extension-dev-guide/declarative-schema/db-schema.html but not get success module.xml <?xml version="1.0"?> &...
1
vote
1answer
44 views

Magento 2.3 cache menu on homepage

I met this case sometimes on Homepage. The menu was cached when I return Homepage from another category page. Does anybody here have idea and solution for that? Thanks
1
vote
1answer
83 views

Magento 2.3 wrong image cache generation

I have upgraded my Magento EE store from 2.2.7 to 2.3.2. An issue occurred of images not showing on product pages. I debugged a bit and ran the command "catalog:image:resize" and images appeared. ...
0
votes
1answer
17 views

Magento 2 - Category XML update to use custom list.phtml file

Using this code in the category XML update works to use my customlist.phtml file instead of the default list.phtml file. But the problem is the category title and description are repositioned to the ...
1
vote
1answer
38 views

Textbox Below Size Attribute in product page

i want to add textbox names like notes under size in products page. Could you please any one tell me how to do. i have tried to via attribute but it doesn't help me.
0
votes
1answer
38 views

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento.temp' doesn't exist, query was: SHOW CREATE TABLE temp

Magento 2.3.* files upgraded using composer. After that used to upgrade module setup using following commands but facing error. bin/magento setup:upgrade Error: Cache cleared successfully File ...
0
votes
1answer
39 views

How to replace final_price.phtml with custom.phtml file only on product view?

Using Magento ver. 2.3.0. I want to display my custom final price block only on catalog product views. I try to replace final_price.phtml with my custom_price.html that I have created in \app\design\...
0
votes
2answers
52 views

Magento2-Send email notification to main admin when price changed by admin

I want to send eamil notification to main admin, for modification avail in price by any admin. Please help, Thank You in advance.
2
votes
3answers
66 views

How to write a Conditional Selection SQL QUERY in Magento2?

$collection->getSelect()->where($getMainTableAlias.'.entity_id IN (SELECT catText.entity_id FROM '.$catalogCategoryEntityTextTable.' as catText where catText.attribute_id="'.$attributeId.'" AND ...
0
votes
1answer
43 views

Eway Payment Gateway Not work in Magento 2.3

I have integrated eWay Payment gateway in Magento 2.3 It's install successfully. I did settings in admin as well. But I cannot see that eway payment option in front end check out page. I tried to ...
0
votes
1answer
26 views

One storeview error to many redirect

We have a multistore in multilanguage and as test we set one to connect the media and static url through static.domain.com to a CDN but that is not working. But now the template for that storeview ...
0
votes
0answers
13 views

Sync/Export orders to google spreadsheet

Can anyone help with a solution through script or extension to automatically export/sync data to google spreadsheets such that whenever an order is placed, it instantly adds the data to the sheets on ...
0
votes
1answer
26 views

Unable to render Configuration page of Mageplaza SMTP extension. Page is rendering as blank page

I have installed Mageplaza SMTP extension in my Magento site (v 2.3.1). The problem I am facing is that I am unable to see its configuration page when I try to access it from Stores >> ...
0
votes
0answers
24 views

Magento 2 Create Shipping Method with Delivery Options

I created a new shipping method for home delivery and I want to be able to present options such as a building/unit/room number. My thought was when the user selected this method the options would ...
2
votes
0answers
22 views

CCAvenue payment navigation back to Magento 2.3 on react native issue

I'm building Magento v2.3 project in react-native. Also, it has multiple stores. For payment gateway I'm using CCavenue using webview. Navigation to CCavenue is done perfectly, but while returning ...
0
votes
1answer
29 views

How to show distance from user location to destination?

We have a pickup address and google API key. We want to show the approximate location from the user to the destination (pickup address). How can I do that? Looking for help!
0
votes
1answer
43 views

I want to enable captcha on guest checkout in Magento 2.3.1. I am using one step checkout

I want to enable captcha on guest checkout in Magento 2.3.1. I am using the one-step checkout. I know that it is a simple question and you can follow this nice article to do that: https://www....
0
votes
0answers
21 views

M2 - Get attribute group name

With the code below I can load all the attributes from a specific group, in this case attribute group with id: 37 <?php $av_attribute_group = $_product->getAttributes(37); foreach ($...
0
votes
1answer
17 views

How to get products with the available dates?

I have created product attributes "Available from" and "Available to" with the input types date. I want to get products from the available dates while searching. How can I achieve that result? ...
0
votes
1answer
33 views

Magento 2.3 product attribute and ui component

First, I created the UI component: Vendor/Module/view/adminhtml/ui_component/product_form.xml <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:...
0
votes
0answers
15 views

run:test error in Magento 2.3 (win 7)

When I run this command line vendor/bin/mftf run:test AdminCreateCustomerTest -f is show me this error And when I run the Allure report, all the test I ran is broken How to fix it?
0
votes
0answers
19 views

Magento 2.3 - Does default search suggestion doesn't suggest product names?

Can anyone tell me what does the default magento 2.3 search suggestion suggests? Am using default elastic search engine for search. Can I able to suggest product names?
4
votes
2answers
374 views

Magento-2:Class Magento\Framework\App\Http\Interceptor does not exist

Exception.log file Error: {"exception":"[object] (ReflectionException(code: -1): Class Magento\Framework\App\Http\Interceptor does not exist
0
votes
1answer
29 views

Magento 2 cdn issue for modal popup - KeyCdn

We uses KeyCdn to use cdn feature for magento 2. We use push zone for one of our website for testing. KeyCdn working fine except modal popup CORS issue. We are facing below error. Access to ...
0
votes
0answers
27 views

How to create an event-observer that will help print a log when admin modifies some customer details?

I want to design an event and an observer that will print a separate log containing the details of the fields that was modified by the admin in admin panel (under all Customers -> edit). How can I ...
2
votes
2answers
50 views

How to edit or update the ordered item data in magento 2

I want to edit some data's of ordered items like weight, price and some more. For that, I got the ordered item collection for the specific order. $objectManager = \Magento\Framework\App\...
0
votes
1answer
42 views

Magento 2 increase product views count

In Magento 2.3 how to programmatically increase product views count?. I need it to increase the product views count when the product is viewed on an mobile app.
2
votes
1answer
30 views

Function getUrl of magento 2 doesn't work correct

In template I try to get url link but it doesn't work correct. I try to use this code: $block->getUrl('aloha/product/view/id/') But it always return http://abcs.com/aloha/product/view/, Is this a ...
0
votes
1answer
38 views

Product page not loading <head> after Magento 2.3.2 update

I have recently updated from Magento 2.3.0 to Magento 2.3.2 and everything seems to be ok, apart from the product page (and example is here: https://staging.propmasters.net/james-bond-octopussyrupee-...
0
votes
0answers
18 views

Magento 2 - Setting up $1 Shipping Promotion Code

We are switching to Magento 2.3 and cannot seem to find a way to set up a promotion we run often - "$1 Shipping for orders over $X." Previously, we would set this code up as a Shopping Cart Price Rule ...