All Questions

Filter by
Sorted by
Tagged with
4 votes
1 answer
1k views

Magento downloader upgrade conflict 1.9.2.0 > 1.9.2.2

I'm trying to update Magento from version 1.9.2.0 to 1.9.2.2. Unfortunately, there is a conflict error during installation/updating. For example when I try to upgrade a package I get the following ...
2 votes
1 answer
2k views

Custom Category Image Attribute Preview

I've created a custom image attribute for the category. The image will be saved in media/catalog/category/example location. When I upload the image, preview showing as a broken image even though ...
0 votes
2 answers
1k views

Paypal-Express payment error - incorrect ID

I'm using Magento 2.3.1 with Vnecoms multi-vendor extension and I'm trying to pay with PayPal-Express - mode sale & sandbox. I can log in in Paypal & it redirects me to the page to choose the ...
0 votes
1 answer
42 views

unable to access Magento 2.4.6 backend on a fresh install with sampledata

I'm unable to access the Magento 2.4.6 backend on a fresh install with sampledata I get this when I try to open the Magento Backend URL Error: Class "Magento\ThemeSampleData\Plugin\View\Page\...
1 vote
2 answers
1k views

Importing product images from URL problem

I'm trying to import some products from a csv with images that are stored on an external server. The images are saving to the var/import folder ok but they won't assign to the product. I'm using the ...
3 votes
1 answer
2k views

Serve resources from a consistent URL - 2 images URL for single product, same image

I have one image for all three small, base and thumnail. However, when I am uploading a product , and selecting three options, magento automatically takes this as 2 image URLS in 2 different folder ...
0 votes
1 answer
13 views

customize the address form in Magento 2 to display only one field for the address in admin panel

only in admin panel i want to show only field to add the address right now there are two fields. How i can achieve it?
1 vote
2 answers
2k views

Full Tax Summary rounding issue in pdf invoice

For some reason our Magento rounds the individual tax rate's amount wrong in PDF invoice. In shopping cart and in order email the amount is right. Here is the wrong version: VAT 24%: 1.93 ALL TAXES: ...
0 votes
3 answers
706 views

Magento 2.4.x, How to assign company to customer

