All Questions

Filter by
Sorted by
Tagged with
10
votes
4answers
37k views

Adding images with CSV import

I have been running into problem after problem with the CSV export/import functions. My currently problem is that I cannot seem to assign 'image', 'small_image', and 'thumbnail' attributes to any ...
5
votes
3answers
16k views

import custom csv to custom table- magento 2

My requirement is import custom csv file to custom table. please share hints and key points to achieve this? Thanks.
31
votes
3answers
56k views

How can I change the default product images sizes on Magento 2?

In magento 1.x.x, we could change default thumbnail images in admin : System > Configuration > Catalog But in magento 2.0, how can I change theses value I can not seem to find any configs to allow ...
27
votes
4answers
8k views

What is the status of rounding issues in 1.7?

We are using Magento CE 1.7 and have various rounding issues. In various calculations there is a 0,01 EUR difference. The basic issue might be that the article-prices are incl. tax. Co-programmers ...
23
votes
5answers
7k views

Watermark get black background when transparent

I've installed PATCH SUPEE 9767 on my magento 1.9.2.4 shop. Now i've uploaded a new Watermark but the background changes to black. Is this a problem since the new update? On a other magento 1.9.2.4 ...
23
votes
1answer
14k views

Magento 2: Adding Arbitrary HTML to the <head> of Every Page?

In Magento 2, is it possible to add an arbitrary bit of HTML to every frontend/cart page's <head/>? I know I can add a block to the content/<body> area with code something like this <...
11
votes
1answer
39k views

How to make a simple ajax call in Magento 2.1.0

