All Questions

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

How to automatically apply a 50% discount to the order total for all re-orders?

As a client requirement, I need to automatically apply a 50% discount off the order total for all re-orders. This will be for all registered users. Is there a way to customize the re-order function to ...
0
votes
0answers
3 views

Why is programmatically updating stock and price so slow?

I'm trying to update the stock and price of the products in a magento 2.3 store from a csv file. The file I have has about 5,000 rows, and about 3,500 of those correspond to products in magento. ...
0
votes
0answers
11 views

How migrate products from Magento database 1.9 to 2.3.2?

I migrate data from Magento 1.9 to Magento 2.3.2, after that customer adds new products to 1.9, so I'm in trouble. I have a database with new products that were added at Magento 1.9, but I don't know ...
0
votes
0answers
10 views

No Such Directory

Magento 2, version 3.2.x was working fine, but after upgrading to version 2.3.3 it started giving error 500. I have tried running permissions for folders and files, compile, re-index, flush cache... ...
0
votes
1answer
7 views

how to Show data in the tab of product detail page?

I have to do same work as detail tab is doing on product detail page . I have added a tab named as technical details on product detail page. Also I have added technical detail section for each product ...
0
votes
0answers
8 views

Magento 1.9 Banner click redirect

when i add a new banner from the admin page, it shows a small button in the banner from the front end view and when the button is clicked it redirects them to a certain link. i want to remove this ...
0
votes
0answers
13 views

magento 2 Remove product specific image programmatically not all the gallery images?

I am updating the product from the frontend and I want to only remove specific images which client is deleted not all the images. Is there any method available ? help will be appreciated.
0
votes
1answer
9 views

Avoid Magento 2 from automatically adding tax rate to uploaded gross prices

I upload my prices as gross prices incl. all taxes. Still I want the invoice to show the tax rate without Magento adding it automatically during checkout. I need Magento to understand my product ...
0
votes
0answers
9 views

Remove Status Histories Get All Order API Magento 2

How can I remove status histories from Order Fetch Rest API? Any help would be appreciated. Thanks
0
votes
0answers
8 views

Preselect shipping method (tablerate_bestway) on PayPal Express Review Page in Magento 2

I tried to preselect the shipping method (in my case tablerate_bestway) in dropdown field on Paypal Express Review Page, because we always have just one method to select. added this to end of mytheme/...
0
votes
2answers
25 views

Getting HTTP ERROR 500 only on homepage, Magento 2.3.2

Hello, guys! I get weird behavior Magento 2. I get a 500 error only on the home page, and on all other pages everything works correctly. How can this be fixed? Please, help)
0
votes
1answer
18 views

Creating custom M2 grid and rendering data from a custom table issue

I tried to follow these tutorials: https://medium.com/@jhonkelly2016/how-to-create-admin-grid-in-magento-2-9f39d052322d https://www.mageplaza.com/magento-2-module-development/create-admin-grid-...
0
votes
1answer
13 views

Magento 2 : Get value of custom option

I have a custom option of product How can I get value: 20, 30 in .phtml file. Hope anyone helps me. Thank in advance.
0
votes
0answers
12 views

Magento2 error while updating product URL keys

