Questions tagged [magento-2.2.5]
It should be used for questions about Magento 2.2.5
500
questions
0
votes
2
answers
93
views
Creating URL searchable product variants
In most e-commerce platforms, when a user selects a specific variant, the URL reflects that variant with a search parameter like in this case ->
you can see ?variant=39817439379514 appended to the ...
1
vote
2
answers
193
views
Magento 2 Admin Product listing grid showing product details in the wrong language
I have one store and two store views(English & Arabic). When the admin user browses to product listing grid page in the admin section then by default product name showing in the Arabic language ...
2
votes
1
answer
228
views
How I Fix error Magento 2 ‘Requested Store Is Not Found’?
I get this message "Requested store is not found" when I want to fix it.
The requested Store Is Not Found situation come up while migrating Magento 2 store to the latest version of Magento.
0
votes
1
answer
140
views
Viewport resizing on input focus on iphone · Issue (Magento version 2.2.5)
When i click the input box the viewport changes size and the layout breaks using iphone and custom theme.
0
votes
0
answers
245
views
How can I update shipping price in the checkout page using controller Magento 2
I have delivery timeslot options on the checkout page. I have added the delivery charge according to the timeslot.
I want to update the shipping amount if a customer selects a timeslot. I have used a ...
0
votes
1
answer
467
views
Proper Place to Add CSS in Magento2 and Magento only Showing CSS Changes when Clearing Browser Cache?
I am trying to modify some CSS files in my Porto theme in Magento 2.3.5pt-2. When modifying the CSS in pub/media/porto/web/css/custom.css I am not seeing any changes. I am in developer mode, I have ...
0
votes
2
answers
565
views
Add DropDown in Sales Order Grid Section in Magento 2.2.5
I have checked some of the links but they do not work my need so Please help someone who did this before
sales_order_grid.xml
<?xml version="1.0" encoding="UTF-8"?>
<...
0
votes
2
answers
691
views
Unable to save value of customer attribute in magento2
I am trying to edit customer form data in which i have added one contact number as attribute in form.
On removing the text from contact number and then saving it i am not able to save null or empty ...
0
votes
0
answers
89
views
Unable to delete product entry in catalog flat tables on deleting product from admin in Magento2
I have enable catalog flat tables configuration.
I try to delete product from admin but still it is displaying in frontend with message "Out of stock".
Also i checked database entry for ...
0
votes
1
answer
116
views
Magento 2 - Apply coupon code on order excluding usage checks
I want to apply Coupon Codes on edited orders regardless if that coupon is active/expired.
Right now my investigations lead me to the fact that setCoupon method of orders checks the validity of coupon ...
1
vote
1
answer
609
views
Checkout billing address getting blank in magento 2
I'm getting issue on checkout when I apply coupon code on checkout cart or checkout shipping page at the end of checkout payment page I'm getting issue with my billing address same as shipping ...
0
votes
2
answers
158
views
Magento 2.2.5 upgrade to 2.4
Quick question. Does anyone know if I can upgrade my Magento 2.2.5 straight into 2.4, or do I have to first upgrade to 2.3.x? I know there are some packages that 2.3.x needs that I have to install as ...
0
votes
1
answer
250
views
how can i update magento 2.2.5 to 2.4.0 without data loss and bug?
Currently my website running on Magento 2.2.5.
I want to upgrade it with current version 2.4.0.
Please anyone suggests me how can I update it without getting any
issues.
wihtout lossing customized ...
2
votes
2
answers
589
views
Success page redirection issue
$this->checkoutSession->getLastSuccessQuoteId()
$this->checkoutSession->getLastQuoteId()
$this->checkoutSession->getLastOrderId()
These things always returns false after payment ...
1
vote
2
answers
1k
views
Magento 2 - Catalog rules cronjob stuck at working with increased number of backlogs
Catalog Rule Product, it always shows as working and and 735 in backlog
Tried these but didn't work for me:
Reindexing
Changed state to "Update on Save" then revert back to scheduled
Wait ...
-1
votes
3
answers
4k
views
Magento 2 REST API to generate coupon code
I want to create coupon code in magento 2 using rest api. Any custom module available for create coupon code.
3
votes
2
answers
2k
views
upgrading from magento2.2.5 to 2.3.5 I'm facing this issue
I'm upgrading from magento2.2.5 to 2.3.5 I'm facing this issue
PHP Fatal error: Uncaught Error: Class 'Magento\Framework\Component\ComponentRegistrar' not found in app/code/<Vendor>/<...
0
votes
1
answer
542
views
Apply Magento2 security Patch
We've recently tested our website on Magento's own security scan tool and we were advised to install/patch the following:
API ACL - Failed.API ACL Patch not detected (APPSEC-1378) XS
Vulnerability - ...
2
votes
1
answer
3k
views
Magento 2: Get Product stock quantity details in Rest API [duplicate]
Need to get Product stock quantity in products details using Rest API.
Method: GET
Using API URL: http://127.0.0.1/jaipurart/rest/V1/products?searchCriteria[filter_groups][0][filters][0][field]=name&...
0
votes
1
answer
130
views
Unable to override interface in magento2
I want to declare new method in interface "Magento\ImportExport\Model\Import\ErrorProcessing\ProcessingErrorAggregatorInterface"
I tried to override interface using di.xml
<preference for="...
0
votes
0
answers
1k
views
How to add a JS script after full page loading in checkout in magento2?
Since the checkout page is loaded asynchronously, I am not able to call the js script after entire page is loaded.I tried using below code
require(['jquery'],function($){
$(document)....
0
votes
1
answer
369
views
How is params p added in product listing url on click of pagination? [closed]
I Need to know how www.example.com?p=5 added in magento2 URL ?
0
votes
1
answer
828
views
Maximum call stack size exceeded in magento2
Uncaught RangeError: Maximum call stack size exceeded.
at HTMLButtonElement.trigger (717c7c7c456e00bb8693680c02ff88c8.js:3365)
at Object.trigger (717c7c7c456e00bb8693680c02ff88c8.js:3365)
at Object....
0
votes
0
answers
293
views
Magento-2.2.5 GIF Images uploaded for product not working in frontend
I am trying to upload .gif image in backend in magento2.2.5 for downloadable product but it is not displaying properly in frontend.
product image save in below path: catalog/product\cache\960x720//...
1
vote
1
answer
1k
views
Magento 2 - How can I show subtotal on checkout page
On checkout page I want subtotal, shipping and grand total in both "Shipping" and "Payment" steps.
I have followed this https://magento.stackexchange.com/a/235329/31910 :
In view/frontend/requirejs-...
1
vote
2
answers
941
views
Is there anyway to add an uneditable field in magento 2 admin form?
IS there anyway to add an uneditable field in magento 2 admin form?
$fieldset->addField(
'giftcard_comment',
'textarea',
[
'label' => __('...
1
vote
1
answer
482
views
Update Product Qty while product is being added to cart
I want to update qty to 2 when product is added to Cart. Basically I want that when a user ads a product to cart(qty is not visible for user), it is set to qty by default. I have created an observer ...
3
votes
2
answers
168
views
Multi website frontend page is broken after upgrading to 2.3.3
I have a Magento 2 multi-website with each website has their own store view, after I upgrade it from 2.5 to 2.3.3, the main website is looking fine, but the others are broken and when I inspect, got ...
0
votes
1
answer
87
views
Unable to display a Google Sitelinks Search Box for my site
I have added below code in my homepage
<![CDATA[
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"url": "...
1
vote
1
answer
211
views
Magento 2 - Custom API to get layered navigation
In magento 2.2.5 Enterprise edition
I am trying to get layered navigation using custom API.
I got solution form here:
https://magento.stackexchange.com/a/262086/31910
my code is this: Please ignore ...
0
votes
0
answers
143
views
Customer Name Not Showing In Header section Magento 2
In my module, I did forcefully logged in to the customer without a password. And After logged in customers redirect to the Homepage only. And everything works as expected, except customer name not ...
0
votes
1
answer
621
views
How to add custom column in admin grid using block in magento2.2.5?
How to add custom column in admin grid using block in magento2.2.5. I dont know how
to implement this task. Could you please help me? please find the below screenshot.
https://prnt.sc/q267fw
0
votes
0
answers
382
views
How to create custom admin grid using bolck without using ui component in magento2.2.5?
I want to create custom admin grid using block without using ui component. I dont know how to implement this task. Could you please help me?
1
vote
1
answer
2k
views
Magento 2 - Fetch Customer Address Attribute
I need to fetch the value of customer address attribute just like we have product attribute
I am using Magento\Customer\Api\AddressRepositoryInterface and created the instance from it
$...
0
votes
1
answer
116
views
Magento 2 When I add a configuration, the product disappears from front end
I am attempting to add configurations for a product, but whenever I add a configuration, it disappears from the front end. When I remove the configuration, the product reappears.
I've also noticed ...
0
votes
1
answer
239
views
Magento2 - Wordpress5.2.4 installation issue
I am using a magento 2.2.5 site. I have installed WordPress in a sub directory of my root directory. I have integrated the WordPress 5.2.4 in magento site by using fishpig WordPress extension. All ...
1
vote
0
answers
360
views
How to move all css files in footer in mageno 2.2
In Magento 2.2.5, I have to load all CSS files in footer rather than header(as Magento do by default).
Please anybody can suggest me solution.
Thank you.
0
votes
0
answers
185
views
Export or save file on download to dropbox or google drive using Magento2 programmatically
I want add new functionality on download product by adding download file to google drive or dropbox in magento2 programmatically either using extension or api.
1
vote
1
answer
441
views
Magento2 PayPal Payflow Pro not redirected to success page
In my magento2 website the PayPal Payflow Pro not redirected to success page like after clicking on place order button the order successfully placed in admin and payment also processed but in checkout ...
0
votes
1
answer
235
views
Magento 2.2.5 Security Patch Issue
Was there any solution to this? - Magento 2.2.2 Security Patch Issue
I have the same issue with PRODSECBUG-2233 on Magento 2.2.5 - Installed via composer and using composer version of patch.
When I ...
2
votes
1
answer
812
views
Magento2 showing default meta description over catalog category meta description
I'm using magento2.2.5, setting the default meta description from design configuration then setting each catalog category meta description individually, then clearing the cache but the default meta ...
1
vote
0
answers
129
views
Magento2: Getting Random Javascript errors in console
I am getting error on live website. Everytime i encounter with new error in console.Few of them shown below:
Let me know how to solve it.
0
votes
1
answer
1k
views
Magento2 move related products block
on Magento 2.2.5 I want to move the related products via xml . I have a div with a class of "yotpo yotpo-main-widget yotpo-small" and I want the related products in side this div at the top before any ...
0
votes
1
answer
454
views
magento 2 custom cart price rule
I'm using Magento 2.2.5 and tried to implement a new cart price rule. I followed two very helpfull tutorials for that:
https://magently.com/blog/magento-2-custom-sales-rule-condition/
https://www....
2
votes
2
answers
343
views
Magento2: Import custom attribute for specific product id using csv
I am working on CSV import to add custom attribute data for Products. I have created a custom attribute as "slide_link". I am unable to add only SKU and slide_link in CSV for adding data of attribute ...
0
votes
1
answer
1k
views
Integrity constraint violation: 1062 Duplicate entry '3-2-9' for key 'PRIMARY', query was: ALTER TABLE `catalog_category_product_index_tmp`
Integrity constraint violation: 1062 Duplicate entry '3-2-9' for key 'PRIMARY', query was: ALTER TABLE catalog_category_product_index_tmp ADD CONSTRAINT PRIMARY KEY (category_id,product_id,store_id), ...
2
votes
3
answers
5k
views
Change order of "Subtotal" and "Grand Total" amounts in the checkout
I've got issue because I can't figure out to swap order total brutto with netto.
Look up and check the image. Magento2 maybe by default set Price brutto on the top but I need move price brutto to ...
2
votes
2
answers
178
views
I am overriding a controller and want to use a custom helper in the overrided controller,how can i?
I've overridden following controller:-
Magento\Customer\Controller\Account\CreatePost.php
And the constructor method of this class is:-
public function __construct(
Context $context,
...
0
votes
1
answer
312
views
Remove demo store notice from admin side in magento 2.2.5?
How to remove/disable demo store notice from admin side.
We want to remove from only admin side but we want that show in front.
Our site is in magento 2.2.5
Any one help me for solve this issue.
4
votes
4
answers
2k
views
Magento 2 frontend route only allow POST method
I'm using magento 2.2.5 and created a frontend route like this:
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:...