In Magento 2.4.x, How to assign the company to customers??? I am using B2B, the M2EE version. I tried this solution but it is not working. Here is my sample code, I tried. <?php class YourClass { ...
1 vote
2 answers
1k views

How to add CCAvenue in Magento 2.1.1

I search Cc Avenue extension in Magento 2 but not any extension is display CCAvenue extension. Please suggests the it is available or not available extension in Magento 2 Cc Avenue extension.
0 votes
4 answers
420 views

How to add custom tab in product details page in magento 2.4.0

how to add a new custom tab in the product detail page in magento2 Magento_Catalog/layout/catalog_product_view.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/...
0 votes
0 answers
4 views

Large Configurable: Failed to load resource: net::ERR_CONNECTION_CLOSED

Magento 2.4.5 p4 - Porto Theme - VPN with Cloudflare CDN and Imunify360 I've had this problem since upgrading to 2.4.5 p4 from p2, but downgrading does not help. I have some configurables with upto ...
7 votes
2 answers
1k views

Cron error extension - Magento2

I have an error while trying to install Magento extension. The Error: Error from Setup Application Cron Script: Cron job has not been configured yet Other checks will fail as a result (PHP ...
1 vote
2 answers
1k views

Magento 2 setup:di compile error In ErrorHandler.php line 61:

Warning: file_put_contents(root/generated/metadata/primary|global|plugin-list.php): failed to open s tream: No such file or directory in D:\xampp\htdocs\wp7\vendor\magento\framework\Interception\...
0 votes
1 answer
1k views

Magento 2 : Add discount label on product page (already in Category view)

Hi the Magento Community, I would like to add a discount label on my pictures on my product pages : I already have one for each product on category page (see picture below) but not on product pages. ...
1 vote
4 answers
3k views

Magento : How to Change Copyright in Footer

I am trying to change copyright on my website from 2011 to 2011-2017. I have gone through system/configuration/design/footer/copyright and have attempted to change it with no luck. I have tried to go ...
1 vote
1 answer
1k views

How to find the block to override for the navigation menu magento 2

current setup: Magento 2.2.4 installed with composer. I want to replace the navigation menu with a different navigation menu (MCP Menu Creator Pro). I think I am supposed to extend the magento/...
0 votes
0 answers
14 views

List of tables to safely truncate in Magento 2?

For Magento 1, here is a list of tables which can be safely truncated. Is there a similar list of tables for Magento 2, which can be truncated/deleted without deleting base data?
1 vote
1 answer
3k views

How to update subtotal after changing price with observer

I am using an observer to change bundle product price. I have tried events 'checkout_cart_product_add_after' and 'checkout_cart_save_after'. Both events update the product's price but the subtotal ...
0 votes
0 answers
8 views

Magento 2: Getting error after adding Adobe Sensei keys in the admin configuration

I'm getting the below error after adding Adobe Sensei sandbox and productions keys in the admin panel. "The API key you provided is not valid for use with Product Recommendations. Please use an ...
0 votes
0 answers
15 views

Magento 2.4.6 doesn't load styling

I'm trying to run a local Magento 2.4.6 project. I'm using Linux, Valet, and Elasticsearch in docker in the project. The connection is running. These works: composer install, setup:upgrade, setup:...
0 votes
2 answers
1k views

PHP Fatal error: Uncaught Error: Interface 'Laminas\ServiceManager\Factory\FactoryInterface' not found

anyone encountered this issues after upgrading from Magento 2.3.1 to 2.4. This happened when I tried to compile the magento. PHP Fatal error: Uncaught Error: Interface 'Laminas\ServiceManager\Factory\...
0 votes
0 answers
18 views

Magento 2 Add To Cart modal is not Opening instead refreshes the page

Console Errors: Uncaught Error: Mismatched anonymous define() module: function(){var e=!1,t=!1;function s(e){this.opts=r.extend({},{onClose:null,onOpen:null,beforeOpen:null,beforeClose:null,cssClass:[...
2 votes
1 answer
1k views

Magento 2 REST API: Get the name of child products in bundle_product_options-> product_links

So I am trying to go for a headless magento approach. I am using the following API to get product details: V1/products/:sku If the product is a bundle product, it shows bundle_product_options in ...
1 vote
2 answers
3k views

SQLSTATE[HY000]: General error: 1 Can't create/write to file '/tmp/#sql_27a0_0.MYI' (Errcode: 28 - No space left on device)

Can anyone help me to resolve this error on my magento website? There has been an error processing your request SQLSTATE[HY000]: General error: 1 Can't create/write to file '/tmp/#sql_27a0_0.MYI'...
0 votes
2 answers
1k views

Magento 2.4 libpng warning: iCCP: known incorrect sRGB profile, Wrong file, file does not exist

I'm getting this error "libpng warning: iCCP: known incorrect sRGB profile" when running php bin/magento catalog:image:resize. Please is there anyone who could help me get this fixed? Thank ...
0 votes
2 answers
3k views

Magento 2 Plugin not called

etc/di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> &...
4 votes
3 answers
2k views

Disable entries in system.log

I have Magento 2.2.x and system.log grows each minute, because of entries like: [2018-09-30 17:53:15] main.INFO: Add of item with id Magento_Customer::customer_manage was processed [] [] [2018-09-30 ...
0 votes
2 answers
2k views

Special Price Not Showing Configurable Product Magento 2.4.2

I have upgraded Magento 2.4.1 to 2.4.2 Special price is showing for a simple product but showing for the configurable product in the category view page. However, on the product details page, I can see ...
1 vote
2 answers
2k views

Magento configurable swatches on product list in custom theme

I'm trying to get configurable swatches to work in my own custom theme, and have followed these instructions: How to use Magento 1.9.1.0 Configurable Swatches in Default package theme (or a custom ...
1 vote
2 answers
1k views

Magento 2 Customer update API using CURL

I am able to get create, view and delete using curl to a Magento 2.1 site. However, update seems to be not working. In this example I have already grabbed my token: curl -X POST "http://www....
3 votes
2 answers
3k views

Magento 2: How to call Widget programatically?

I have created widget Type: CMS Static Block Theme: My Theme Display on: All Pages Container: CMS Footer Links Template: CMS Static Block Default Template Widget Options: Block (My selected block) ...
1 vote
1 answer
2k views

Magento 2: Custom Payment Module with Credit Card Form

I created a custom Payment Module from http://cedcommerce.com/magento-2-module-creator/payment-module . But this payment module has a simple Place Order button. I need a Credit Card form in payment ...
0 votes
2 answers
2k views

Magento 2.4 showing 404 not found for product page loadeds from a different store view

I have a Magento 2.4.1 store with two languages (EN and DE). Let's say the EN store view is currently selected and a product URL will look like this: https://website.de/wedding-bands/wedding-band-1....
3 votes
2 answers
4k views

Do you enable query_cache for Magento?

All tutorials for optimizing Magento performance I read suggest that we should enable query cache in mysql -> my.cnf However, I read a lot of other articles and even the mysqltuner script also ...
2 votes
2 answers
3k views

How to filter product with salable filter in magento2

In magento 1 , $products = Mage::getModel('catalog/product')->getCollection(); $products->addAttributeToFilter('status', 1); // enabled $products->addAttributeToFilter('type_id', 'simple'); ...
1 vote
1 answer
5k views

Changing Custom theme color in Magento 2

MY custom theme extends Magento Blank theme.Following this link, http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/css-topics/css-practice.html I added _theme.less in my css/source folder &...
0 votes
1 answer
1k views

Magento2 make one field required

I have a custom form created in Magento2 which has 4 different types of <input type=" text"> fields, I want to make sure the user enters at least one of those input field(s) and that ...
3 votes
1 answer
1k views

updating Analytics code for Google Optimize

Google has released a new product - Google Optimize. Is it possible to modify the standard Universal Analytics code in Magento (enabled under Google API in 1.9.3) to implement the change? The actual ...
2 votes
1 answer
1k views

Magento Site Layout Breaks Once a Day - Emptying Var/Cache Fixes

One of my client's websites on Magento 1.9.2.3 has been experiencing a strange error once every day (at random times). Where the site is loaded without any graphical styling no images, no CSS, ...
1 vote
1 answer
1k views

Create credit memo programatically - refund offline issue

This is my code: $OldOrder = Mage::getModel('sales/order')->loadByIncrementId(3123121312); $invoices = $OldOrder->getInvoiceCollection(); $service = Mage::getModel('sales/...
4 votes
1 answer
4k views

Magento 2: How to add a browse button to upload file in admin section?

Working on Magento 2 custom module implementation and want to add a browse button to upload a file in admin form. I have gone through the Magento2 : Admin module Image upload code to display form ...
0 votes
0 answers
13 views

What would be a comprehensive method to register when a product stock level changes - Magento 2.4

We are having some issues with products going out of stock inexplicably, we need to create a Magento module that registers whenever the product stock changes, which could be API updates, product sales ...
1 vote
3 answers
3k views

Add Custom attribute from Sales_Order table into New order email template?

I have create new custom attribute on Sales_order table name "QR_Code". How to insert this field into my new order email template? Thanks kllee
0 votes
0 answers
13 views

Importing Customer List fails to show

Was able to successfully import customer list in magento 2 backend via Data Transfer-Import, however the list didn't show up in customers section when the system reindexed. header for the list ...
3 votes
1 answer
1k views

Readiness check ignores memory limit

CentOs 7 with php 5.6.26 and Plesk 12.2 [php.ini] Memory_limit 2G phpinfo() shows memory_limit of 2G. Readyness check still says limit is set to 128M, so I did a reboot and performed an cache:...
5 votes
2 answers
6k views

"403 Forbidden" error page when trying to open Magento 2 setup page

I'm trying to install Magento 2 on a Godaddy Ubuntu virtual machine. After following what is in the installation manual (hopefully), and when I reached to the step of opening the setup page of the ...
16 votes
3 answers
2k views

Is there an event or plugin spot for when cart rule is no longer valid?

Is there an event or place I can plugin for when a shopping cart price rule is no longer valid (such as when it expires or if you change the quantity of other products where it no longer applies)? I ...
2 votes
1 answer
1k views

how to add attribute to sales_flat_invoice table

What is the proper way to add new custom attribute to sales_flat_invoice table? I need to extend this table in order to mark that the payment was made, so subsequent updates do not trigger connection ...
0 votes
3 answers
2k views

Magento 2 : Disable Sending email when order status change

Is their any way we can stop sending email when order status change from backend magento 2 ? any thoughts appreciated. Thanks

15 30 50 per page
1
2 3 4 5
2252