Newest magento Questions

Q&A for professional and enthusiast programmers

Make parent hover event stay fired if hovering child

I'm currently using this theme for my magento ecommerce but theres something thats bothering me. When you hover over the cart on the navbar you can't click on the buttons because after your mouse ...

Create a custom shipping fee calculator in Magento but collectRates() not getting called

I want to create a custom page with shipping fee calculator in Magento. I have created a simple html form and submit to server. On the server side code: $region_id = $_POST['region_id']; $country = $...

Magento Extension List

I am browsing through all the current Magento extensions via Magento connect. It takes a very long to go page by page through this list and is cumbersome. Is there any API available that gives a list ...

Magento REST API: Access Denied

I'm currently trying to set up my Magento shop with a REST API to get product data. I already set up my web services and gave admin credentials to my Magento user, however I get an error when I try to ...

Spefecation of magento attributes [on hold]

I want to know. On product page in description column we need to make single attribute for all product information or separate attributes for all information? i tried by making separate attributes ...

How to show fedex ground delivery date in magento [on hold]

I am newly magento developer, I customize fedex delivery date but Ground showing delivery date not show. How to resolve the issue.

Mysql commit take long time

I have problem with MySQL performance. It took more than 30 sec while processing the transaction commit. below is the my.cnf file. please help me to improve the speed. my.cnf [mysqld] bind-address = ...

Extending a Magento widget layout within a theme

I'm adding a featured products widget to the home page of a site using Magento 2's built-in Catalog Products List widget. What I'm hoping to do is to to extend the widget's layout file found in vendor/...

Magento 1.9 - How to sort products twice, with double conditions?

I have already good and working code which sorted my category list by stock_status. Other words i have out of stock products at bottom. But i also need to insert some code before my for sorting that ...

While editing products in the cart I want to redirect to the product page are grouped but not product samples [on hold]

Hello all I asked for help with a problem in Magento 1.9. The type of product that I use grouped products, while editing products in the cart I want to redirect to the product page are grouped but not ...

How can I make a Magento Page completely blank?

I'm trying to create a custom Magento page for my module that is completely blank with only one string in the output. The page cannot have HTML tags like <html>, <body> and <head>. ...

How to debug “PHP Notice: Undefined variable” in a PHP program? [duplicate]

I have developed this HTML, but I get error on my cPanel. When I open the error logs file: [19-Feb-2017 03:36:16 America/New_York] PHP Notice: Undefined variable: settings in /home/dekhdiwk/...

Magento2: error when trying to save data with image in admin

I wrote a custom slider module which include slide items form. In this form there is an image field to upload images. When i create for the first time a slide item with an image everything is working ...

magento connection not fully secure

I am having an problem securing my site.I went to System - configuration - web and i changed edited the secure configuration [![secure][1]][1] [1]: https://i.stack.imgur.com/dVD4k.png to match ...

Is it possible to fire multiple ajax requests asynchronously in Magento 2 backend?

What the title says. Im trying to run an import script with AJAX "call 1" and I want to keep track of the import (for feedback purposes) with AJAX "call 2". To give the end user live feedback these ...

Magento 2 Custom Module and Webservice returns blank array

I am a newbie to magento 2x. However I tried to create a custom module and a webservice to check a customer email is exist or not. But as a result I am getting just a blank array. Here is what I have ...

Change the position of Success messages in magento [closed]

Please tell me how to change the position of Success messages while i have tried from page.xml also in fresh theme of 1.9.2 but the problem still there.Image is attached. Succes Messge Move:

How to apply Parent Category to Child Category Products in Magento 1.x

How can I apply Parent Category to it's Sub Category Products? (Magento 1.x) For example: DEFAULT CATEGORY CLOTHING   - Tops (shirt1) sku - category shirt1 - Tops shirt2 - Tops shirt3 -...

How can i override placeOrder() action in Magento 2

I'm newbie in Magento. My shop should work with a web service. I have to check availability of products from web service before magento creates a new order. And after creating order successful i have ...

CORS related issues in apache server

I am developing a cross platform mobile application using Magento 2 rest apis.I have enabled the CORS in my apache server. /etc/apache2/sites-available/000-default.conf <VirtualHost *:80> ...

Magento how to create an additional header and reference it in a new template

I am working in magento and have created a new template/layout for the checkout pages. This is very simple header and footer. I obviously still want me standard header and footer for additional pages. ...