Getting this error while importing produdct for updating product URLs SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (...
0
votes
0answers
10 views

Magento 2 : Get value of custom option in order info

here is customize option in product here is order info How can I get the price of the custom option and put it in order info? hope anyone helps me. Thank in advance.
0
votes
1answer
14 views

Color swatches show up as text on frontend?

I created some color swatches, assigend a color from the color picker and saved, that seems to be ok (https://prnt.sc/pi9bm8). After that I assigned the colors to the products. Now on the frontend, ...
0
votes
1answer
14 views

mmap() failed: [12] Cannot allocate memory issue

When I try to execute a command, I get below error by commandline mmap() failed: [12] Cannot allocate memory Please assist me as soon possible.
0
votes
0answers
9 views

Magento2: Customer Address import in admin the page only loads?

I am importing customer address data from admin in magento2.1.7 For checking data the page only loads. not performing any action. While checking on debug.log the error message I am receiving is: {...
0
votes
0answers
14 views

How to load product on button click in HTML table using KnockoutJS in magento 2?

Basically i want to load product on button click using KnockoutJS.
0
votes
2answers
19 views

How to get Tier price html on product listing page in magento 2.3?

I want show default tier price in product listing page which we can see on product detail page. ex. Buy 5 for £47.00 each and save 6% I can get using of $product->getTierPrice(); in product ...
0
votes
0answers
23 views

Magento 2.3.2 Contact Us Form error

Running Magento 2.3.2 and no matter what I seem to do I cannot get the contact us form to work. I have tried all the solutions I think Captha - Checked Email- I set up the emails in config ...
0
votes
1answer
12 views

magetno2 magetique theme template monster No such entity with id = 57

I have deleted some products now website is not working(front end crash) showing code on front page No such entity with id = 57 in store_group table my theme root category id is =57. default store ...
0
votes
1answer
38 views

Magento 2.3.3 GraphQl Error after upgrade while Compilation

After upgrade from magento 2.3.2 to 2.3.3 I get this error while Compilation: Fatal error: Declaration of Magento\QuoteGraphQl\Model\Cart\SetShippingAddressOnCart::execute(Magento\Framework\GraphQl\...
0
votes
1answer
12 views

Fatal error: Uncaught Error: Class 'Cli' not found in bin\magento:30

I wanted to install a new extension in my store and I keep on getting this error in CLI. An exception was raised while creating "Application"; no instance returned#0 Sites\XXXXX\vendor\zendframework\...
0
votes
1answer
12 views

In Magento 2, How can I add a custom class to a SPECIFIC customer navigation item, ie “Company Structure”

In Magento 2.3 I'm trying to add a custom class instead of nav item to a specific menu item. In my case it's "Company Structure". A perfect solution would have each item with a distinct class like "...
0
votes
0answers
13 views

Sorting on a date's component

For Magento 1.x How do I sort product based on a date attribute by a month and year only, rather than on the whole date? The code looks a bit like this: Mage::getSingleton('...')->...
0
votes
2answers
21 views

Change the product tab position in magento 2.2.9

I am trying to swap two tabs around, Product Details and Specification. I want Specification tab to show up first and then Product Details tab. I already did some research on stackExchange and add ...
0
votes
1answer
9 views

Validate form data after submission in Magento 2.3 on Newsletters

I'm writing a module which registers a subscriber to our internal newsletter system, by using the stock Newsletter block in Magento. I'm creating an observer on the ...
0
votes
0answers
19 views

Magento 1.9.4.3 item not added to basket when button clicked

I have just successfully updated to 1.9.4.3 from 1.9.4.2. However, in one of my custom blocks the add to basket doesn't work, item does not get added to the basket. Analysing the url from $this->...
0
votes
0answers
18 views

How embedded CSS in transactional email works?

I have a very frustrating issue with the Magento 2 sales order emails. Through experimentation, I worked out the locations of the many files that are used to comprise these emails. At some point, I ...
0
votes
1answer
13 views

Blackbird Advanced Content Manager 2 - Get date created/published/modified in php template?

I'm using this module 'Blackbird Advanced Content Manager 2' for blog posts. I want to get the date created / published / modified and output it in the php template. There is no mention of this ...
0
votes
0answers
18 views

Order API Pre-set parameters

I have a custom module with it's own api requests, but I wish to create an alias to an Magento api request. My api path: GET /V1/orders/get-new which is a simple alias to Magento owns GET /V1/...
0
votes
1answer
9 views

New/Modified files won't inherit group ownership

This is happening for the first time after months of developing. I don't know what changed. We set file permissions and then We run in Magento2 root folder: sudo chown -R user:apache . But, every ...
0
votes
0answers
15 views

Magento2 custom layout unable to access custom module phtml file

For my Magento2 website I have created a custom module and layout for products. I have assigned that custom layout for that product from product edit design section. And from that layout, we are ...
0
votes
0answers
19 views

How CSS loads partially or not at all in Magento 1?

I have an extremely weird problem that I face for the first time. From time to time (it's really absolutely random), the CSS of a Magento 1.9.3.10 store is not fully loaded. It can happen on a ...
1
vote
2answers
20 views

Invalid form key while making an ajax request in Admin panel in Magento 2.3

I have Magento 2.3 installed, and I'm trying to create a small form in sales_order_view.xml and saving the form using ajax. Following is the code XYZ/Sales/view/adminhtml/layout/sales_order_view....
0
votes
2answers
22 views

What is the use of Patch? Why we want to apply the patches? how to apply the patches?

Can anyone explain me briefly Use of Patch? Why do we want to apply the patches? Thanks,
0
votes
0answers
22 views

Error while sudo php bin/magento setup:upgrade command in cmd

Replace App And Pub Folder of Theme In Magento2. After that Run Following Command : **sudo php bin/magento setup:upgrade** PHP Warning: require(/var/www/html/magento2/bin/../app/...
0
votes
1answer
22 views

How to override class that implements interface in magento2

I want to add my custom function in Magento\Framework\Message\Manager file in core file its working perfectly, but when I'm trying to override its not working. So, I want to know how to override class ...
0
votes
0answers
14 views

tables rates to all countries not showing in shipping

I have set table rates to all countries from the admin panel. But it not showing while shipping to that country. It shows Sorry, no quotes are available for this order at this time..what is the issue ...
0
votes
2answers
31 views

Help - Magento 1.9 - How to do Observer should be trigger before place an order?

After calculated grand total in checkout page observer not trigger, Observer : app\etc\modules\Gta_RestrictProductByCountry.xml <?xml version="1.0"?> <config> <modules> ...
0
votes
0answers
15 views

Magento 2.3 color swatches with related products & upsell products?

I have added color swatches with related products using this code: <?php if($_item->getTypeId() == \Magento\ConfigurableProduct\Model\Product\Type\Configurable::TYPE_CODE){ $...
0
votes
1answer
17 views

magento2 override admin js file function

I want to override function setShippingMethod() to my module js vendor\magento\module-sales\view\adminhtml\web\order\create\scripts.js here is a function define([ "jquery", 'Magento_Ui/js/...
0
votes
0answers
9 views

Magento2 what save product button (admin) does more than save programmaticaly?

We have recently converted configurable products in grouped product + get all linked simple product moved. All is ok on front. But in the back office, on the product edit page, the listing of simple ...
0
votes
0answers
18 views

How to show order status in Myaccount page?

I want to show the order status in MyAccount page when the customer login into Magento? Is it possible to show them?
2
votes
0answers
21 views

Get all associated categories from product collection

For a custom filter on the product collection i need to be able to get all associated categories from all products from the catalog search result. On top of that, i do not need the actual categories ...
0
votes
0answers
13 views

want to offer free shipping for one addresss and one to not

We want to offer FREE shipping in South Africa. For any country outside of South Africa, the Table Rate should apply based on weight and an uploaded value in ZAR (R). I have captured 2 addresses - ...
0
votes
0answers
12 views

Color attribute not saving colors?

Magento 2.2.3 I created a visual color attribute but when I try adding a color to the values, it wont save it, see https://prnt.sc/phtj7z for reference. I remember there was some PHP setting that has ...
0
votes
0answers
19 views

Magento 2: How to display Grand total price instead of subtotal in minicart

Hello i want to display grand total price in minicart instead of sub total price please help me how can i do that
1
vote
0answers
14 views

Doubled title suffix in admin (backend) pages - Magento 1.9

A client needs to add Title Suffix to show in all Magento administration pages. So I added it in System -> Configuration -> General -> Design -> Title Suffix and when I enter some text, ...

15 30 50 per page