Questions tagged [magento-1.9]

Magento Community version 1.9

7,562 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
263 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
259 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
572 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
329 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
102 views

HELP - How to convert Default SOAP-v2 API Magento Objects into XML Values?

By Default return values as Magento Objects using soap v2, how can i change into XML, <?php ini_set('display_errors','On'); $proxy = new SoapClient('abc.com/api/v2_soap/?wsdl', array('trace' => ...
4
votes
0answers
42 views

soap product quantity not updating return exceptions

i am tring to update product quantity using soap but it return error here is my code public function update($data){ //return $data->sku; $_sku = $data->sku; $_catalog = Mage::...
4
votes
2answers
143 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
57 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
363 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
1answer
113 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
1answer
64 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
347 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
185 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
1answer
511 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
288 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
361 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
375 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
573 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
604 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
76 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
294 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
124 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 ...
4
votes
1answer
808 views

ADD TO CART button is not working Magento 1.9

I am facing with problem several days, actually ADD TO CART button is not working. In debug mode of Chrome below messages are generated : Refused to execute script from 'http://www.planet-gadgets....
4
votes
1answer
116 views

many-to-one product attribute

I need to add an attribute that allows multiple values - but not from a set of pre-selected values, not multiple select but multiple text fields. One product, one or more values in the one field. ...
4
votes
1answer
432 views

Magento 2 URL rewrite appending .html.html

I've migrated my store from version 1.9 to 2.1.1 using a tool. However all the old products are appending html.html at the end of the URL. I basically truncate the url_rewrite table and saved all the ...
4
votes
1answer
1k views

How to capture automatically Paypal authorization payment?

The payment action of PayPal it's set to authorization (I need it, I can't set to sale), therefore then I need to capture the payment. I know that I can do it manually from the invoice sending page, ...
4
votes
2answers
2k views

How to display category image in home page with custom css?

I want to display all of my category image with in home page. What should i do for this? I am using CE:1.9.2.4
4
votes
1answer
3k views

Display Out of Stock Configuration not working in magento1.9

I have a configurable product with 3 simple products associated to it that were added via REST. I have set the "Display Out of Stock Products" option in System->Configuration->Inventory to "Yes" ...
4
votes
1answer
2k views

Magento's REST API responses claiming oauth_callback param is empty

Working with Magento CE 1.9. I'm attempting to make use of Magento's API however I keep running into the same error in my response: oauth_problem=parameter_absent&oauth_parameters_absent=...
4
votes
1answer
1k views

Magento cron jobs are not scheduling in the cron_schedule table

I have cron task in my custom module for sync data. Below is the code in my module config.xml <config> ------- <crontab> <jobs> <tal_intermediate_cron_product&...
4
votes
1answer
2k views

Magento - Show custom data on Order Information page (Customer Account)

I need to display points earned by customer on Order Information page under customer account. module.xml <sales_order_view> <reference name="order_items"> <action method="...
4
votes
1answer
731 views

Multi Store view - product name for each store

I'm using Magento 1.9.0.1 I have a store in English, I want to have the same store (same categories and products) just translated to Spanish. I used this tutorial to achive this: Ref. I created ...
4
votes
1answer
1k views

PayPal Guest Checkout

Im setting up a Magento Shop using PayPal for the first time. Standard / Express PayPal Checkout works perfectly but only if the customer has a PayPal account. There should be a "guest checkout" ...
4
votes
1answer
1k views

Adding custom column into product grid

I have created a custom column for associated products (basically every simple product will have that column under "associated products" tab of configurable product). I store information of this field/...
4
votes
2answers
2k views

Magento 1.9.0.1 Time Stamp Incorrect

I recently transferred servers and ever since my timestamps in Magento (both orders and help desk messages) are incorrect. I have checked all of my configuration settings, and they are correct. I have ...
4
votes
1answer
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 ...
4
votes
1answer
3k views

How to get quote and update total through AJAX Magento 1.9

In cart page when postal code is entered and pressed get quote button then it submits one form and shows the rate of that postal code after that update button appears and clicking on that updates the ...
4
votes
1answer
976 views

Bundle Price shows different on list page vs. product page.

I have a dynamically priced Bundle Product. It's composed of two products, product A ($10) and product B ($5). They're part of the Bundle via a required checkbox where they're both selected by ...
4
votes
2answers
1k views

Magento API V2 wsi.xml file

I'm being driven mad by this wsi.xml file which doesn't seem to be doing what I'm asking of it. I'm creating my own API which does a bunch of things using a product's EAN (a custom attribute). It ...
4
votes
1answer
642 views

Paypal Payment Declined Please Try Again

Been having this problem for nearly a week now and PayPal technical support is basically lost and of not much help. I'm running PayPal Advanced, when a customer (or myself) checks out of the store ...
4
votes
3answers
220 views

Disallow adding products if sku or shipping type exists in cart

As the title says. I need to be able to disable adding to cart if a product sku or shipping type already exists in the cart. Any way this can be done? Created checkout_stop.xml in app/etc/modules ...
4
votes
1answer
1k views

Tracking Ajax Add to Cart Event

I have a problem I've been struggling for a couple of days and I would really like you to point me in the right direction. I am developing a module to track basic stuff like addToCart and ViewContent ...
3
votes
0answers
43 views

Magento Customers edit is broken in the backend admin panel

After I updated few security patches in my local Magento 1.9.3.8. PHP 7.o-fpm, nginx server. SUPEE-10888 SUPEEE-10975 SUPEE-11085 SUPEE-11155 So when I was testing all functionalities I saw that ...
3
votes
0answers
25 views

Magento 1.9 - How to get JSON config by a bundle item id in cart?

When I have a bundle product in the cart, I can edit it by clicking the edit button . At this point, a page with the product to edit will be loaded. Also, a function named "getJSONConfig()" will be ...