All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
3 views

Magento 2.3.4: Assigning a SKU to a category collection doesn't assign it

Below is a function defined for the purpose of assigning a sku to categorycollection. Despite throwing no errors, the assignment doesn't happen? Is there anything wrong with my code? private function ...
0
votes
0answers
4 views

How to hide the custom shipping method only on the front end of Magento 2?

I saw several solutions but I couldn't implement them, I think I'm missing something. This method will be visible in the Magento backend and web service, not being an option visible in the cart. I ...
0
votes
0answers
4 views

Magento CE 2.3.5 Web Setup Wizard

I am using the Magento 2.3.4-p2(CE). In Admin Panel, System => Tools => Web Setup Wizard redirect to the following url Url: BASE_URL/setup/index.php/session/unlogin How to solve this issue?
0
votes
0answers
3 views

Magento 2.3 How to validate all checkout fields at once

Is it possible to validate all fields in the checkout at once? Currently, if you dont fill in anything, only the email field will be validated. All the other fields are only validated if the email ...
0
votes
0answers
2 views

wysiwyg editor is miving my banner to the wrong side of the page

We wanted to change "button banners" on the right side of the web page. I went in to the editor and changed the image for the bottom "button banner" after i saved the "button ...
0
votes
0answers
6 views

Export Reviews Details With SKU - Magento ver. 1.9

I want to export reviews details with product data from Magento 1 I am trying to transfer product reviews from M1 to M2. can you please give me any solution how to i'll do this ? Which Mysql query i'...
0
votes
0answers
13 views

Can not view orders in admin: Exception printing is disabled by default for security reasons

Updated a plugin for payments and now cannot view orders in my admin panel prior to update (but can view orders placed after the update just fine) and getting thrown "There has been an error ...
0
votes
0answers
8 views

Different locations for search bar depending on width

I have a problem regarding the block moving with XML. I moved the search-bar with <move element="top.search" destination="catalog.topnav" after="-"/> which is ...
0
votes
0answers
12 views

Where to download magento security patches

Magento has removed old archive security patches from the website, Where is alternate option to download, https://magento.com/security/patches/supee-11346 Thanks & Regards,
0
votes
0answers
8 views

How to prevent paypal auto changing order status from processing to complete magento 1

noticed that the paypal standard module automatically transfers orders to the status of complete. How to prevent him from doing this? it does not work correctly, since the status complete means that ...
0
votes
1answer
12 views

Magento 2.3.5 - freshly installed admin page is disabled and showing a spinner forever

After a fresh Magento 2.3.5 install, my admin dashboard is partially loaded. There is a spinning element that appears over it while the entire page is disabled. I have attached a picture. Please can ...
0
votes
0answers
15 views

Minicart not responsive in a 4 inch display mobile screen

The minicart content is broken and showing wierd in my 4 inch display. Can any one.suggest a solution??
0
votes
0answers
11 views

Custom SKU mask generation

I'd like to customize the SKU auto generation based on product name. Something like... given a product name, SKU should be generated in this way: Replacing space with _ Removing vowels etc... How ...
0
votes
1answer
7 views

Custom cache does not gets cleaned from admin cache management

I am trying to clear custom created cache from Admin, but it does not work. is their any way to make it work ?
0
votes
1answer
18 views

Create custom FAQ module in magento 2.3.2

I want to create custom FAQ module in magento 2.3.2. with no customer involvement. in backend admin will add questions and ans. and in frontend, it should display on product details page next to ...
1
vote
0answers
9 views

Is it possible to retrieve dependency injected arguments in another class?

Is it possible to retrieve dependency injected arguments in another class? For example, we have a class Vendor\Module\Block\Autocomplete. // app/code/Vendor/Module/Block/Autocomplete.php namespace ...
0
votes
1answer
11 views

Change display month on select box

I have a module and a select box for display month. In file download.phtml, I mentionn value month and I want display that are 01, 02, 03, ..., 12. How can I do that?
0
votes
1answer
17 views

file not created in pub/static

I have copied the file located in: vendor/magento/module_checkout/view/frontend/web/template/minicart/item/default.html to my theme dir:app/design/frontend/MyVendor/Mytheme/Magento_Checkout/web/...
1
vote
1answer
21 views

Preparing for Magento Certified Associate Developer

I am preparing for magento 2 associate developer certification but am not sure from where do i start it. can anyone who has done this certification and can suggest me with the best study materials ...
0
votes
0answers
10 views

Add comment to a order via REST API [Magento 2]

