All Questions

Filter by
Sorted by
Tagged with
0
votes
2answers
46 views

How to clean or flush cache programmatically in Magento 2.3?

I have tried DI and Object Manager way to clean or flush cache but its not working for me using DI public function __construct( Context $context, \Magento\Framework\App\Cache\...
0
votes
3answers
35 views

getting null in customer email Magento 2 Custmer session

Edit.php (block) class Edit extends \Magento\Framework\View\Element\Template { protected $request; protected $customerSession; public function __construct( \Magento\...
0
votes
4answers
55 views

How to check configurable product have size option?

If the configurable product has size, I want to add a size guide for it. But how can I check that product have the size or not?
0
votes
2answers
42 views

Round Special Price displayed in Catalogue pages (Product Listing Pages) - Magento 2.3.2

Magento 2.3.2 - I have set discount through Catalog Price Rule. And so in Catalog pages (Product Listing Pages) there are two Prices displayed 1) Regular Price 2) Special Price (discounted ...
0
votes
0answers
13 views

Add new domain in new store view not work in magento 1.x

I created a new store view and new url. I config it in backend and add in htaccess like this SetEnvIf Host www\.my.web-abc\.com MAGE_RUN_CODE=berba_new SetEnvIf Host www\.my.web-abc\.com ...
0
votes
0answers
16 views

Calling MAGENTO API 1.9 using HTML and JAVASCRIPT (experts question - problem) HELP

I need someone who knows MAGENTO and everything related to APIs and REST APIS very well I have a website and I want to validate (check if you want) if the email for a certain customer exist or not ...
0
votes
2answers
51 views

Hide payment method if customer has more than one processing order

I'm trying to hide a payment method if a customer has more than one processing order, so I created a module call KgPayMethod and in this module, I added this line on events.xml <event name="...
0
votes
0answers
10 views

Magento 2 option to add text “Tax included ” in product view if price is with tax

Is there an option in Magento 2.2+ to display the text "Tax included" in product view if the value of product includes tax or this requires theme modification? Or some other way to indicate to ...
0
votes
0answers
30 views

Magento 2 All Products pages Redirect to catalog search

I am facing an issue which is I am not able to access any products pages. Either trying to access them directly via product url or product page Or via Search Results Or via Site Navigation every ...
0
votes
1answer
18 views

List all Products and change price, quantity and one custom attribute

We're a very small store and have to sell some of our products online. Magento is our system of choice. Right now we're still using Magento 1. For our shop we have the possibility to list all products ...
0
votes
0answers
10 views

How to save file in directory using ajax post with php in magento 2

I have a Js code in my phtml like below. var data = new FormData(); data.append("data" , "the_text_you_want_to_save"); var xhr = new XMLHttpRequest(); xhr.open( 'post', 'http://mysite/...
0
votes
1answer
13 views

Magento2: How do i generate Remove from cart Url for a product?

I want to cart item remove in minicart using custom URL. Below code in magento1 I want to magento2 code /** * Get item delete url * * @return string */ public function getDeleteUrl() { ...
0
votes
0answers
9 views

Magento2: ability add to cart, but cannot buy product

The product has to attribute Temporary_Unavailable. Need to add functionality: if Temporary_Unavailable = Yes, then customer or guest can add to cart product, but cannot buy (because the product doesn'...
0
votes
0answers
25 views

Magento 2 WebAPI json encode

I'm returning JSON via an endpoint in Magento 2 this bit of JSON looks like the following: $new_json = [ 'component_1' => '[{....}]', 'component_2' => '[{...}]' ]; ...
0
votes
1answer
15 views

How to fix this “state/country” dropdown issue in Magento 1?

I have a problem with the state / country dropdown in "Customer Information > Addresses > Edit Customer's Address". 1/ When USA is selected by default there was a state dropdown : 2/ Next I ...
-2
votes
0answers
19 views

How to remove Last name In Shipping Address [on hold]

I have removed last name in billing field but i also want remove it on shipping address too.
-2
votes
0answers
15 views

Do an extension for zip code in first page and then in header exist? [on hold]

First of all, sorry I am a newby in Magento, so I might not know all the marketplace for Magento. I am actually looking for a way that on my first page the user will be asked for his country and/or ...
0
votes
0answers
12 views

Magento 2 URL Rewrites Very Slow

Setup Dedicated Server Intel Xeon E3-1230 v2 2 Core 16 GB RAM Linux Centos PHP 7.1 APACHE 2.4 I have a site in Magento 2.2.6 which I am trying to do a full URL rewrite of category and products for 1 ...
0
votes
1answer
13 views

How to add customer prefix option in Magento 1?

I try to add an option for the "prefix" dropdown in "Customer Information > Addresses > Edit Customer's Address" Where can I add this new value ?
0
votes
0answers
15 views

Validate email using MAGENTO 1.9 (not way)

I've been trying several times to validate an email from my website against MAGENTO without success. I know it is possible to use MAGENTO REST API through JAVASCRIPT or maybe a PHP script but THIS IS ...
0
votes
0answers
14 views

Sales email order copy doesn't work

I have a problem with Magento 2, I tried to send a copy of the mail of an order to a mail address, but nobody has received the mail. Furthermore, if I set the address, I can't modify it, which file ...
0
votes
1answer
22 views

Call Function Inside Another In Knockout Js [on hold]

How to call a function inside another function in KnockoutJS Does anyone know how i can call one function inside another function in knockout js?
0
votes
2answers
23 views

Magento 2 Set Shipping Method Programatically

I am trying to set Shipping Method Progrmatically but getting following error. The shipping method is missing. Select the shipping method and try again. foreach ($quote->getAllAddresses() as $...
1
vote
0answers
14 views

Magento 1 How Customer allowed to do a partial payment?

This is the first time when customer completed an order with partial payment using Authorize.net payment method. I can see the 'Total Due' row in the order totals box. Allow Partial Authorization is ...
0
votes
0answers
24 views

Telephone field not getting displayed on front end

I want to display the Telephone field as required on the customer registration form. When it is not getting displayed on the front end. Here are the screenshots. https://prnt.sc/oumqt0 https://prnt.sc/...
0
votes
0answers
24 views

Magento 2 integration with AWS Elasticsearch service

I'm trying to connect my Magento to AWS elasticsearch service but I can't get a successfull connection. Magento is running on an AWS EC2 instance which the IP address is allowed on Elasticsearch ...
0
votes
0answers
22 views

How to fix SyntaxError: JSON.parse: expected ',' or '}' after property value in object in magento 2?

how to fix SyntaxError: JSON.parse: expected ',' or '}' after property value in object in magento 2? function getData(el) { var data = el.getAttribute(dataAttr); el.removeAttribute(dataAttr);...
0
votes
0answers
13 views

Magento 2.3.X: Get custom attributes in conditions model

I created a custom module in which I need to insert a conditions model that also has custom attributes. So I have this model: namespace Vendor\Module\Model; use Magento\Quote\Model\Quote\Address; ...
0
votes
0answers
19 views

magento 2 - admin create order authorize.net not working

I want to create order from admin/backend with authorize.net accept payment method. Here when we submit order first time it always gives me invalid request to gateway and found that opaqueData ...
0
votes
1answer
34 views

How to get RMA details : M2

I want to get RMA returns details by current registry or by order id. How can i load RMA by registry or order id? Any help or hint will be appreciated.
1
vote
2answers
62 views

Magento 2.3.2 Address How to Remove City Field

I am using the Magento 2.3.2. I want to remove "City" field into the checkout. I have added the following code into my theme checkout_index_index.xml file: <item name="city" xsi:type="array"> ...
1
vote
2answers
44 views

How to migrate M1 module in M2 - Module Migration

We will go to Magento 2.3 and need to integrate an old Module which handles the Order Exportation for our Fulfillment Service. I'm really new in Magento 2 and try to learn it step-by-step. I have ...
0
votes
0answers
14 views

Update table after success AJAX in Magento 1.x

Update table after success AJAX in Magento 1.x. I want update table after success AJAX. I can update it, but it work wrong for me. I have a pagination of custom table. When i click number, it load ...
0
votes
0answers
31 views

How can I programmatically add a cart?

I need a solution to create a cart programmatically in my template.phtml or in my Block.php file. I want a new cart with products in it. I get the products dynamically from the REST-API.
-2
votes
1answer
40 views

Display text/attribute in product detail page - Magento 2.3.2

I want to display text/attribute in product detail page - magento 2.3.2. In Magento 1.9.4 we can code in view.phtml file located under public_html/app/design/frontend/rwd/default/template/catalog/...
2
votes
0answers
37 views

Magento 2.3 admin is redirecting to this URl domain/admin/admin/denid/key/**** after admin login

I anonymously added some ACL permissions in Magento 2 and saved. I know that I have configured wrongly in the process of knowing, how it works since then I am unable to access my Magento 2 admin, I am ...
1
vote
1answer
30 views

Magento 2: Order Increment Id not working

In our website, magento order increment id is not working as expected. We are getting difference of 3 between every two orders. Like for example,we have order 000005167 and next order we are getting ...
0
votes
0answers
13 views

keep extend Magento_Ui/js/form/element/wysiwyg but remove component dependency

I just want to extend almost content (not duplicate content to second file). And only remove component 'Magento_Variable/variables'. For reason i don't want to use variables in wysiwyg Is there a way ...
0
votes
0answers
28 views

Magento 2 Session is not working with cache on listing page

Session is not working with magento cache. On product listing page, If I change the limit 9 to 15 it's getting applied. And on other listing page it's setting the limit to 15 as expected. If I go back ...
1
vote
1answer
33 views

How to edit module/extensions code directly from Magento 2 admin dashboard as we can edit plugins in wordpress?

Is it possible to edit Extensions in Magento 2 admin dashboard as we can edit plugins in Wordpress? Like in Wordpress: Is there any option in Magento 2 admin dashboard ?
0
votes
2answers
32 views

Error with Email to a friend functionality

I am trying to send an email to a friend for products https://prnt.sc/oujsr5 but getting this error https://prnt.sc/ole1kk. I am using outlook service provider.
0
votes
0answers
13 views

Layered Navigation working not true in magento 1.x

I custom my layered navigation in category page. But it working not true. There, I have TASCHEN TYP, when I click in Kuriertasche (33), it show " no products matching ". How to fix it ? I tried to ...
0
votes
1answer
26 views

Magento 2.3.0 : Admin panel mass status action change after not updated in custom module grid record

I am using Magento 2.3.0 and I create custom module for video gallery in admin side module grid mass action change status after not updated in grid but message comes on successfully updated. If any ...
0
votes
0answers
18 views

Catalog Rule - Discount price application

What is the exact location where discount is applied ? How can we markup the discount price ? Are negative values acceptable in discount price ? If we want to set negative values and increase ...
1
vote
0answers
25 views

Magento-2.3: Multishipping Tablerates Issue

I have setup fresh Magento 2.3.2 - configured tablerates for Multi-shipping. It seems while selecting the shipping Method its showing rates properly. but after selection and going to next step its ...
1
vote
2answers
38 views

how to fix Notice: Undefined offset: 0 in magento 2?

Exception #0 (Exception): Notice: Undefined offset: 0 in /var/www/clients/client0/web2/web/app/code/Mirasvit/Search/Block/Result.php * @return IndexInterface */ public function getFirstMatchedIndex(...
0
votes
0answers
37 views

How to create business profile in Magento 2.3.2 community edition

How to create business profile in Magento 2.3.2 community edition. I need to add one more account other than customer account in the top links.
0
votes
1answer
39 views

Magento 2: Error when trying to run command php bin/magento catalog:images:resize

I'm currently trying to run the following command php bin/magento catalog:images:resize But when it gets part way through I get the following error: 587/1490 [>] 39% 9 mins 54.0 MiB | /d/o/...
0
votes
0answers
14 views

Magento 1 - Price does not update for configurable product

I just installed a fresh magento 1.9.4 and imported a database from a working shop. I noticed that the price is not updating for configurable products. So I installed this fix but it does still not ...
0
votes
0answers
22 views

Changes made in web template do not show on frontend?

I am using Magento 2.2.3 and I am modifying a template from a custom extension. That path to the template is app/code/Foo/Osc/view/frontend/web/template/container/address/billing/create.html I am ...

15 30 50 per page