Questions tagged [magento-1.8]
Magento Community version 1.8
3,214
questions
8
votes
6answers
9k views
Graph is not showing magento admin dashboard
My Magento having over 1 lakh products orders, but graph not showing according to sale on magento admin dashboard.
please help me what i need to do.
Graph showing blank. no graph image is showing.
...
8
votes
2answers
6k views
Why some html tags in not saving in cms pages?
I am trying to put some html in my home page but whenever I save the page the tags are gone, it doesn't save.
Here is the html which I am trying to save in the page ie.
<section class="bottom_sec"...
8
votes
2answers
3k views
review_save_after event observer is not running correctly
I am using Magento 1.8 version. I have written an observer that has to run when admin save a product review with status "Approved". And i have created a ratings attribute for every product with ...
8
votes
2answers
34k views
File and folder permissions for Magento setup
From the Magento wiki I found the file and folder permissions to be set to:
#for magento 1.5+
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
chmod o+w var var/.htaccess ...
8
votes
2answers
765 views
Exclude associate product of configurable product from catalog price rule
I am trying to exclude the associated simple product of configurable product from catalog price rule.The reason behind to doing this all that I have already added -price in super attribute ...
8
votes
1answer
2k views
Getting started with Magento REST API
So the official documentation is very terse (bad!), particularly for someone who hasn't worked with REST/Oauth in the past. I'm using Magento 1.8.1 CE.
Can somebody provide a simple PHP example of ...
8
votes
1answer
1k views
REST api call for Guest user
Developing android native application using scribe library, and uses Rest based web services from existing Magento based eCommerce platform.
I have got prerequisite requirement like 'Key' and 'Secret'...
7
votes
5answers
27k views
programmatically adding product to cart returns empty price
i have been trying to programmatically add a product to cart using following lines of code, it seems to work and successfully adds product but for some reason, the price of newly added product always ...
7
votes
7answers
47k views
How to set proper permissions for Magento on server?
I'm getting lot of issues with permissions.
In magento admin panel:
Your web server is configured incorrectly. As a result, configuration files with sensitive information are accessible from the ...
7
votes
3answers
12k views
How to get Last OrderId inside an Observer
I am trying to get the last order id for an order so that I can create an invoice and shipment automatically but I can't seems to load the correct orderId to perform the action...
Here is how I am ...
7
votes
6answers
25k views
Magento: Add captcha to custom contact form
I created a new custom contact form in Magento website, I am trying to add captcha at the end of it.
I have added to app/code/core/Mage/Captcha/etc/config.xml
<customcontacts>
...
7
votes
2answers
6k views
What is the difference between getData('name') and getName()
I am using magento 1.8
And I am facing problem when I use below methods
$product->getData('name');
$product->getName();
Is they are same,
I sure that they return same value[answer].
When I ...
7
votes
3answers
5k views
Cookie Restriction Mode Translation
With latest release, CE 1.8.1 cookie_restriction_notice_block went to before_body_end in layout (/app/design/frontend/base/default/layout/page.xml). But users don’t realize about that notice nor that ...
7
votes
4answers
18k views
How do I configure Robots.txt in Magento?
I'm trying to setting up de robots.txt on our Magento store.
Actually, I have no idea of the best way to set up the robots.txt.
7
votes
4answers
11k views
Magento Upgrade/Roadmap/Migration from 1.9 to 2.0
As we all know, Magento 2.0 is now available.
Many of us are running an older version of Magento (atm).
In my opinion, we need to build a roadmap to migrate Magento to the newest version.
For older ...
7
votes
1answer
218 views
Shopping cart sorting
In the shopping cart we need to sort products in the order they are added and the grouped products need to be ordered alphabetically.
7
votes
1answer
2k views
Bulk delete tier price and tier price customer group
How do you bulk delete tier price and tier price customer group?
Is it possible to do it by Magento Import or Magmi?
7
votes
3answers
939 views
What could be bad about using symbolic links with local.xml
Synopsis
First and foremost nobody likes to work on production applications. Therefore it is advised and good practice for someone to set-up separate stores, my structure is as follows:
dev.magento....
7
votes
3answers
3k views
PHP Fatal error: Call to a member function setData() on a non-object in Permissions/BlockController.php on line 113 - After Applying SUPEE-6788
PHP Fatal error After Applying SUPEE-6788:
Call to a member function setData() on a non-object in
app/code/core/Mage/Adminhtml/controllers/Permissions/BlockController.php
on line 113
First I ...
7
votes
2answers
2k views
how to implement HSTS for magento
How to implement HSTS in magento?
I have just moved from http to https, and I read that HSTS should be implemented to reduce latency and improve security, so how do I go about it?
7
votes
1answer
7k views
How to check what suppee patches have been installed on Magento [duplicate]
I'm about to start working on a Magento website and with the two security patches released yesterday (SUPEE-7405 & SUPEE-7616) I would like to ensure that all other security patches were installed ...
7
votes
1answer
965 views
How PHP 5.4 support patch for Magento helps?
I've installed Magento 1.8 Community Edition and PHP version - 5.5.8
Operating System: CentOS 6.4
I have installed and configured nginx 1.0.15 and Redis for caching.
And it seems Magento 1.8 works ...
7
votes
2answers
848 views
Payment section on checkout progress block is updating wrong details
Payment section on checkout progress block is updating wrong details.When you select saved cc method as payment method and click on continue after filling up all the required fields. the progress ...
7
votes
1answer
1k views
Printing invoice in different custom language
I have one website with multiple store views for different languages. All store views have same products, but use different front-end languages which are stored in locale.
When someone orders from ...
7
votes
4answers
6k views
Access Sub-category without Parent Category
We have following category and sub-category in our store.
Category: http://yoursite.com/category.html
Sub-category: http://yoursite.com/category/sub-category.html
Is it possible to access sub-...
7
votes
1answer
1k views
Url validation in form field
I added below script to validate url in my form field. It shows valid url.Even if i use magento default class validate-url It won't show error.
$url=https://www.google.co
if(!preg_match("/\b(?:(?:...
7
votes
2answers
854 views
Magento: Filter huge sales order collection
I am trying to filter a huge collection of sales order. There are more then 5 million records in it. Below is my code to get the order collection and also i puts some joins to get the desired columns
...
7
votes
1answer
2k views
Magento Index : Update Required field always is set to YES
I am not very much sure about how Magento Indexing works, But "Update Required" field is set to "Yes" immediately after i am done with re-indexing all indexes.
I have few queries regarding indexing
...
7
votes
1answer
2k views
How to add WYSIWYG editor button in phtml form
I want to add wysiwyg editor button for 'characteristics' field in below form. I added script as in backend, but is not working in my form. When I click that button it alerts windows is not defined,
...
7
votes
2answers
503 views
Whitespace before SOAP declaration
We recently got a weird bug, and I'm wondering if anyone has encountered it.
When Magento generates the WSDL (v2) it started adding an extra whitespace before the declaration.
This seems to pretty ...
7
votes
1answer
2k views
Data lost in Progress bar on moving to new tab in magento checkout
My requirement is to customize the Onepage checkout process and adding a new step between the “Payment Information” and “Review” Steps.
So I followed the following instruction.
http://www.fontis.com....
7
votes
2answers
324 views
Email not send when put order for recurring profile products
I placed the order for recurring profile products. New order email not received. If I put the order for normal products, I received the email.How to fix this. Is any option in backend to enable this?
7
votes
3answers
618 views
Dynamically change the category layout based on filters
Synopsis
I have a problem where by a Magento Store I am working on has been configured to use grouped products with associated simple products. These products can be filtered by the products ...
6
votes
6answers
16k views
Integrity constraint violation: 1052 Column 'increment_id' in where clause is ambiguous
I am trying to create a customer grid module that accesses different table columns from sales_order information such as billing, payment method etc..
I have the grids show the correct data but when I ...
6
votes
4answers
41k views
How to move magento shop to another server
I was having my site in shared hosting, I took the entire backup, its structure is like
addons homedir mysql resellerpackages suspendinfo
bandwidth homedir_paths ...
6
votes
2answers
30k views
How to get json data on frontend in magento
I have a custom module, which uses for email varification in frontend of magento. This module will appear as a popup in homepage while it loads. I want to do some other functionings such as display ...
6
votes
3answers
3k views
AOE Profiler not displaying in footer
Have tried installing AOE Profiler on a Magento CE 1.8 site, successfully installed with Composer but despite enabling it in index.php, local.xml and the Magento backend, the profiler doesn't appear ...
6
votes
1answer
11k views
upload multiple files with Varien_File_Uploader
This question is related to my previous question where I'd created a tab form in admin using a template file. The content of template file is:
<div class="entry-edit">
<div class="entry-...
6
votes
3answers
4k views
Magento 1.8 Need database query change all products custom design template
Ok I am in the process of updating a theme in Magento 1.8 and have everything set except the products are still showing the old theme. The store has about 1800 products and would take me forever to ...
6
votes
3answers
8k views
how to re-install custom module in local with sql script
i created a module vendor... i also created a sql script..
bt when i remove my module from site.....then whole thing is fine...
bt when i re install my module then my sql script is not working.....
...
6
votes
3answers
23k views
Display more items per row in products/category pages
I am trying to display more products on a single row. I don't know where I could do that? For now, it displays only 3 products per row and there is a lot of empty space.
I would like to display 5 ...
6
votes
2answers
5k views
How can I issue store credits in Magento CE?
I want to know, is there anyway that customers can have funds added to an account balance and then use their balance for shopping?
Don’t need buy coupon, gift or some things like these…
I want they ...
6
votes
3answers
10k views
Remove Item By key Using with Own attribute
I am using the Function $collection->removeItemByKey($key);
As i know that the above function remove product one by one based on the key and that key is product id,
My Question is Can we remove ...
6
votes
1answer
5k views
How to detect a change in data inside the tab in custom admin module [closed]
While editing the elements in the custom admin form, how can I check whether the form has been edited to the last saved data of the form? Is there any way I can check this using any inbuilt Magento ...
6
votes
3answers
10k views
Admin not saving changes
I've seen a lot of people with similar issues, but none of the many resolutions I've seen online have worked for my situation.
Magento 1.8 Community Edition. Admin changes are not being saved. ...
6
votes
4answers
5k views
keep the checkboxes of mass action checked for some items, by default
In my Grid.php of custom module, I added the following code (excerpt) to enable mass action.
protected function _prepareMassaction(){
$this->setMassactionIdField('entity_id');
$this->...
6
votes
1answer
10k views
What is the difference between htmlEscape and escapeHtml functions in Magento?
I've just been updating a Magento site, and I see one change in the base template files is that htmlEscape has become escapeHtml throughout. Is there any difference between these two functions?
Is ...
6
votes
2answers
3k views
Magento turn off URL rewrites for invisible products
I have my products made as "configurable products" and it's around 300 of them. And they have around 10-20 simple products associated (each). But 2 of my configurable products have around 3000 simples....
6
votes
2answers
19k views
get order status from order id, email and customer's last name
I'm currently looking for a method from which I can get the order status based on the order id, customer email and customer last name.
I'd written this code so far
public function orderHistoryAction(...
6
votes
4answers
1k views
Hide/disable standard shipping when qualified for free shipping
I have read the other suggestions for similar problems but I have not solved my issue yet.
I'm using standard shipping (with tablerates.csv) and free shipping on orders over $50 plus a flat rate for ...