I have tried to add a comment in a order with the following code: $url = '******/rest/V1/orders/431/comments'; $data = [ "comment" => "Pedido entregado ...
0
votes
0answers
7 views

unable to load image in pub/media/customer

I have images in pub/media/customer directory but when i tried to access the image by load it using browser, i got file not found response. I have commented this line in nginx.conf.sample #location /...
0
votes
0answers
14 views

magento 1.9 show zipcode and addess at time of registration

I am trying to show the zip code and address field only so had to override only phtml file app/design/frontend/theme_dir/theme_name/template/opc/customer/form/register.phtml and commented the code but ...
0
votes
0answers
18 views

Observer function auto call twice in magento 1.9

I have created one function in Observer and set it called on product save after via config.xml file events section. When I press "save & edit continue", this function log all the ...
0
votes
0answers
8 views

create event before displaying custom admin config page

In Vendor\MyModule\etc\adminhtml\system.xml I defined my admin system config page In Vendor\MyModule\etc\events.xml I added the needed code to observe the event: <event name="...
0
votes
1answer
22 views

Magento2 :: How can I get current page URL when cache is enabled

I am facing issue to get current page URL when cache is enabled <?php $urlInterface = \Magento\Framework\App\ObjectManager::getInstance()->get('Magento\Framework\UrlInterface'); $...
1
vote
0answers
12 views

Using magento 2 accordion widget with href links

I am trying to build a category accordion in my side bar and I am using magento 2 accordion widget https://devdocs.magento.com/guides/v2.4/javascript-dev-guide/widgets/widget_accordion.html <?php $...
0
votes
0answers
4 views

magento 1.9 Catalog Price rules are not carried over to the shopping cart and checkout?

i'm having troubles with catalog price rules.i have a rule for a catalog product- which appears to look correct on product. Product have many option and difference price. When i add product to cart, ...
0
votes
1answer
11 views

Magento 2 How to add attribute options values into dropdown attribute programmatically

I have brand attribute in Magento and want to import all it's options.
1
vote
0answers
7 views

How to make connection between SAP and magento

How can I achieve the connection between SAP and Magento using API
0
votes
0answers
9 views

magento 2.3 inline edit not working with ID column but working with another column

I have a grid created via ui component and to this grid I added the inlineEdit feature in order to give the user the ability to change the value to one column. The problem is that if I set ...
0
votes
0answers
11 views

Multiple Duplicate Querys overloading Magento 2

We are currently experiencing an issue were our site runs fine for about 3 hours, but then our MySQL server crashes as a result of one query being run up to 300 times at once. The query is the ...
0
votes
3answers
26 views

Magento 2.3 - CSS changes revert after running “ php bin/magento setup:static-content:deploy -f ”

After edited CSS then run php bin/magento setup:static-content:deploy -f my changes revert, all my css workout removed. CSS Path : pub/static/frontend/Codazon/fatest_grocery_gourmet/en_US/css/style-...
0
votes
0answers
8 views

How to Get Product Image data in Order API Magento 2?

Get /V1/orders/{id} This API Returns information for the order for a specified customer. How to get Order Item Images
2
votes
2answers
17 views

Clear custom cache from cache management Magento 1

I have created a custom cache using script. cache is created successfully, i can get it too. Added cache field for custom cache in cache management. How to clear that cache custom cache from cache ...
0
votes
0answers
10 views

Cart Price Rule based on category does not work via Rest API

I have created a Cart Price rule (not catalog) and applied a discount to it. I can apply the discount fine using the store's UI. I can also apply the discount via Rest API. Then if I add an action to ...
3
votes
1answer
25 views

How to create & store custom cache in magento 1?

I am trying to create & store custom cache using script in magento 1. Is their any way we can implement it ?
1
vote
0answers
24 views

Magento 2 “More” button on poduct listing page

I want more button next to swatches image and on click of more, it will redirect to the product details page
1
vote
2answers
28 views

Magento 2 : How to create a ConverToCsv.php for company admin grid export?

I want to create a custom export csv file for company grid.I got to know that we can create ConvertToCsv.php to do that. Can someone explain steps on how to do that?
1
vote
2answers
42 views

magento2 strigger is not working in javascript

In file main.phtml i have <a href="<?=$block->getUrl("mpblog/post/history") . "?id=".$_post->getPostId()?>" class="edit-post"><span><...
1
vote
0answers
20 views

Magento 2: Uncaught Error: Call to a member function setProduct() on boolean

I'm trying to update the product widget to show some custom product data like that <?= $block->getChildBlock('name-of-block')->setProduct($_item)->toHtml() ?> while this code works ...
1
vote
0answers
10 views

Magento 2 - Create order using REST API - Third Party Payment Gateway such as Paypal or other 3rd party payment gateway

I need to use the Magento REST API to create an order from an API. In my case, I am trying to implement the payment directly using API to Magento. What I need to do is to create an order by setting ...
1
vote
0answers
20 views

2.3 how create guest order on backoffice

Is it possible to create a guest order from the admin panel? It always ask for a customer or creates a new one, some customer just want to order without an account and that's possible on store front, ...
1
vote
0answers
20 views

Get admin attribute label

How can I get the Admin attribute label as shown in the pics? I can get the frontend store label for each store view in this way: $attribute = $_item->getResource()->getAttribute('format'); ...
1
vote
0answers
8 views

Magento custom attribute check on cart/checkout page (show/hide shipping method) based on specific attribute selected in backend

I was figuring out a way to write a functionality that can check on my cart/checkout page (Magento 1.9x) custom attribute either based on YES/NO selected from the backend of that particular product ...
1
vote
1answer
20 views

Magneto 2 edit configurable products sku and product undefined

New product creating configurable product step 1: Select Attributes - selected color then, Step 2: Attribute Values - selected 2 colors then. Step 3: Selected Skip image uploading at this time Step 4: ...
1
vote
1answer
23 views

Item (Magento\Wishlist\Model\Item) with the same ID X already exists

I am having a strange problem with my Magento installation. As soon as I add a product to my wishlist (any customer), I am getting the following error in the browser's console: Item (Magento\Wishlist\...
1
vote
0answers
13 views

How to markup price in Magento2

I want to markup prices but Magento2 provides only a discounted option (I don't know how it is possible!). I'm trying to modify the expression in Magento\CatalogRule\Model\Indexer\ ...
1
vote
0answers
19 views

How to add extra amount to individual tax total?

I have two tax rules in my online shop. Tax 1 Tax 2 The tax calculation is based on the subtotal. But now I want to add custom amount with the above tax . i.e., Tax 1 = Tax 1 + custom amount Tax 2 =...
0
votes
1answer
18 views

Extension bug after installation

After installing a module, it appears in my back office but when I click on it, I get this message that appears:
0
votes
1answer
15 views

How to reduce a large Magento 2 installation?

I'm using Magento 2.4 and my installation is using 200GB, I'd like to reduce it. I want to remove old logs, backups, caches, duplicated images and etc. How could I optimize it?

15 30 50 per page
1
2 3 4 5
2039