Questions tagged [magento-1.9]

Magento Community version 1.9

Filter by
Sorted by
Tagged with
0
votes
0answers
168 views

Magento 1.9 custom api update inventory

I am updating the cataloginventory_stock_item custom quanty values based on stock ids by using custom api. I written a update table query in custom api module model file: Like below: public ...
0
votes
0answers
621 views

Call to a member function getId() on a non-object in price.php file

I got Fatal error in my website : Call to a member function getId() on a non-object in price.php file /app/code/core/Mage/Catalog/Model/Product/Type/Configurable/Price.php I don't know what is the ...
0
votes
1answer
132 views

Magento on admin order create and frontend checkout returns 500 error after update to 1.9.4.2

Hi guys I have just updated my site to 1.9.4.2. But when I attempt to create an order in admin I get a 500 error. Same happens on frontend onepage checkout. Tried turning errors on nothing shows. ...
0
votes
1answer
2k views

How to add dropdown field for select custom option from admin?

I have a custom module for manage devices and import devices. I have a list of devices with Title, Description etc.. Now, I want to add a dropdown option for item assign to a category "Tab & ...
0
votes
0answers
218 views

Created a custom module (custom admin-form)

I have Created a custom module (custom form). But when i have seen user feedback from admin backend. There is no. of comments. Total no. of record is 350 in just 1 day. How can this possible ? ...
0
votes
0answers
186 views

convert sql query to magento collection

I am having a complex SQL query to make a custom report & showing same to custom report grid but somehow not able to convert the query into Magento's equivalent Collection. SELECT SUM(order_items....
0
votes
2answers
1k views

Get customer address information from observer

I have created an observer event on the customer_save_after event. At this point I am able to get the new name. I am trying to also retrieve their default billing address. If possible bring them in as ...
0
votes
2answers
1k views

PayPal IPN 503 Error

For the last 8 days I've not been getting any order information from PayPal when a customer purchases something. I've checked my IPN settings in my PayPal account and in the history log it shows: ...
0
votes
1answer
306 views

how can make different conditions in one collection in magento 1.9

here is my one new function i have minify it need to make a single use of collection for delay and verify, how to make common filter for all. $collection and $citycollection also need to make one, ...
0
votes
1answer
123 views

Patch 9767 can't be applied/reverted successfully in Magento 1.9.3.1 [duplicate]

I installed few patches in Magento 1.9.3.1. I tried to installed Patch SUPEE-9767 v2 from sh and manually as well. I am getting "patch can't be applied/reverted successfully" as error message. I have ...
0
votes
1answer
605 views

Product import csv images not getting imported

I have been trying to import products CSV to my magento store. I did import the products without the images and it was successful. But now when I try to import the product with image column I am ...
0
votes
0answers
189 views

How to validate link in text area

I used a contact form in my site. If anyone mention any link in message box, it should come as a text on my mail because currently i am receiving the link on my mail. In this image i am getting link ...
0
votes
0answers
59 views

Issue with subtotal when calcuate tax for credit memo adjustment refund

I am using Magento1.9.2.4, And want tax for adjustment refund as well that given in credit memo module. I followed this link's one of the solutions to achieve this: Is it possible to refund tax on a ...
0
votes
1answer
2k views

How to add DOB on checkout page

I want to add customer DOB field in billing address on checkout page, for this I have added below code : <div class="field"> <label for="billing:dob" class="required"><em>*</...
0
votes
2answers
113 views

Magento External File(Parallel to index.php): Can't check customer is logged in & total cart items

