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

Questions tagged [magento-1.8]

Magento Community version 1.8

Filter by
Sorted by
Tagged with
18
votes
6answers
7k views

How to allow only one product in a cart?

We have a requirement, wherein a customer will be allowed to add only one product to the cart at a time. However he/she can add any quantity of that product. How can I prevent a product from adding ...
16
votes
2answers
6k views

Magento hacked even after applied patch

Some days before my Magento community edition 1.8.1 site is hacked, because we are late to apply the patch. we found certain files were changed those are index.php [hackers added some code to it]. ...
15
votes
5answers
15k views

Full Page Cache on CE 1.8 - An FPC Magento Module? Varnish? Both?

So I am a bit confused as I go about researching Full Page Caching for Community Edition 1.8. I have already implemented a Two Level Redis Cache, CDN, tuned MySQL's my.cnf for max performance (w/ the ...
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 ...
8
votes
1answer
10k views

How to create the Product Grid Serializer Block In Custom module

I want to create the Grid Serializer functionality same as coming in Manage categories If Anyone create that type functionality then please guide me.
5
votes
2answers
6k views

Customer created_at Date off by months

I'm working on syncing my customers with a third party application and have discovered that many of my created_at dates are way off. Today is 2014-04-08 yet I have several records with a created_at ...
23
votes
2answers
7k views

Add Category tree in custom extension

I am trying to add Category tree to custom extention, the category tree which is in one of the tab of edit product page
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 ...
10
votes
1answer
5k views

Custom Package/Theme for Admin module that falls back to default package?

How Do i ask magento to use a custom layout package/theme for my custom admin module? What's the Structure and content that i have to include inside local.xml file if i have to use it for defining a ...
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 ...
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> ...
23
votes
3answers
3k views

Which api method is best for apps

I want to create iOS and Android apps for my Magento store. For this purpose I want to know which API method is best as app data API. Please suggest below of option of Magento: Soap Api Rest Api ...
16
votes
5answers
31k views

How to send email using Magento

I have created a form with some input fields in Magento. But when I click submit, Magento will not send the email. How can I send a basic email in Magento?
5
votes
8answers
12k views

How to add hreflang tags (or other meta tags) to pages in magento?