I have added a simple button in one of my phtml file. <input type='button' name='emq_zip_btn' class='emq_zip_btn' value='Go'> I have added one custom js file ("emq.js") from a custom module (...
22
votes
6answers
27k views

Determine Magento version without access to code base

Is there a way to find the version of Magento being used without having access to server sided code? For instance, how does this plugin work https://chrome.google.com/webstore/detail/magento-...
20
votes
5answers
16k views

Add new tab in product edit page in admin Magento 2

I'm trying to create a custom module that will add a new tab on product edit page, right under Basic Settings. Can someone provide an answer?
12
votes
3answers
14k views

Layered navigation for custom collection on custom page - magento2

I am working on fetching layered navigation in magento2 for a custom product collection. I am getting custom collection already on the custom page need to show layered navigation. Tried to adapt this ...
8
votes
4answers
4k views

Do not cache footer

I added this code in local.xml <default> <reference name="footer"> <action method="unsetData"><key>cache_lifetime</key></action> <action ...
8
votes
1answer
12k views

What's the best event/way to listen for all order state changes in Magento 2?

I want to observe every order state change and react depending on the old and new status. What is the best way to accomplish this in Magento 2? It looks like there is the event ...
3
votes
2answers
6k views

Magento 2: Save all product data outside Magento with Images

I have below code with Image Upload which is working fine. But images are not stored in Database Table as mentioned in Order. include('app/bootstrap.php'); use Magento\Framework\App\Bootstrap; $...
14
votes
4answers
11k views

How to show a custom attribute in the admin Shipping Address box?

I have added the drop-down custom field on the checkout page with custom values. It's working fine also save attribute values in the database but not display in the order shipping address. Any idea ...
13
votes
3answers
10k views

Read-Only Product Backend attribute

I would like to create an attribute read only however it look it is not possible. I have tried to pass to addAttribute() 'disabled' =>true or 'readonly' => true with out any success. I have ...
6
votes
5answers
10k views

Magento 2 add Sort By Best Sellers Option on category products litsing page

I am trying to add new custom sort by option on categories products listing page along with other existing options like Name , Position and Price. To test my functionality i am directory doing ...
18
votes
4answers
3k views

EE 1.14.2 / CE 1.9.2 block caching update has non-unique cache keys - duplicate content showing on frontend

When I upgraded to EE 1.14.2, most things went smoothly but I came across an issue when I started to check my various frontend pages. I have a catalog node with several subcategories and each of those ...
9
votes
6answers
13k views

Configurable product attribute sort order in Dropdown 2.12

The order of the dropdown is not consistent with the order of the attribute itself. Within the attribute size I have it ordered Newborn 0-3 mo and in the dropdown it shows up as 0-3 Newborn the ...
8
votes
3answers
15k views

Magento2 - How to add a product into cart programatically when checkout_cart_product_add_after is fired

Consider there are two product ie: Product A and Product B. Product B is a virual product which i need to add to cart when Product A is added to it. To do so, I am trying to add Product B to cart by ...
19
votes
2answers
21k views

Magento 2: Product URL Suffix

How do I remove the .html suffix from the product pages?
16
votes
2answers
17k views

How to add Cookie Magento 2?

I want to add a COOKIE with value and some duration, how to do it in magento 2. Thanks
10
votes
1answer
32k views

How to send an email programmatically in Magento 2? [duplicate]

How to send an email programmatically in Magento 2 instead of php mail() function?
1
vote
1answer
662 views

Shopping Cart Price Rule - By Using selected SKU Free Shipping Not Working?

I using default UPS, USPS, FEDEX, DHL Courier services, How can i give selected products sku free shipping, how to do that? Workout: Using selected sku's for free shipping not working? Note : In ...
12
votes
9answers
16k views

How to hide empty attribute in any magento template?

I want to hide the custom attribute in magento template. My magento version is 1.8.1 We have added custom attribute for our product like brand, dimension, product type etc. but sometimes we didn't ...
9
votes
6answers
8k views

Magento 2.3 custom email attachment not working

Custom email attachment file is not working in magento 2.3. its working in Magento 2.2.X Fatal error: Uncaught Error: Call to undefined method Magento\Framework\Mail\Message\Interceptor::...
9
votes
5answers
17k views

Magento 2: Set Custom product attribute value programmatically on product save

How to set a product's custom attribute on save? I have used the event/observer way but nothing works.
3
votes
1answer
18k views

magento 2 create categories programmatically [duplicate]

I would like to create categories programmatically in magento 2. Please suggest me proper code for it. I have try this code Link but not working properly . I have to create number of categories on ...
3
votes
2answers
626 views

Magento 2.3.1 is not working in Xampp

I have successfully installed Magento 2.3.1 in Xampp. But both the frontend and admin panel of the site are not working. I have cleared the cache but still, it's not working. Could anyone please ...
2
votes
2answers
3k views

How can i solve 500 Internal Server Error during only product export [closed]

I try to export my whole products, i get 500 Internal Server Error during only product export. Export : Export Error : Note : When i try to export minimum of products like 100's of products, ...
0
votes
2answers
219 views

Observer Mage::throwException error - status 503 error

I just want to restrict some of the category of products to purchase with other category products, Workout : If customer click add to cart using observer compare current add-to-cart product ...
6
votes
2answers
16k views

How to bind an action after customer login success using Magento?

I'm using Magento 1.4.1.1. After logout success, customer is rooted to "logout.phtml" first and "home page" later. Is there anyway I could make Magento run couple of "php" codes after "login" ...
2
votes
1answer
4k views

Magento 1.9 How to add buy now button in product page?

I am using magento 1.9, I want to add BUY NOW button on product details page, Buy now button redirect to checkout page. I tried many solution already solved in this forum, But all the solutions are ...
2
votes
2answers
845 views

How to fetch post method xml data in Magento2 controller

We have to implement the punchout concept in magento2. There is a 3rd party system they will send data using the cXML format to Magento 2 endpoint. We need to fetch that data in the Magento2 & ...
53
votes
6answers
16k views

Modern Magento 1.X Workflow and Development Tools

I am new to Magento Development ( CE 1.6 ) and am still trying to define my workflow. I currently develop on Mac OSX 10.8 with Netbeans 7.3, but I find that Netbeans is slow and freezes on me. I tend ...
63
votes
6answers
8k views

How do you give estimates for Magento upgrade?

Overview: This question was originally asked and later closed on StackOverflow. We stated in meta, that here is the right place for this question. This question is in favor to help to many people to ...
39
votes
8answers
5k views

What is Progressive Web Apps, or PWAs in Magento 2?

What does it mean that Magento is becoming a Progressive Web Application platform? What will be the code structure of PWAs in Magento? What is the deal with REST APIs and PWAs?
48
votes
5answers
54k views

Search Type: Like, Full Text or Combined?

What is the difference between the different search types? Like Full Text Combined I am specially interested in how the search behavior and performance changes for those settings.
52
votes
3answers
8k views

Run tests for a specific module in Magento2

Running the tests for Magento to using php bin/magento dev:tests:run takes a lot of time. Is there a way to run the tests for a specific module only? I'm a noob in (unit) testing so have mercy.
27
votes
8answers
30k views

Cart dropping all items / cart session clears

A site I manage suddenly (potentially 2 weeks ago - from GA stats, and only reported now) started dropping the cart items when you view the cart, or go to checkout. The top 'mini-cart' shows the ...
23
votes
1answer
26k views

how to determine hosting requirements

We are preparing to launch 2 e-commerce sites using CE ver 1.9. Each site will begin with around 10000 sku's. What are the key things we need to look for from a web host...are things such as database ...
37
votes
5answers
81k views

How to fix Magento 2 2.0.0-RC Admin page not found after installation

It's a fresh new install with a clean database. I checked the values from Magento 2 : Error 404 not found at magento 2 admin login page and it's fine too. Also tried to access it via /index.php/admin ...
19
votes
5answers
31k views

How to add/remove links on my account navigation magento2?

How to remove "Billing Agreements" and "My Wishlist" links from the navigation menu on customer account page?
47
votes
7answers
18k views

Price re-index causes DB deadlocks during checkout

I'm experiencing an issue where I believe the Product Price re-indexing process is causing a deadlock exception in the checkout process. I caught this exception in the checkout process: Order ...
39
votes
1answer
14k views

Product.OptionsPrice is not a constructor magento 1.9.3

I have upgrade magento 1.9.2.4 to 1.9.3. I am facing the following error in the console in product page. TypeError: Product.OptionsPrice is not a constructor var optionsPrice = new Product....
12
votes
2answers
19k views

I want to customize my minicart in Magento 2. I need to add 3 attributes

I want to customize my minicart in Magento 2. I need to add 3 attributes: SKU, Manufacturer, and Manufacturer part number. These are existing attributes. I see where to add the output values but not ...
7
votes
7answers
50k views

How to set proper permissions for Magento on server?

I'm getting lot of issues with permissions. In magento admin panel: Your web server is configured incorrectly. As a result, configuration files with sensitive information are accessible from the ...
7
votes
1answer
6k views

Adminhtml - How to add custom template for custom product attribute

I already added custom tab and custom attribute like this. I also created a custom column in database for attributes, called custom_values. Now I want to add custom template for this attribute (in ...
17
votes
1answer
22k views

how to add pagination on custom collection in Magento 2

I am working on custom module. How can i use default magento pagination with my custom collection and also set custom limits on that?
13
votes
3answers
15k views

Magento 2 How to create new order attribute programatically

I've been searching the web on how to create an order attribute (if thats whats called), essentially I just want a new database column to appear in the sales_order database, obviously I could create ...
11
votes
2answers
33k views

How to open popup when <a> tag onClick?

In Magento 2, I want to display a popup (with html code inside) when a user clicks on a link.

15 30 50 per page
1
3 4
5
6 7
194