Questions tagged [magento2.3]
Denotes questions related to Magento CE 2.3.x and EE 2.3.x
4,612
questions
0
votes
2
answers
75
views
Magento 2 - No shipping rates when creating order programmatically leads to "The shipping method is missing"
I am developing a module which programmatically submits an order.
In the store configuration I have enabled both free shipping and table rates shipping methods.
When I get the shipping methods for the ...
0
votes
0
answers
42
views
404 on API request to admin token
I'm making a request to integration/admin/token using the below code :
$response = $this->_client->request('POST', 'integration/admin/token', [
'json' => [
...
0
votes
0
answers
17
views
Magento 2 cart rules discount on 2 products in a specific product list
my site has 100 products, and I choose 5 products A,B,C,D,E
I want to set up a cart rule with the following conditions
customer buy randomly 2 of 5 products above can get discount
ex:
buy 1 A, 1 B -&...
0
votes
2
answers
178
views
How to disable automatic invoice generation in magento 2.4.0?
I am using custom Online Payment method (N-Genius Online) there Invoice is generating automatically. I want to stop Auto invoice generation in magento 2.4.0.
Kindly help me on this.
Kind regards,
0
votes
0
answers
10
views
Random products from specific category on Magento 2.3 via Block-Code
i try to display random products from a specific category in Magento 2.3. I want to display it on the home page and put in this code under Content -> Pages
With this code i can display random ...
0
votes
0
answers
32
views
Redirect user after social login
When the user is not logged in and want to go to checkout page this popup show up and if the user log in typing the email and password they are redirected to the checkout wich is /onepage route, but ...
0
votes
3
answers
104
views
Add Custom Tab in Short description Magento 2(PDP)
I want to add a custom tab in a short description on PDP. Does anyone have any idea on how to maintain it?
I want it something to look like this -
Thanks,
Rashi
0
votes
0
answers
18
views
How to align header contents in Magento2?
I Am completely a newbie in magneto, here is my current header I created my own using default.xml and blocks in magento2 , I created this by extending luma theme :
I want to change this header ...
0
votes
1
answer
19
views
pages won't be loaded in magento 2.3
After reaching the home page I got this page missing css script , is this related to permissions or what
any help please ?
0
votes
1
answer
51
views
Change magento2 installation
I have taken over a magento 2.3.3-p1 project. Unfortunately, the installation was done by cloning the repo from github and not using composer. So all magento core modules are under app/code/magento. ...
0
votes
2
answers
43
views
How to override media.phtml file magento 2
I want to resize the image on PLP but doing so is adding white space. For the same I got one solution to override the media.phtml file & then set keepFrame to false.
I am not able to locate the ...
0
votes
0
answers
35
views
Create custom form in magento 2.3
i would like to have a custom form which is open as a pop up on click of button. The details entered in this form should be save in database and visible in admin panel. How can i do this? Is there any ...
0
votes
0
answers
26
views
How can I modify an existing PDF template? (Zend_Pdf)
I am new in Magento,
Right now I am trying to make some modification in the PDF generated in one of my order details page.
I found the app\code\Mypro\RsaDoa\Controller\RSA\PickupLabel.php controller ...
0
votes
0
answers
42
views
Magento 2 how to add VAT id in selected shipping adddress
I'm trying to show the vat id field in Magento 2 selected shipping address section. The Field is added in the form and also added in the quote_address table.
I have checked the below file
/var/www/...
0
votes
0
answers
12
views
Issue in Mobile-View Category--after Overriding Block \Magento\Theme\Block\Html\Topmenu _getHtml() Function
*For adding Images in Top Menu Category,I have Override the _getHtml() Function from Block\Magento\Theme\Block\Html\Topmenu.
*It's Working fine,But the issue is,On Mobile View for every ...
0
votes
0
answers
152
views
How to transfer data to another table using declarative schema?
I need to update the installation part of one extension from old to declarative schema.
Old system looks like:
Setup version - 1.0
Adds table vendor_entity
entity_id
name
desciption
status
Setup ...
1
vote
2
answers
503
views
Magento 2: SQL Query to get product SKU's based on the Category Id
I need a sql query to get the all sku based on the category id
Following are the tables which stores category and product data:
catalog_product_entity
catalog_category_product
Thanks
0
votes
0
answers
12
views
Get Category, Brand and Product Attribute From Cart Subscribe Javascript When User Add or Remove Product From Cart
I am using magento 2.3.5-p2
I am required to get details of product attribute during user add/remove product in cart
the details include :-
Product name
Product Sku
Product Price
Product Brand ( ...
0
votes
1
answer
36
views
Magento 2.3 - If two specific products on cart show free shipping for both and if one of these two products is on cart show shipping price
I'm using the cart pricing rule in magento 2, I have created the attribute "is free shipping?"= yes for only 5 Gallons variation.
Free shipping is only applied if 5 gallons variation is on ...
0
votes
0
answers
31
views
I have got an issue on admin frequently "You cannot proceed with such operation, your reCaptcha reputation is too low
On my magento admin backend I have frequently got an error. The version I am working on is 2.3 Even after entering correct I captcha I am not able to login into admin panel.
Please Help!
0
votes
1
answer
33
views
Get Page Type Of Referer Url In Magento 2
I am using Magento 2.3.5-p2
I am trying to get the page type for previous link
I am able to get the previous link using
\Magento\Framework\App\Response\RedirectInterface $redirect,
public function ...
1
vote
2
answers
104
views
I want To show Tax on Checkout page but not apply on shipping Amount
I want To show Tax on the Checkout page but not apply to the shipping Amount. please find the below calculation.
This is a Formula:
Subtotal: 100
Tax=100*20/100=20
Shipping =50
Order Total =:100+20+50
...
0
votes
2
answers
52
views
Magento 2.3 Show all data from table not working
Block code(path: \magento\app\code\Sample\HelloWorld\Block\Index.php)
<?php
namespace Sample\HelloWorld\Block;
use \Magento\Framework\View\Element\Template;
use Sample\HelloWorld\Model\...
0
votes
2
answers
43
views
How to add borders on Shopping cart page column header names
I'm trying to add borders on the Shopping cart page column header name. Anyone advises me
0
votes
1
answer
78
views
Magento 2 Js file not updating
I have edited the Js file in my module and tried deleting the file in an appropriate location like pub/static/My_Theme/My_Modul/js/test.js
But still getting the same file when I checked in the source ...
0
votes
0
answers
56
views
Custom UI component grid (Frontend) columns and export component not showing
I have created a custom grid and trying to add an export button on it in FE.
Here is my listing code
<bookmark name="bookmarks">
<argument name="data" xsi:type=...
0
votes
0
answers
20
views
Can not add manuelly products to configurable product "there was an error"
we are having a problem with out Magento2 installation. Everything worked fine until recently when we tried to add a new variant to a configurable product.
The error happens when navigating to the &...
0
votes
2
answers
23
views
Add a new sort by option
I want to create a new sort by option, wich is best sellers... how can i do it ?
I've found this in the admin but i can't create a new option here...
0
votes
0
answers
16
views
Magento 2.3.5-p1 custom shipment creation/save does not dispatch afterSave or afterExecute events
I am using DPD Netherlands extension for shipment, which adds custom action in orders grid "DPD - Create Shipment(s)", which allows to ship multiple orders from grid. The extension works ...
0
votes
2
answers
146
views
Display Custom attribute value on PDP Magento 2
I want to display custom product attribute value on PDP Page just below the product name. How that can be achieved, please guide.
Rashi
0
votes
0
answers
28
views
Magento 2 add product id to configurable product dropdown option values
I have overridden this below file
vendor/magento/module-configurable-product/view/frontend/templates/product/view/type/options/configurable.phtml
I'm trying to add an appropriate simple product id to ...
1
vote
1
answer
44
views
Disable Qty Increment for Admins create orders in Magento 2
Current product increment for each product is set to 24, I want to allow admin to create a order from backend without any increment,any qty should be added, but right now it gives error "The ...
0
votes
0
answers
11
views
How to change checkout URL
What is the proper way and right place in Magento 2 to change checkout url in php code programatically? I have /checkout and /newcheckout modules, and in admin panel if I add Url Rewrite - Request: ...
0
votes
4
answers
54
views
update extension without composer
I Installed extension manually without composer.
Now I need to update extension version.
How can I update extension version ?
Do I need to delete extension files and replace it with new version ? or ...
0
votes
2
answers
86
views
Magento 2.3 is not working in Safari. It works in other browsers
1)issue catalogue pages pictures do not load or load very slowly in safari sometimes it goes to a page saying
safari could not open the page because the server stopped responding
2) catalogue to go to ...
0
votes
0
answers
24
views
create an account form not showing in magento 2
when we click on create an account link then shows empty page means form is not showing,please see the screenshot.
0
votes
2
answers
45
views
Updated CSS in pub/static doesn't reflect in browser!
Recently I got an odd issue regarding the CSS changing.
Here is the problem:
I change the CSS in the theme folder, delete the file in the pub/static. I do static content deploy via SSH and cache flush ...
0
votes
0
answers
34
views
mini cart product price chnage magento 2
Product details page product price $10.123123 and mini cart page product price rounding $10.123100 so i am facing rounding issue in mini cart item price please check screen short.
Thanks in advance.
...
0
votes
0
answers
24
views
Magento 2.3.7 filter without results in prod system
On Product-Listing the available Filters got listed for the configured Product Attributes, also the availabe amount of products for this attribute is shown within braces on the listing.
When apply a ...
0
votes
0
answers
10
views
Keywords Meta Tags
I understand that Google is no longer recognizing and being used. I also read where if you still used them on your site it could hurt your rankings. I stopped adding the keywords in the meta tag ...
0
votes
1
answer
20
views
Error with file to bring magento site to local
I am working on a magento site that I brought to local. I have already created my virtualhost, but when I run my code I get the following error.
Warning: require(C:\xampp7.3\htdocs\euro\vendor\...
0
votes
1
answer
233
views
MySQL query for list all the categories and its description from Magento 2 database?
How to get all the categories and its description from Magento 2 Database using MySQL Query ?
0
votes
0
answers
10
views
I have to get the value '77203' of the attribute code 'country flag' in magento2 .The code I have written is given below Can anyone help
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$entityAttribute = $objectManager->get('Magento\Eav\Model\ResourceModel\Entity\Attribute');
$val= $entityAttribute->...
0
votes
1
answer
10
views
How can I get the value '77203' using the attribute code 'country_flag' using php
getAttribute('country_flag'); ?>
getData('value'); ?>
getViewFileUrl('images/flags/usa.jpeg'); ?>" />
getViewFileUrl('images/flags/vu.png'); ?>" />
getViewFileUrl('images/flags/AU....
0
votes
1
answer
18
views
How to use Library installed using composer in your custom module?
I have installed the Authorize.net library in Magento using composer. Now, this library is available in the vendor directory but I don't have any idea how to use it in my custom module.
The directory ...
0
votes
0
answers
8
views
Update attribute value by Magento curl in observer
Hii. I want to update attribute value by magento curl in observer of product save after event in Magento 2.3
But now with my code, i am getting an decoding error message, while print the response in ...
0
votes
1
answer
95
views
How can I make an order as paid after order status complete
I'm facing a problem with the payment gateway after the order is paid by the gateway most of the time the order status will be complete and no invoice is created and not registered as paid.
Is it ...
0
votes
1
answer
16
views
HTTPS not working on first load (private tab or new computer)
I have noticed that when I open our website (voltbike.com) in a private window or on a computer which hasn't visited it yet, often the website doesn't load with HTTPS.
It is only once I refresh the ...
0
votes
0
answers
17
views
magento 2.3 check widget parameter in controller
I've created a custom widget with a parameter to select an existing category and the widget displays the products in this category. This widget works as expected.
Now I want to add a new check on ...
0
votes
0
answers
22
views
Login form, customer registration form and add to cart is not working in magento 2.3.4
I have installed fresh Magento 2.3.4 and Login form, create new customer form and add to cart is not working. Any idea how to fix this issue?