The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [magento-1.9]

Magento Community version 1.9

Filter by
Sorted by
Tagged with
12
votes
4answers
38k views

Get product stock quantity in magento

I need to get product stock quantity for the item, how to get that $products = Mage::getModel('catalog/product')->getCollection(); $products->addAttributeToSelect(array('name', 'thumbnail', '...
10
votes
6answers
4k views

Migrate data from Magento 1 to Magento 2

Best way to Migrate data from Magento 1 to Magento 2. I found below tools provided by Magento and some third party but don't know exactly which one to follow and what is the best way. Magento tool: ...
8
votes
6answers
31k views

Helper Data not found in magento

I wrote a new extension and trying to create a configuration setting file in Magento Admin. When I run on browser after clearing the cache I got the error like below Fatal error: Class '...
8
votes
1answer
4k views

Is magento http/https secure or should the entire website be forced to use https?

I'm setting up a magento website but one thing i've noticed is https can be used only for secure content such as login pages and account details etc. This means on product pages regular http is used. ...
7
votes
2answers
801 views

Certification and training - Magento 1 vs Magento 2

Looking to get certified as a Magento developer however finding the certification page a bit confusing. It looks as though all of the certs are for Magento 1 and but you can do Magento U Courses for ...
6
votes
1answer
1k views

Understanding how magento merges layout XML data

How does Magento handle layout XML files? For example if I have created a theme app/design/frontend/example/theme and copy an XML file from the base/default/layout directory in my theme's layout ...
6
votes
2answers
8k views

How to add custom tab to My account(frontend)

I need to add new tab in my custom module to frontend(my account) -> this may be addLink or customer_account_navigation (its depend on the requirment) ...
4
votes
3answers
330 views

How to Debug Shopping Cart Pricing Rule Error?

Shopping Cart Price Rule - By using ZIP Code and Subtotal - Free shipping Not Working Shipping Method : Webshop Matrix Rate I am applied Shopping Cart Price Rule using zipcode, May I know where I ...
4
votes
2answers
4k views

Include category in search result

When we search any text in default magento it shows only products in the search result but I want to show the categories also when someone searches for a query string. Like if query string is like ...
3
votes
2answers
5k views

Shopping cart rule : discount if 2 different sku are in cart

I'm looking to build the following Shopping Cart Rule and I have no idea how to do it. I have multiple sku available, if you add 2 different sku in your cart, you get 10% off. It can be any ...
3
votes
4answers
4k views

Add category path to breadcrumbs on product view page

By Default Manual Navigation Products breadcrumb looks like, Wanted product detail page: When I reached to product page using by search the breadcrumb looks like, Current product detail page: ...
1
vote
0answers
108 views

Manage Attribute Sets :: How to solve Magento 1.9.2.3 Unassigned Attributes Fields Empty?

After added new attributes, Unassigned Attributes field is empty, ver Magento 1.9.2.3 Note : What are all the possibilities of error?
9
votes
3answers
14k views

What's the best way to create landing pages in Magento?

I was wondering if the best way to create landing pages and templates for these in Magento is to create cms pages? Write static blocks and then create a new cms page all the time or is there another ...
8
votes
4answers
4k views

Translate url keys when switching store

Hope one can help me out with this problem i'm facing. Situation: I've got 1 website in 5 languages (e.g. example.com, example.com/it etc.) Problem: Now I've got example.com/about-us and example....
8
votes
3answers
29k views

Re-index magento via ssh / putty

I have logged into my Magento instllation via ssh/putty, I then ran cd public_html to get to my root folder and am then running the following commands: php indexer.php --reindex ...
7
votes
5answers
15k views

Add Review Form To Product Page Magento 1.9

I'm looking to move the product review form from /review/product/list/ to the product page, underneath existing reviews, on Magento 1.9.0.1 using a child theme of RWD. This is the original review tab ...
7
votes
2answers
5k views

Adding product to cart cause error 'The stock item for Product is not valid.'?

I'm adding a nominal product programically to the shopping cart. But it throws an exception as 'The stock item for Product is not valid.'. How can I resolve this? NOTE : $product is getting passed to ...
6
votes
3answers
2k views

PayPal Express FIRSTNAME and LASTNAME instead of SHIPTONAME

In Magento 1.9 PayPal is transferring a SHIPTONAME which is used for the shipping address. Instead of populating firstname and lastname with the correct variables, only firstname is populated with ...
5
votes
2answers
5k views

Memory limit when uploading product image

I just setup a testing installation yesterday. I ran the server-check file and all was fine. Installation went smoothly. The image upload doesn't work in the Backend! After uploading any image, ...
5
votes
5answers
5k views

People from Russia making fake accounts in our Magento 1.9.x store - why?

Magento 1.9.1 and 1.9.3.7 Porto theme We have 2 Magento installations each with multiple domains/websites. I have noticed recently in the CUSTOMERS --) MANAGE CUSTOMERS area that there are customers ...
5
votes
2answers
5k views

Magento 1.9 - TypeError: this.toggleElements.toggleSingle is not a function

I am a developer Magento themes but I'm still learning how to work with the theme rwd. I am getting a javascript error (below) when I see our store smaller screens resolution. TypeError: this....
5
votes
5answers
23k views

New Order Email Notification not working

The website I am working on doesn't sends the orders notification email either to admin nor to the customers. But the admin and customers receive registration and reset password notification emails. I ...
5
votes
3answers
4k views

Can't update or delete attribute options

I have a strange problem with Magento. Recently I'm not able to delete an attribute option or update the postion of an attribute option. When I change the position i.e. from "3" to "0", it will just ...
3
votes
4answers
341 views

Unable to find *all* Magento 1 extension screenshots, reviews in Magento 2 Marketplace. Any alternative archive to search/discover/save? [duplicate]

Tried searching Magento 1.x extension screenshots in Magento Connect and was redirected to Magento 2 Marketplace. Tried searching some of the magento 1.x extension screenshots, reviews in the ...
3
votes
1answer
3k views

Unable to save the invoice

I have set up a magento store with 5 stores for different sections of the charity. My problem exists in one store only 'fundraising'. The issue is this: when a ticket is purchased through the store ...
2
votes
2answers
4k views

Website infected by virus

I am new to Magento and few days ago my website is hacked by spammers. Now I want to rebuilt my droplet. Can someone please tell me step by step process. I can install LAMP and Magento template, only ...
2
votes
1answer
10k views

Magento 1.9 - Change color or email templates

Im trying to change the color of the standard email templates. I have: Magento 1.9 Set custom skin to my custom theme Moved email-inline.scss and email-non-inline1.scss into my custom theme All I ...
2
votes
1answer
299 views

How to solve Soap_V2 - Uncaught SoapFault exception looks like we got no XML document - SoapClient->__call('login', Array)?

After configuration SOAP_v2 for getting products info, Magento version : 1.9.2.3 Code: <?php $proxy = new SoapClient('abc.com/api/v2_soap/?wsdl'); $sessionId = $proxy->login((object)array('...
2
votes
4answers
40k views

How to use custom navigation menu instead of categories menu

As per my requirement in current project i need to place custom menu which should have general pages as menu items like Home,About Us etc but in basically we get categories as nav-menu in magento so ...
1
vote
1answer
6k views

How to create mobile version of Desktop site in magento

Basically I have a website http://stylanzo.com which is responsive but on mobile i want to change that view.....basically on mobile i want to url like this m.stylanzo.com. I don't want to change in ...
1
vote
3answers
7k views

how can we install Magento on AWS?

I am new to amazon web services.And I want to install Magento 1.9.1.1 on it.Can anyone suggest me how to do that?
1
vote
1answer
2k views

Display the store views depending on I.P address

we have 2 store views for 2 countries [India & USA ] with store view codes sv1 & sv2 what we want is , if customer visit the site from USA, it should open USA store-view if customer visit ...
1
vote
1answer
2k views

Best way to migrate from opencart 1.5.3 to magento 1.9

Hi Magento Developers , I have a opencart website with, 60 products 555 Orders 1837 Customers I'm in need to migrate entire opencart to magento, so far i've done the fronted theme. Now the biggest ...
1
vote
2answers
2k views

How to add Barcode in invoice pdf in magento

I want to print "Barcode"(image) in invoice means when we generate invoice from admin panel the that invoice should contain all product related details along with barcode image .I saw all questions ...
0
votes
3answers
2k views

Block Certain Countries from Access?

Realized that a lot of bots are coming from countries the shop does not ship to. Some are harmless crawlers (e.g. Russian, Chinese Search Engine bots) but often a lot of vulnerability search crawlers ...
0
votes
2answers
938 views

Magento 1: why the upgrade process drastically changed?

So back in the days (not too far though as upgrades before 1.5 were super painful), the upgrade process for Magento 1 could basically be done by one of those two lines (depending if you installed/...
23
votes
4answers
24k views

How to get the store id from the code

So I have the store code and I would really like simply the store id. Ideally I do not want to simply load the store completely as I only need the id. One idea I had was to load this via a collection ...
11
votes
2answers
5k views

Magento 1 Widget setup in backend - how do I move upwards

I have a widget setup on all category pages via backend -> CMS - > Widgets Now when I use this method I select a block for category pages and the block shows up nicely. It is at the bottom of all ...
9
votes
1answer
4k views

Adding layered navigation block to custom page

In Magento, the Layered Navigation block works nicely in the product list page. How can this block be successfully copied to a custom page, where there is a custom list of products? Note: Just ...
7
votes
1answer
1k views

How to list all currently online admin users?

In Magento I have created multiple admins with different roles. How do I get the list of online admin users. Similar to the online customers list? I have used Mage::getSingleton('admin/session') ...
6
votes
3answers
11k views

sales email cron job not sending (1.9)

I have verified that the cron script is running, but order confirmation emails are not being sent out. When I open cron.php I see nothing in there regarding emails. Do I need to add anything to the ...
6
votes
3answers
23k views

Transactional Emails modification

How can i modify transactional mails in Magento? I want to change the email content. The emails are not listed in system->transactional emails list. I have checked app/code/locale too. But I ...
6
votes
3answers
313 views

Magento add position 999 when assign product to category

I'm using Magento 1.9.x and trying to change default position number of products. Ex, when we assign product to category via product page i need to set it to 999 position I changed default position ...
6
votes
2answers
468 views

Hide completed orders from sales/orders

In sales/orders is it possible to hide completed orders ? using something like filters. or can I filter the status column with more than one status ?
6
votes
4answers
8k views

Missing image upload button

I can't seem to see any of the upload of browse image buttons on my magento backend, I have tried Firefox and chrome with no luck. I get these errors in Firefox inspect element: TypeError: ...
5
votes
2answers
678 views

Rating Filter in Layered Navigation

I want to implement Rating Filter in layered navigation sidebar. But I have no idea how to proceed or where to begin.. Read this article.. got little idea but still don't know to implement rating ...
5
votes
4answers
4k views

Magento 1.9.1.0 patch SUPEE-6788 1 out of 1 hunk ignored missing .htaccess.sample

I am using Magento 1.9.1.0 and tried to install the new patch SUPEE-6788 through SSH but getting ERROR below. I am not able to understand what's wrong and where exactly the error lies I have ...
5
votes
2answers
6k views

How to remove zip postal code and country from checkout form?

I want to remove zip/postal code and country from checkout page. I removed them from billing.phtml file successfully. But when submit checkout data it shows alert that "country" and "zip/postal" code ...
5
votes
2answers
3k views

What the meaning of <fieldsets> in config.xml [duplicate]

Here is my code. <global> <fieldsets> <customer_account> <customeattribute> <create>1</create> <update>1</...
5
votes
4answers
10k views

Add product to cart programmatically invalid request for adding product to quote

I'm trying to create a controller to add a product to the cart programmatically in magento 1.9, like this: <?php class Namespace_Module_IndexController extends Mage_Core_Controller_Front_Action{ ...