I have added an external file as same as index.php & having below code. require_once 'app/Mage.php'; Mage::app(); $isLoggedIn = 0; $isCartItems = 0; if (Mage::getSingleton('customer/session')-&...
0
votes
1answer
113 views

Admin order Item remove Product by coupon code not updating grand total

I am trying to remove Product by applying zero price coupon code its working fine but Grand total is not updating on apply the coupon code . its working if I click on update items button. I have ...
0
votes
1answer
50 views

Cron not working sometimes after installed module

we set up cron job as below . it was working until we installed module to send Abandoned cart emails. when we run http://sitename.com:81/cron.php, we get error as : Fatal error: Call to a member ...
0
votes
1answer
2k views

How to Show Out Of Stock Products at the end of product list in any sorting condition in magento 1.9

I am using Magento 1.9 , to display out of stock products at the end of product list i have replaced the code <?php $this->_productCollection = $layer->getProductCollection(); ?> ...
0
votes
1answer
93 views

Magento1 site mobile friendly test error

When i test my site in mobile friendly test suggested google it gives error. Page cannot be reached This could be because the page is unavailable or blocked by robots.txt I tried many different ...
0
votes
1answer
1k views

How to set up properly Cron job on shared hosting

I'm trying to set up correctly the Cron job for my Magento so i can send the newsletter. I've seen many guides but any of them worked for me. Here is my PHP info file: http://sportsdirect.bg/phpinfo....
0
votes
2answers
289 views

Magento Custom Module Not Showing

I've Create a custom module in community folder,this module installed successfully and my module is listed in system/configuration/advanced and it's enabled.But Still not showing in admin. My Code: ...
0
votes
1answer
550 views

Magento Connect Manager not opening

I am trying to access Magento Connect Manager it is not opening, it is showing blank page. What am I supposed to do? Please help
0
votes
2answers
499 views

How to change the page that shows up AFTER customer places an order? (order success page)

I would like to make some changes to the Confirmation page that comes up after the customer places an order (actually add the code for Shopper Approved) and I can't seem to locate which file and path ...
0
votes
1answer
233 views

How to show specific category products in cart page?

I would like to show specific category products in a cart page when one of its product from that category is added to the cart and also would like to show all those products in carousel. Can anyone ...
0
votes
4answers
54 views

Loading a custom block into Magento

Magento is still very much a learning curve for myself but I'm trying to steer away from so much of my hard-coded, procedural PHP and start following the Magento MVC. I've set myself the task of ...
0
votes
1answer
2k views

Cronjobs Magento 1.9.2.2 - Is it possible to have Cron.sh call Cron.php by /usr/php/54/usr/bin/php

I have spent about two weeks on and off trying to figure this out. I have honestly tried so many different things and configurations, I don't remember all of them anymore. Essentially I can't get the ...
0
votes
2answers
2k views

No region found within the locale 'shi'

While opening Sales->Order Grid in magento backend, i am getting this issue - No region found within the locale 'shi' I have searched for the solution but nothing to work for my case. If anyone ...
0
votes
1answer
58 views

Slideshow disappearance after SUPEE-6788 patch

After installing SUPEE-6788 my slideshow has gone, it's enabled and added to the content, nothing was change on that end. All I did was FTP the SUPEE-6788 patch. I added 6482 & 6285 refreshing ...
0
votes
1answer
1k views

Add to cart not redirecting to cart page

I Am using my custom design , it is not been redirecting the add to cart button to Cart page. is there any function or url i need to set in admin panel ?
0
votes
1answer
428 views

how to get Grand Total of Wishlish Items in magento?

i am trying to get grand total of wishlist item. when we update quantity of wishlist item then total will show in price column and display the all item grand total at bottom. anybody knows answer ...
0
votes
1answer
2k views

Not able to send email using custom template in magento 1.9.2 community edition

Hello guys i am trying to send an email in magento using custom email templates. But I am getting exception I have installed SMTP Pro Extension. I am listing code here:- My config.xml <template&...
0
votes
2answers
824 views

magento get the phtml file in email template with passing variable from email template to phtml file

I am trying to get the phtml file data in email template as well as passing variable from email template to phtml file as like below code. but am not getting the data from phtml file In email ...
0
votes
1answer
534 views

Setting a template for all actions of a controller using local.xml

I have created a custom module create/routing, with a controller RoutingController.php which has several actions index, upload, instagram and I would like to update the template for all of these ...
0
votes
0answers
1k views

Magento manage category page edit error

I am running Magento 1.9.0.1 version . The issue is with my categories. When I click on a category to edit it, it shows as a new category. When I did an inspect element on my chrome browser, I found ...
0
votes
2answers
79 views

Magento 1.9.3.4 compiler is disabled but the compiler status is always shown as enable. How to resolve it?

Magento 1.9.3.4 compiler is disabled but the compiler status is always shown as enable. How to resolve it?
0
votes
1answer
419 views

Review form to appear after On-click on a button

On the product page, I want to create a button on the product page which will trigger review form to appear. Currently, I am having just form on the page. And submit button of this form. So where to ...
0
votes
1answer
738 views

Getting Price Format with getAttributeRawValue

I have this code to get the price of related products in new order email: <?php echo Mage::getResourceModel('catalog/product')->getAttributeRawValue($relatedProductId, 'price', $storeId); ?> ...
0
votes
1answer
370 views

Why “failed to open stream” error?

I am integrating Zaincash module in magento. I am using this git. Module is installed and coming in admin->system->configuration->advanced but when accessing payment methods in admin its ...
0
votes
1answer
829 views

how to get Category description to the bottom of the page magento 1.9 [duplicate]

How can you move the categories description to the bottom . all the answers on the web say go to theme/category/view.phtml search description ...... copy that and replace it at the botto and voilla ...
0
votes
1answer
186 views

Magento Code Migration

I'm trying to migrate my existing Magento 1.9.2 code to Magento 2.2.2 I cloned the code migration toolkit from github and followed the steps but nothing has happened after executing the migration ...
0
votes
2answers
679 views

Search issue on Magento 1.9.3.1

I have an extension to replace the default Magento search, but I have always this message no product results. On the previous Magento version was work fine, after upgrade is not work anymore. I add ...
0
votes
0answers
73 views

How to create custom block for cart page in magento 1.9

I am trying to create custom block in cart page, Below is the my code I have tried so many ways, Still i din't get it. Request_Quotation.xml <config> <modules> <Request_Quotation&...
0
votes
0answers
49 views

Delete Product from the order

I am using Marketplace in My Website i used to delete product from order public function deleteproductAction() { $order_id = $this->getRequest()->getParam('order_id'); $product_id = $...
0
votes
1answer
71 views

checkout success page events magento

I have just created one module after checkout success event in Magento. etc/config.xml <?xml version="1.0"?> <config> <modules> <Tech_Paymentinfo> &...
0
votes
2answers
381 views

Summary of purchase on the success page

I wanted to summarize the purchase on the success page, as if it were a cart with all the products that the user bought, with the image, product name, quantity and price of it. From the code below I ...
0
votes
1answer
113 views

How to add price for the customer group and add it to the customer registration page

I need to add price for the customer group from magento admin so each customer group have a different price. I also need to show these group with group price on the customer registration page on the ...
0
votes
1answer
907 views

Magento 1.9 custom configuration is not visible in admin panel

This is my config file located at app\etc\modules\Mage_Homepage <?xml version="1.0"?> <config> <modules> <Mage_Homepage> <active>true</active> <codePool>...
0
votes
1answer
142 views

Add “View More” Functionality in Mega Menu

I have "bizarre magento theme". theme have mega menu default.client want to add "view more" functionality in that. for better understand see below image From Above image you can see brands category,...
0
votes
1answer
188 views

create product after user loggedin

We have 2 buttons in Product view page, after we click on 1st button, we are creating Product Programtaically. once click on 2nd button [ after entering email, password] we are assigning the product ...
-1
votes
2answers
142 views

Layer navigation problem

<div class="navigation"> <dt><?php echo $this->__($_filter->getName()) ?></dt> <dd><?php echo $_filter->getHtml() ?></dd> </...