Redirect example.com/directory/* to example.com/directory2/* in Magento

I'm trying to make an entire folder with articles go to /entries instead of /content. I have entries lined up as: /content/entry-name.html and I just want a single, clean command to move any and all ...

Boostrap markup in Magento blocks and pages

I am new to working in the Magento CMS. I have a grasp on the creation of blocks and widgets and inserting that content into pages. We are currently using the Bootstrap-based Ultimo theme by Infortis. ...

magento add to cart button not work on mobile screen

I have a problem on magento home page, on mobile screen. when I click on add to cart, item not added to cart.(on product page or on laptop screen on home page there is no problem) on home page on ...

How to upgrade my Magento custom module to support in higher versions of php/Magento?

Apologies if my question is redundant or irrelevant. I am a PHP developer and I need to upgrade a custom Magento module to support in higher versions of Magento. I have made themes and plugins in ...

Show price excl. tax and incl. tax Magento 2 [on hold]

we currently have the prices to show as both but as standard shows the top / first price in a larger font including tax and then below in a smaller font excl. tax. Id actually like to reverse this so ...

delete a particular row on clicking the edit link in magento

i created a edit link and want to edit the row content and save the changes to database using magento. i created the delete link it works properly if( $this->getRequest()->getParam(...

Best way to implement custom pricing per customer

What is the best or most efficient method to adjust a products price on a per customer bases, both in the catalog and cart? The scenario is this: We have a table with a set of discounts for each of ...

Error when taking live Magento site locally

First I like to say I'm new to Magento, and have been given the task to work on the site but I'm having an issue taking the live site and installing locally for development work. Here is the errors I'...

Magmi Error [42S02]: Base table or view not found [on hold]

I have a problem with a multi store Magento 1.9.2.4 install & Magmi v0.7.23 It seems to have randomly stopped working and can't find out why. For every line of any csv I try to import I get the ...

Restore access to setup directory

My system setup I am using MacOS's Apache server to run applications (websites) on my Mac. I have activated all the required settings to run a succesful LAMP environment. This works great! In my /...

How to add a where clause with the left join

I have written a code to retrieve the city, email, street and other details of the customers from the table order_address the issues here is for every order there are two rows where for one row the ...

Magento linux installation

I am trying to install magento and i receive error: Fatal error: Uncaught Magento\Framework\Exception\FileSystemException: The file "/opt/lampp/htdocs/magento/var/.regenerate" cannot be deleted ...

Magento Varnish Turpentine for CloudFront CDN

I'm running Magento with Varnish and Turpentine and I'd like to setup an AWS CloudFront Distribution as proxy for dynamic contents to speedup the website from multiple locations (static content are ...

Magento 2 - Order assets

What is the best way to order a CSS file of a custom theme at the bottom of in Magento 2. By example, I would like place CSS after or before an other. Thanks

Magento Cookie expire time doesn't match with the time set

I have set in Magento admin cookie life time = 86400 Time zone = Asia/Kolkata. But when I check the cookie expiry in Mozilla Firebug, I see the cookie expiry as 5.30 hour less then the current time ...

Android - Magento OAuth tokens error 500

I'm trying to authenticate and create a customer for a Magento e-commerce in my app, but i'm getting a error while getting a request token (500). I created a "Rest - OAuth Consumers", do i need to ...

Not able to add products on magento HTTP ERROR 500

Getting error on my magento website. HTTP ERROR 500 on adding products. Attached my error log files. [16-Feb-2017 09:19:24 UTC] PHP Fatal error: Call to a member function getResourceCollection() ...

Magento get order status on the basis of product

I am using Magento 1.9.3. Suppose in my order there are 2 products: product1 product2 I generate an invoice for product1 but not for product2. Now my order status is Order Assigned (Processed state)...

Magento Search: Fulltext & Combine (Like and Fulltext) in relation to Relevance [on hold]

can anyone let me know why/how magento catalogsearch_result table always stores relevance field value to 1 ? as i need to do some customization on the store like i need to update some product_id's ...

Bug in Magento transaction email

I am using Magento for less than a week and my problem is that transaction email which is sent to the customer does not show the billing address and also the payment method is like below image :enter ...

Magento/php: adding product to cart with custom details and price

(Magento 1.9) I created a form to be able to customize a product and generate a preview sketch of what the end result would look like with a cost (this was done outside of Magento as an individual ...

How to exclude admin urls from lowercase rule in .htaccess

I need to exclude admin urls (index.php/admin/) in a lowercase rule Example url for excluding: http://local.copy.com/index.php/admin/sales_shipment/index/key/...

Get Magento Shipping Quote/Rates List for multiples added items Programatically

I'm able to get shipping amount from one added item only, but i want to get out shipping rates list for multiples added items within in a quote. For Ex; I only have this info available to pass in to ...

How to get Newsletter 3 Times per user

I need a subscription window which has to be popup 3 times per user which is popup only once so help to Adjust popup 3 times per user [Newsletter]

Attribute Filter Not Working After Importing Product

When i am import product than attribute of product saved as a catalog_attribute_entity_text and this is not filterable but when i saved again product from admin than that attribute will move to ...

Magento Cart and session Language setting

Magento version 1.9.1.0 First admin session files show in chinese character. I have english in my configs in Magento. When adding say product1 to the cart initially - The product is shown in the ...

Auto URL Update in Magento

My Original URL from Admin side is:- https://www.demo_detail.com.au/demo/index.php/admin/system_account/index/key/0652b9f2f23d1fe363efeb14879d34c3/ But My Problem is whenever I click any Admin side ...

How to delete a particular row from database when its corresponding delete link is clicked in magento?

I displayed a table from database and created a delete link to every row. I want to delete a particular row when its corresponding link is clicked. Can anyone help me please.. foreach($model as $...

How sales_flat_order and sales_flat_order_address insert in checkout in magento [on hold]

I am a new one in magento. Got a problem, sometimes customer inform like email,firstname, lastname got in sales_flat_order_address, but not in sales_flat_order table. Check codes under core. ...
Translating... 0%