We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [magento-1.9]

Magento Community version 1.9

7,661 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
1answer
1k views

Magento - How to remove color swatch if the product is disabled?

For Example,There is a product with attribute color - Black,Blue,Red. If the associated product with color Black is disabled, it should not display black color swatch. But it displays color swatch(...
5
votes
1answer
1k views

Magento 1.9 :- Add to Cart Helper - not working

I've been trying to fix a problem on an inherited Magento 1.9.1 site - the problem is coming from a custom category page I think. The template is using the Add to Cart Helper - in what appears to be ...
5
votes
2answers
2k views

Magento 1.9 RWD responsive menu problem (Not rendering correctly)

Before I explain my problem I just want to confirm I still get this issue after I disable all plugins and disable all theme/skin modifications. When the mobile menu displays (below 770px) the ...
5
votes
0answers
265 views

Magento : Multiple Taxes for different Simple Products associated with a Single Configurable Product

I have two simple products associated with a configurable product. However, each of the simple product has a different tax rate applicable to it. It appears Magento picks the tax class of the ...
5
votes
0answers
260 views

Magento : WYSIWYG in custom widget

I have tried adding a WYSIWYG editor to custom widget I have created using the approach outlined at: http://behrendtio.github.io/2013/04/12/using-a-wysiwyg-editor-in-a-magento-widget/ However, when I ...
5
votes
0answers
197 views

Magento 1.9.1 WYSIWYG Editor Logs me out of Backend

each time I change a product description via WYSIWYG Editor, Submit the Change in the Popup Window and try to Save the article in Magento Backend, it Logs me out of the whole Backend, redirecting to ...
5
votes
1answer
1k views

How to get first product from category in 1column.phtml?

I'm searching for a way to get the main image from the first (or random) product from the current category and use it as a background for the category title. As the title is created in 1column.phtml (...
5
votes
0answers
1k views

How To Modify Tax Calculations in Magento 1.9

For Testing - Learning purposes I would like to modify Tax Calculations in my magento installation. (not for production so no problem to modify core files). Based on the fact that Taxes are displayed ...
5
votes
1answer
2k views

How to filter dropdown in custom grid

How to filter drop-down in custom grid in my case its throwing error Below is my grid code protected function _prepareColumns() { $this->addColumn('attribute', array( 'header' ...
5
votes
1answer
577 views

Magento Configurable Product Save Not Working

On configurable product creation, when I hit the save button, I'm getting the error Fatal error: Call to a member function getStoreLabel() on a non-object in /app/code/core/Mage/Catalog/Model/Product/...
5
votes
2answers
3k views

Programmatically add shipping cost to the quote

I have the following code and I have searched and searched and can not find the answer. Everything I find on these forums tell me to do what I have already done but the shipping cost will just not ...
4
votes
1answer
65 views

How to Migrate Magento 1.9 Module into Magento 2

I use some extensions, such as the extension Alpha search module in Magento 1.9 but this module does not exist for Magento 2, so I need to convert the module to Magento 2. Can you suggest any tool or ...
4
votes
1answer
412 views

Update quote item price without using custom price

We are developing a custom module which applies custom tier prices by product category. Our solution works on frontend checkout so far and consists of observing the sales_quote_item_set_product event ...
4
votes
0answers
114 views

Simple Configurable Products Extension Bugs

I have used the SCP extension by Organic Internet for a while now and it has always served me well. However I have found today when I run the price indexer it is no longer picking up the max and min ...
4
votes
0answers
108 views

How to get RMA item attribute value in magento1?

I have created a custom RMA item attribute from magento admin and now i want to fetch its value for a particular RMA. for example, as shown in image above Item condition is RMA item attribute. and i ...
4
votes
1answer
135 views

How to solve REST API with oAuth 1.0 Return 404 error in Magento 1.9.2.3?

Workout: Version : Magento 1.9.2.3 Created Rest oAuth Consumer oAuth 1.0 installed in Server Got the Token Key, Token secret using Consumer key & Consumer secret which created in step 1 Note : ...
4
votes
2answers
151 views

Magento 1.9 Cron.php Works, Cron.sh Does Not

I've tried many solutions, but can not seem to get cron restored. It was working fine and suddenly it no longer does. I have Truncated the cron_schedule table, but it doesn't populate. If I run cron....
4
votes
1answer
64 views

Magento : Product detail page GIF image not call / working

Here my code use in our local environment it's working but in live site not working When i click image gif image not open it live site.but in localhost it's working properly $baseDir = Mage::...
4
votes
1answer
378 views

How to disable cache for perticular template file in magento 1.9?

We have used full page cache but some particular part of section not reflected. for example, we have a select city in the dropdown but not reflected. check my site- https://vidyutbazar.com/ A ...
4
votes
0answers
95 views

How to get custom table next id to be saved?

In magento1 - My scenario is saving an image to a folder. Why I am using id is I have to save a lot of items (images, pdf) into the same folder as it is all related to this item. When new data is ...
4
votes
0answers
92 views

I have Chinese chars in the contents of my session files. Have I been hacked?

I've noticed that my /var/session/ folder has been filling up really quickly lately so I decided to open a few of the files up to see where they were being generated from. Most of them were bots such ...
4
votes
1answer
117 views

Overriding default magento exception handler

How would I aproach this? Everything I found so far informed me about extending magento exception handler, although I want to override, or if it's not possible then call my custom handler when ...
4
votes
0answers
117 views

Magento 1.9 Add Backorder status of a product to the product grid in backend

I'd like to add the status of the back-order in the main manage product grid as an column so I can see it in 1 instance. the status is visible when you click on a product and go to inventory and you ...
4
votes
1answer
190 views

Admin Security, Lockout Attempts, PW Resets

A recent article went out about improving admin security. In it they suggest setting the maximum PW resets and Lockout Time, and for Magento 1.x, this is supposed to live under System > Configuration ...
4
votes
0answers
126 views

Magento 1.9 A strange record found in customer table

I have noticed that there is a weird customer created in my admin, I'm sure this customer wans't created on the frontend because this is a B2B site, and I have removed the front-end registration for ...
4
votes
0answers
139 views

Magento API complex filter value from another key value

I have a custom soap api for my magento 1 website, the problem is i dont know what array value to pass as the filters parameter so the parameter will work like this: $collections = Mage::getModel('...
4
votes
0answers
110 views

My PayPal payment method does not display on Checkout with Multiple Addresses

My PayPal payment method is shown on the checkout page, but it's not displayed at Checkout with Multiple Addresses.
4
votes
1answer
67 views

Add order status while placing order from admin Magento 1

I want to add a custom dropdown for the order status in the create an order page from admin. Admin can choose the order status while placing the order. Please see attached screenshot!!! Or Can i set ...
4
votes
1answer
359 views

Get an error message “Cannot save the customer.” when a new user signs up

Once user register, they get an error message "Cannot save the customer.". The account actually is made. I have tried this code and error shows "Cannot save the customer.Decoding failed: Syntax error"...
4
votes
1answer
193 views

How to check image dimension on upload?

Building a custom module and would like to have this option implemented so user will not be able to upload image if the width and height is not as specified. :P Found this example: public function ...
4
votes
0answers
183 views

total not updated after custom shipping price applied

I am changing shipping price on the fly but it doesn't update cart total as it should. Here is my code. Observer event i m using sales_quote_address_collect_totals_after code from observer. public ...
4
votes
1answer
49 views

Can i get Idea? How to write PHP code if anyone of the selected Categories of products presents in the cart the shipping method is Admin selected one

If anyone of the selected Categories of products presents in the cart the shipping method is admin selected one. now my shipping methods like user selections, like 1)DHL 2)FEDEX 3)INDIA POST If ...
4
votes
0answers
595 views

export group price and tier price in magento

How can we export group price and tier price in magento 1.9? Currently I am using profiler to export product price but I didn't get group price in exported csv file. Group price column shows blank ...
4
votes
1answer
536 views

Magento Frontend suddenly very slow (Backend fast) issue MySQL related

I have a very strange Magento problem. We run Magento since 7 years and moved it a couple month ago to a new server. The performance was really good since then. But now suddenly since 4 days, the ...
4
votes
2answers
289 views

magento 1.9.3.4 and patch 9767v2 issue

We have upgraded to magento 1.9.3.4 and we have custom theme , in the custom theme we have uploaded patch files and in the payment.phtml file we have kept formkey under fieldset. But issue is after ...
4
votes
1answer
373 views

How to add new option in WYSiWYG editor magento

i want to add new option in WYSiWYG editor like list bullet & list number. Is there is any way to add List square option in magento WySiWYG editor.
4
votes
1answer
2k views

Create order programmatically for the items on cart on checkout page

I am successfully creating the order in the Magento dashboard with the below code. //for order $id=3; // get Customer Id $customer = Mage::getModel('customer/customer')->load($id); $transaction = ...
4
votes
0answers
336 views

Magento & ElasticSearch- Issue on SKU search

I'm reading tons of Google search, but I cannot reach my goal. I've a M1.9.x website with ES. I've a custom module based on Smile Elastic Search (found on GitHub). I need to search with PARTIAL sku....
4
votes
1answer
717 views

How to get round Price Value in Grand Total Magento 1.9.2?

How can I achieve round price value in Grand Total?
4
votes
2answers
753 views

Disable Order Confirmation Email for particular customer group

Is there a way to disable a Magento Order Confirmation Email for a particular customer group ? I won't mind someone giving me a guide on how to create a custom module for this function. Thanks
4
votes
0answers
170 views

Magento - Create order using REST API

I need to create place order using REST API. I want to help someone to create API. If you have any reference URL for perfect code please let me know.
4
votes
1answer
118 views

Magento: Product Details in popup

I want to show a product details in popup instead of redirecting to the product view page. How is it possible. Please help.
4
votes
1answer
3k views

How to add mage_captcha on newsletter form in magento 1.9

I just want to know how can I add captcha on mage_newsletter on each page of site. Here my .xml code block for view captcha <block type="core/text_list" name="form.additional.info"> &...
4
votes
1answer
98 views

Magento 1 : How to disable product price update on the front-end when changing a product Qty

I want to disable the price update with qty. In default magento price calculation is "Product PriceXQty". I want to disable it and total price in the cart is product price only.
4
votes
0answers
382 views

Zero price for first item in mini cart

I created a controller to add configurable product to cart but when i try to reload the minicart dynamically using javascript or even refresh the page in product detail page it shows the wrong price ...
4
votes
1answer
602 views

slow INSERT query in sales_flat_order_grid

We see in newrelic some peaks if orders are inserted into sales_flat_order_grid. I tried to figure out why, but couldn't find the reason. This peaks appear ~ 1 of 100 orders. First of all I thought ...
4
votes
8answers
638 views

How to improve magento site performance

I have setup multi-store magento website, also added full page caching plugin to speedup performance in front-end but still front-end is very slow. Some reason I figured out from my analysis : 1) ...
4
votes
0answers
80 views

Efficient way to access current result count in left block

Tried a few different approaches to this but still not sure of the best option for something which should be relatively simple. I want to output the current product result count, instead of within the ...
4
votes
0answers
299 views

Catalog URL Rewrites not working

My product pages show 404 page. There is something wrong with the catalog URL rewrites. Screenshot below. The error message I see is Invalid backend model specified: enterprise_catalog/...
4
votes
1answer
127 views

How to create a model with multi-store attributes?

I want to show data on the product's pages to the customer. This data is related to multiple products and it is multilingual. So I want to create a new model in Magento with this data, how do I ...