Hi using info from this site and around the web I have started to add hreflang tags to my magento store. They work and display as they should on the default (American)site, however on the alternate (...
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 ...
3
votes
2answers
7k views

Magento redirect from all pages if not logged in

So, I need to redirect user to some page(tt can be CMS or customer/account) if he did not logged. And on this page(CMS or customer/account) I will have a form to login/register. So, I made an observer ...
3
votes
1answer
8k views

How to stop auto invoice generation with Credit Card or Paypal payment methods

I need to stop Magento (version 1.8.1.0) from generating invoices automatically with credit card or paypal payment methods. I look at registerCaptureNotification() in app/code/Mage/Sales/Model/Order/...
2
votes
1answer
2k views

Core Url Rewrite bug in Magento 1.8?

I remember there was a bug in Magento 1.7 and EE 1.12 which generated URL writes each time a category was saved. We noticed this when clients started seeing millions of URL rewrites. There was a patch ...
0
votes
2answers
7k views

Moving from http to https - redirect via htaccess file

All my urls were unsecured and was indexed by google like that. Now I'm planning to secure all my pages with https But when the old urls show up on google search they automatically resolve to the ...
25
votes
1answer
54k views

magento: invoice PDF design customization

I want to customized the Invoice PDF layout. when there is big product name the the table data are not looking proper aligned. How Can i easily manage the design of the PDF INVOICE. I tried to ...
9
votes
5answers
17k views

Redirect user after login

I wanted to redirect user to "Home" page instead of "My Account" page after login, and i was successful to achieve this making use of <customer_login> event. But I was also redirected to ...
5
votes
3answers
12k views

Trying to override a controller

I am trying to override a Mage controller which is in Mage/Catalog/controllers/CategoryController.php. The folder structure which I created in trying to override the above controller is as follows: -...
2
votes
2answers
11k views

I want to use ADD TO CART via URL in Magento 1.8 but don't know which files to change

I have seen some suggested changes to make to call the FORM KEY to allow the ADD TO CART FROM URL to work. <?php $formKey = Mage::getSingleton('core/session')->getFormKey();?> <form ...
12
votes
2answers
36k views

How to enable https for my magento site

I am using magento version 1.8. I have installed ssl certificates from godaddy and given the base secure url as https://www.mydomain.com. I have also selected both the options Use secure urls in ...
8
votes
2answers
25k views

Recommended Magento PHP memory limit

Simple question. What is your recommended PHP memory limit for Magento?
5
votes
9answers
34k views

CSS is not loading on the frontend in Magento

We are facing an issue with the css styling in Magento store. I tried refreshing the cache in admin but that didn´tt fix the issue. Use Varnish as external cache NGINX Magento 1.7.0.2 Ultimo as ...
4
votes
3answers
8k views

How to add multiple product to magento cart from outside of magento?

I have to add multiple items into magento cart from out side of magento (external website), through /path/to/app/checkout/cart/add?product=[id]&qty=[qty] this method I can add one product to the ...
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....
2
votes
1answer
2k views

How to Ignore Catalog Pricing Rule when applying Shopping Cart Price Rule?

I have an ongoing 50% Off Catalog Pricing Rule currently active across my store. A few days back I have also distributed coupon codes on a Radio show with 25% Off. Now i have a situation where ...
4
votes
1answer
9k views

rewrite url using config.xml

I'd created a module and the url for the same is something like: http://magento.korenpub.com/designer/index/index/id/26/value/Joseph%20B.%20Soloveitchik but I need to rewrite the url to http://...
1
vote
2answers
2k views

How to send 2 newsletter success emails at the same time with magento [duplicate]

I managed to add the 2nd emails select field but am wondering how to send 2 different emails to the newsletter subscriber.
43
votes
9answers
43k views

Magento 1.9, php 5.6 - Use of iconv.internal_encoding is deprecated

Have the same with Magento CE 1.8 and 1.9 After update php from 5.5.16 to 5.6.0 on my VPS I got this 2 errors in [magento]/var/log/system.log: ERR (3): Deprecated functionality: iconv_set_encoding():...
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 ...
23
votes
3answers
10k views

How to truncate magento table using collection?

I have a custom table. I want to truncate the table using Magento collection without SQL query. Hope someone will provide some useful information.
11
votes
3answers
2k views

Email templates from admin

I have this strange issue with the Magento Transactional Emails. I have the same files on my local, development and production servers. From Admin > System > Transactional Emails > Add new template ...
8
votes
1answer
2k views

High-loaded service. Soap vs Rest

I have a task to make an api for Magento using it's SOAP or REST implementation. I've read a lot about both services, also have experience with them. But not in high-loaded projects. The task of ...
9
votes
6answers
19k views

Is there any way to add JS/CSS to footer page?

I have a custom requirement to add a specific JS and CSS related to website's footer. Is there any way in Magento by which I can add it in footer section ?
8
votes
5answers
47k views

Products do not show up in front end

As shown in the picture i have a category speakers having one item(product - Mini Car Speaker) and one category that is empty. But when i try to access this from the front-end it does not show up. ...
5
votes
2answers
10k views

Magento Fatal Error - setSaveParametersInSession() on a non-object

I tried to create an admin grid on magento.Get the error while click on the admin menu setSaveParametersInSession() on a non-object. My Config.xml : path(\app\code\local\ORD\UpdatePro\etc) <admin&...
4
votes
4answers
6k views

show attributes in description.phtml

I found it is hard to show the attributes in Description.phtml,it is hard to me. i wish to show some attributes as Brand,Color,Name in Description.phtml ,i copied the attributes.phtml and change some ...
3
votes
3answers
4k views

Allow SVG on Product images

How do I allow this attribute type to handle SVG?
1
vote
2answers
8k views

Return error message from observer Magento

I made a custom module for observer on customer save before event for admin-side My config file in local/Pavans/Profile/etc <adminhtml> <events> <...
5
votes
1answer
7k views

How to Dynamic generate Open Graph protocol meta tags

<meta property="og:url" content="<?php echo "http://". $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];?>"/> <meta property="og:description" content=""/> <meta property="og:title"...
4
votes
3answers
3k views

how to setup multiple language in magento single store view

Now I try to setup multiple language in magento single store view. So, Is it possible in Single Store view? Because I have created Multiple Store views For Every Vendor. So, Now can I have multiple ...
8
votes
2answers
10k views

How to add acl in custom module in magento

I created custom module in magento. I created that menu under customer menu. I need to add acl for custom module. I need to know that how to create acl in custom module i m giving here my config.xml.....
3
votes
1answer
2k views

How to create Mouseover Shopping Cart Icon in right header?

GOAL: Add a SHOPPING CART ICON to Magento 1.8.1 - Ideal Cart will look like this: http://www.cctvhotdeals.com/ And contain the features such as # of items, mouseover to show items, etc. To Clarify ...
3
votes
3answers
8k views

Magento 1.8 : Import product for store view

I have two csv files. One for english store view, and one for french. French store is my default store. I have wanted import csv files separately, but when I imported second csv for english, it ...
2
votes
2answers
5k views

Custom Product Collection not Getting Filtered by Layered Navigation

I had Overridden the product List.php Class & here is the code protected function _getProductCollection() { if (is_null($this->_productCollection)) { $result = array_unique($productIds); ...
1
vote
1answer
1k views

Adding extra fields to newsletter_subscriber table not work

I try to add a type(extra field) to newsletter_subscriber table. Following is my approach to add the field. 1.Add new column to newsletter_subscriber table(types) 2.Add types check box to subscribe....
1
vote
2answers
510 views

Core/Local which is better?

I recently fell into an interesting argument. My question is when should we use the local codepool to completely overwrite a class and when should we use Magento class overrides extending a class. ...