Questions tagged [magento2.2.2]

It should be used for questions about Magento 2.2.2

Filter by
Sorted by
Tagged with
1 vote
0 answers
20 views

Error - SQLSTATE[42S02]: Base table or view not found: 1146 Table 'aee9c6e2_iy62GL.catalog_product_index_price' doesn't exist,

I have hosted my website in Nexuss and my website crashed due to a server issue recently. They have replaced my website with the backup and brought back the website. Magento version 2.2.2 But my ...
Mujahidh's user avatar
  • 2,793
0 votes
1 answer
80 views

Use Custom Module collection in other custom Module magento 2

I want collection of one module in other module. I am doing it like use Test\CompanyAddresses\Model\CompanyAddressFactory; class ReformatTelephoneField implements DataPatchInterface { protected $...
Rashi Goyal's user avatar
1 vote
1 answer
721 views

how to Magento 2 create_at date format set same format in api

how to in API create_at time change. because when I am set local India/Kolkata then place an order after that created_at properly show sales order admin grid and view page. but in postment api is not ...
mohit vamja's user avatar
1 vote
0 answers
85 views

Magento 2 : Coupon code couldn't be applied. Too many coupon code requests

Magento 2: coupon code couldn't be applied. Too many coupon code requests, please try again later Sales rule API : Request: http://localhost/demonew/rest/V1/salesRules/1 Body: > { "rule": { > "...
Gagan's user avatar
  • 547
0 votes
1 answer
348 views

How to add a label to simple & Bundle product price?

I need to add the Saving percentage label to the product after the price on the category listing page and product details page. I managed to do this for configurable products by adding the below code ...
Mujahidh's user avatar
  • 2,793
0 votes
3 answers
596 views

Magento 2.2 How to trigger billing address form validation programatically

I created a custom credit card payment method and I want to trigger the validation of billing address fields when "Place order" button is clicked.
Eric Libay's user avatar
0 votes
1 answer
29 views

Magento website backups

Sorry for the low level of this question; I'm a beginner, and I'm kinda unaware of the extent of my own ignorance at this point. I need to back up my Magento 2.2.2 website before upgrading to v2.4. So ...
G Y's user avatar
  • 1
0 votes
2 answers
2k views

magento 2 error - "Fatal Error: 'Uncaught Error: Cannot instantiate interface

I have a custom module to expose an API to get the best selling products & most viewed products separately. This module is working fine in my localhost and staging server. When i moved the same ...
Mujahidh's user avatar
  • 2,793
0 votes
1 answer
94 views

How to get ordered products withing a date range in magento 2 programmatically?

I want to get the products ordered within a date range for a report. As the result, I need like, product, product type, product Qty. I tried to load all orders and get the sum of products, it want ...
Mujahidh's user avatar
  • 2,793
0 votes
1 answer
347 views

How to remove ?___from_store=default from other store code url of my magento 2 website?

I have 2 stores on my Magento 2 website. one for Srilanka & the other for Australia. I am redirecting my customers based on customer's IPs to relevant sores. Whenever I am redirecting the customer ...
Mujahidh's user avatar
  • 2,793
0 votes
1 answer
579 views

Magento 2.4.2: SyntaxError: Unexpected token: name (url)

I'm following the instructions to get advanced JS bundling done. I have been doing this over a year without much difficulty. This time around, I find the error below and I would like to know if there ...
CodeForGood's user avatar
0 votes
3 answers
2k views

How to remove or edit "Grand Total to be Charged" in order email in magento 2

As I mentioned in the headline I need to alter the Grand Total to be Charged section in the order email. My store is running in LKR as Base currency and AUD as another currency. If I place an order in ...
Mujahidh's user avatar
  • 2,793
0 votes
2 answers
573 views

How many years Magento 2 certificate is valid?

How many years Magento 2 certificate is valid? How much time it will take to prepare for Magento 2 exam? If Magento upgraded to magento 3 4...then the certificate is acceptable or not?
Mahendra's user avatar
  • 716
0 votes
1 answer
1k views

Magento 2 Product Image are not showing on cart page and checkout page

Product Image are displaying fine on the category page or list page and product description page but it's not showing on cart page and checkout page. I have tried following command:- php bin/magento ...
Hemant Kumar's user avatar
0 votes
1 answer
2k views

Magento2- How to validate coupon code to cart before apply

How to validate Coupon Code to Cart before apply in Magento 2? Is it possible?
Mahendra's user avatar
  • 716
0 votes
1 answer
178 views

How to change "You can create an account after checkout" label on checkout page?

How to change "You can create an account after checkout" label on checkout page?
Md Hridoy's user avatar
0 votes
0 answers
73 views

Stopwords not working in Magento 2.3 for ElasticSearch 6.0+

I want to implement stopwords functionality in Magento 2.3 but it is not working. I am overriding the file stopwords.csv using a custom module. Someone, please suggest the solution. Thanks, Rashi
Rashi Goyal's user avatar
1 vote
1 answer
435 views

Magento2.2.2 Order email confirmation after switched back on sends old order confirmation email

Order email Communications has been switched Off for long period of time as the emails was being sent outside of magento. However I notice while testing that if switched back On Old order emails ...
Juliano Vargas's user avatar
2 votes
0 answers
67 views

Reset admin password via REST API

How can reset admin password using rest api. I want to reset admin password using rest api in Magento 2
Gagan's user avatar
  • 547
0 votes
1 answer
384 views

Magento 2.2.8 and Paypal error 500

I have some problem since several month, with Google Chrome Browser, when someone want to make a checkout, paypal return us an error 500. The error given are "POST [lang]/paypal/transparent/...
Stéphane Baribeau's user avatar
0 votes
1 answer
296 views

Show Multiple Quantity + Product Price on Product Detail Page in Magento 2.3

How we can show quantity table + product prices as given below screenshot on product Detail Page. If someone have idea, Please guide me i want to implement like this. These prices should be change ...
Wajahat Bashir's user avatar
0 votes
1 answer
570 views

Youtube Video Added in Product Gallery - Magento 2

I am getting error when i am trying to add Youtube link in product media gallery. Youtube API is already added. But still i am getting error. can you please describe me, How to i can fix this error ? ...
Wajahat - Banyo's user avatar
0 votes
1 answer
896 views

Add Upsell Product On Checkout Cart Page -Magento 2.3

How to we can add upsell products on checkout cart page as crossell products in Magento 2.3.5 ? Thanks
Wajahat - Banyo's user avatar
1 vote
1 answer
470 views

Magento 2 Not Removing Product Special Price by importing CSV

I am trying to remove the special price of my product by the import CSV. Tried Several Ways. By adding "0" in the column. Also tried to import with Empty Column. But nothing happened.
Xain Ijaz's user avatar
  • 105
1 vote
2 answers
2k views

Magento 2 Custom GET REST API ready store code from url

I have a custom REST API url: <route url="/V1/vendor/module/id/:Id" method="GET"> <service class="Vendor\Module\Api\ModuleRepositoryInterface" method="get"/> <resources&...
Juliano Vargas's user avatar
0 votes
1 answer
132 views

Magento2.2.2 SOAP API Create Partial Invoice

Partial invoice doesn't seem to be working correctly for SOAP requests when multiple item has been ordered. POST URL: http://dev.test.com/soap/all?services=salesInvoiceOrderV1 SOAP BODY: <?...
Juliano Vargas's user avatar
1 vote
1 answer
3k views

Add custom menu links only to mobile menu layout

I am using Magento 2.2.2 and I am trying to add some custom menu links to magento in the mobile menu layout. I tried adding a custom block with menu links by referring catalog.topnav block default....
Kaushik Kumar Roy's user avatar
1 vote
3 answers
1k views

How to auto remove items from cart after 1 day - Magento 2.2.4

Guest / Logged-in user: Auto removes items from the cart after 24 hours. Canceling and returning from the payment page auto-remove cart after 24 hours.
bhas kar's user avatar
1 vote
0 answers
151 views

Magento 2 add new checkout step under Shipping Step

How to add new step under shipping step not new step progress bar, the same as Shipping Method step is under Shipping Step progress bar? like the screen shoots: Magento Doc tells you how to add new ...
Juliano Vargas's user avatar
0 votes
1 answer
342 views

Magento 2 Payment Method Billing Address Country

Can one only show/allow specific countries in the billing address form in countries drop down ? See screen shot attached. I need only/available in E.G: United Kingdom
Juliano Vargas's user avatar
0 votes
1 answer
320 views

Magento 2 overwrite html file in custom module

I would like to overwrite the following file row_incl_tax.html in my custom module: vendor/magento/module-weee/view/frontend/web/template/checkout/summary/item/price/row_incl_tax.html app/code/...
Juliano Vargas's user avatar
0 votes
1 answer
65 views

Magento 2 is not showing product in categroy pages

I use Magento 2.2.2 and since yesterday I can't see any products in category pages. products are available individually but not available in any category pages I've done these solutions but still, it'...
Ali Zeinalzadeh's user avatar
0 votes
0 answers
50 views

Delete Order associated Invoice, Shipments, Creditmemos

public function execute() { $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); echo "=========================<br/>"; $request = $objectManager->get('Magento\...
Danes's user avatar
  • 81
0 votes
0 answers
596 views

Magento 2 form xml visibility fieldset conditional

I have added a new fieldset tab on the Cart Price Rule. But I would like to hide on a conditional, I've tried: ...<fieldset name="custom_rule" sortOrder="100"> <settings> ...
Juliano Vargas's user avatar
0 votes
1 answer
191 views

Magento 2 new fieldset/field in cart price rule show unwanted Currently Active Tab

This is in my custom module xml sales_rule_form.xml: <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:...
Juliano Vargas's user avatar
0 votes
1 answer
299 views

Magento 2 How to apply filters for layered navigation Using REST API

I want to apply filters for layered navigation using REST API. If I send color=5 then in category page it is displaying 2 products so how to get that data in API response?
gajjala sandeep's user avatar
0 votes
2 answers
943 views

magento 2.3.3 review not showing on product page

I migrate Magento 1.9.4 to Magento 2.3.2 everything is working fine but review not showing on the product page, even its total number of reviews on the product and the stars as well, also show in the ...
Zuby's user avatar
  • 358
0 votes
1 answer
59 views

Magento 2 notify shopper when reach $x to spend $y to get Z item for free

Is there any extension out there about a promo rule that if they reach $90 in their basket notify with a pop up or place banner etc... that if they spend $100 they'll get X item for free etc...? ...
Juliano Vargas's user avatar
0 votes
1 answer
383 views

Magento2 - In eav_attribute_option_swatch table New option value not inserting

I have 400+ visualswatch options, whenever I add new one, It will insert in eav_attribute_option_value but the Admin value which is supposed to be inserted in eav_attribute_option_swatch is not being ...
Manoj Pal's user avatar
  • 1,047
0 votes
2 answers
2k views

Integrity constraint violation 1062 duplicate entry - Magento 2.3.0

I'm facing this error in during when i run this setup:upgrade command. Can you help me regarding this issue, how to i'll fix this error ? Thanks
Wajahat Bashir's user avatar
1 vote
1 answer
577 views

Magento 2.2.2 Plugin how to add custom field in request api

I've create a plugin to listen to api POST /V1/order/:orderId/refund and I would like to receive custom field. I've added a field for testing like: name:['test'] Body E.G: { "items": [ ...
Juliano Vargas's user avatar
0 votes
1 answer
85 views

Magento 2.2.2 Custom Api

I have created a custom api and add some getters and setter, I'm looking to find out if it's possible to pass key pair values in the post without having to set the setters. When I call the api I get ...
Juliano Vargas's user avatar
0 votes
0 answers
52 views

Magento 2.3 - After adding product to cart - But Cart Page, Mini Cart and Chekout showing Empty

I'm facing this issue on my live server, when I'm adding product to cart the ajax requests from (1) to (0). I'm getting this message (Product added successfully) But mini cart, cart page, and checkout ...
Wajahat Bashir's user avatar
0 votes
0 answers
42 views

Rebuild Customer grid index not working - Getting Error

anyone can help me about this issues, i'm getting this error. I'm trying to fix it, But i could not found any solution. {"0":"Notice: Undefined index: PK_CUSTOMER_ENTITY in /vendor/magento/module-...
Wajahat Bashir's user avatar
0 votes
0 answers
115 views

Magento2.2.2 admin URL shows 404 at local server

I have setup a Magento2.2.2 store from LIVE to LOCAL. Now frontend is working but admin login URL shows 404 Not Found error. Not Found The requested URL was not found on this server. What I have ...
Shashank Kumrawat's user avatar
1 vote
0 answers
691 views

Magento 2.2.2 order refund REST API Before Plugin get item order to refund

Vendor\Module\Plugin\Order\Plugin.php: namespace Vendor\Module\Plugin\Order; class Refund { /** * Create refund for invoice * * @param int $invoiceId * @param \Magento\Sales\...
Juliano Vargas's user avatar
1 vote
1 answer
2k views

Magento 2 credit memo API observer/plugin

I'm interested to know if an observer or plugin will be trigger if a credit memo is created via API rest example: POST /V1/creditmemo/refund OR POST /V1/invoice/{invoiceId}/refund ref:https://devdocs....
Juliano Vargas's user avatar
2 votes
1 answer
3k views

Notice: Undefined index: default in vendor/magento/module-catalog/......BatchSizeCalculator.php

I got this error when try to reindex catalog_product_price php bin/magento indexer:reindex catalog_product_price Notice: Undefined index: default in /public_html/vendor/magento/module-catalog/...
Mage Explorer's user avatar
1 vote
0 answers
483 views

Default store as empty value in customer creation page

I would like to set default store value to empty value or 0 in stores dropdown list near field "Send Welcome Email From", in customer creation page. I like also to receive an error when user keeps ...
tarek fellah's user avatar
1 vote
0 answers
231 views

Cart showing minimum order amount error

My cart has a total order amount greater than $1.00 still it shows an error Minimum order amount is $1.00 As the cart has an order total of $2.62 even after applying a discount which is greater than ...
Shashank Kumrawat's user avatar

1
2 3 4 5
13