All Questions

Filter by
Sorted by
Tagged with
2
votes
1answer
2k views

How to override Mage_Shipping_Model_Carrier_Flatrate?

I need to override Mage_Shipping_Model_Carrier_Flatrate through my custom module in magento 1.7. Right now i have done this : In my app/etc/modules/ i have the file "Namespace_Modulename.xml" with ...
16
votes
1answer
9k views

Why are my SOAP v2 WS-I calls so slow (7-10 sec. per product update)?

We're using the Magento SOAP v2 API with WS-I. The problem is, that the SOAP calls are extremly slow (7-10 seconds per product!). We're calling catalogProductUpdate without images. The shop itself ...
3
votes
3answers
14k views

With .htaccess file Server Gives error “500 : internal server error” [closed]

I installed Fresh Magento in Live Server with a subdomain (shop.example.com) And It given me error 500 : internal server error But If i delete .htaccess the site works properly Without .htaccess ...
2
votes
1answer
67 views

Admin module with as many image slots as user needs?

Something I use a fair deal in wordpress is allowing users to duplicate a field, so i provide one image slot and they can click a [+] button and get another image slot. I'm trying to make a quick ...
0
votes
1answer
329 views

Weird issue tab id coupons_section is not instanceof Mage_Adminhtml_Block_Widget_Tab_Interface

I am struggling with weird problem when go to admin and click for add new rule code or edit a previously created shopping cart price rule en error is coming out a:5:{i:0;s:29:"Test Wrong tab ...
2
votes
2answers
4k views

How to Insert Product Selection Widget into Backend Form?

Magento has a widget where I can select a product. I need to embed it into my form. To be more clear I will provide screenshot: From this widget I need only product id. I can see that I need ...
2
votes
1answer
447 views

Why are attributes like `status` and `tax_class_id` used in quick search by default?

In a fresh installation of Magento the attributes status and tax_class_id have "Use in Quick Search = Yes" by default. I can't see any reason why these attributes should be searchable and I always ...
1
vote
1answer
2k views

Duplicate title tags Magento issue?

I have a magento based website. For seo reasons I am getting Duplicate Title Tags problem from google. For example 12" Marakesh: /12-marakesh.html /memory-foam-mattresses/12-marakesh.html /memory-...
1
vote
1answer
703 views

Merchandising Configurable Products

tl;dr: I want the black simple product image to show up when black is chosen from layered nav in any category, but when clicked to still navigate to the configurable. Scenario: We operate a store ...
8
votes
9answers
41k views

How to set a product to be in/out of stock programatically

I tried a few snippets found online but with no success. Just trying to set a product to be in stock / out of stock with code, this is as far as I've gotten: $product = Mage::getModel('catalog/...
0
votes
2answers
1k views

Tables indexes - too little or too many

we have a Magento installation @ Mage 1.7. We've been around since 1.3 ... What we are seeing more and more is that certain indexes appear that are no longer in Mage 1.7. For example we have an ...
0
votes
1answer
2k views

addAttributeToSort by ASC ignore null values

I am try to sort my product collection. At first it should be sorted by alphabet (A,B,C..) and then by other character like NULL ... This is my code which I have tried... return $this->...
1
vote
3answers
8k views

Magento Password Reset Confirmation E-mail translation

I'm trying to create a Dutch translation for the Password Reset Confirmation E-mail. What i've tried so far: In the Magento folder structure, there is a directory holding all dutch e-mail ...
1
vote
3answers
7k views

Error When Adding Attribute: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '0' for key 1

I am trying to add a new attribute, but seem to have a problem with what I think is the increment IDs of the primary key of the table eav_attribute, which is attribute_id. Every time I try to add a ...
0
votes
1answer
188 views

Admin module custom select not saveing

Ok so I've created a custom module that has a single table model with a active select (no, yes) and a title and image. Now when I save the title saves and updates fine, the image is deleted or updated ...
1
vote
1answer
1k views

Redirect payments in backend

Is it possible to have redirect payments in the backend? And what is the workflow in this case? My custom payment methods uses the method authorize() to make an authorization request to a payment ...
0
votes
1answer
264 views

vat_id in customer_address not present

I updated a project from Magento 1.5 to Magento 1.7.0.2. In the latest Mage CE Version we have vat_id attribute in customer_address. During checkout this field is used to validate a customer for 0% ...
0
votes
1answer
2k views

Which module is responsible for mobile menu in admin panel?

I need to check from which file the mobile menu comes in the admin panel. I am searching it but not finding the particular file. Please help if anyone knows about it . Thanks, Sarvagya
0
votes
1answer
1k views

Init Resource Model Not Working - Returning Non Object

I am attempting to extend the Crawler portion of the Enterprise PageCache module, however, I am getting the following error, I believe it has to do with the line $this->_init('vmr_crawler/crawler'); ...
1
vote
1answer
843 views

Magento how to incorporate product attribute set into URL for XML sitemap and canonical URL

By default the Magento XML sitemap and canonical URL features ignore categories and write all URLS as www.example.com/model1a It appears that these features can't use categories because a product ...
1
vote
2answers
10k views

There are no products matching the selection

I can't seem to get the products showing up on the home page. I keep getting "There are no products matching the selection." This is what I have tried so far ... Category ID is 35, Is Active = Yes,...
3
votes
2answers
5k views

remove global messages not working

I need to remove global messages. I did put following to local.xml <remove name="global_messages" /> <remove name="messages" /> but messages still appear. I also tried to comment out ...
1
vote
1answer
3k views

How to sort child category collection

I a m using this function for getting child categories of current category public function getCurrentChildCategories() { $layer = Mage::getSingleton('catalog/layer'); $...
1
vote
1answer
446 views

Im trying to get the browser to recognize a css.php file

I have this file: <link src="http://mysite.com/theme/skin/frontend/default/beckin/css/options.css.php" rel="stylesheet" type="text/css"> Which shows in the source code. Also when I click on ...
1
vote
1answer
330 views

MageTool - Does clear cache clear the sessions cache?

I am using the Mage Tool to clear my cache, and I am wondering, when I clear the cache using this tool, does it empty all the users shopping carts? The tool can be found at : https://github.com/...
1
vote
1answer
63 views

Custom Extension Need to save Input Text and Output It in the Template

Here is what I have so far. I am not sure how to save the text fields (url's) and insert them into the template. Any help with this would be great :) config.xml http://pastebin.com/UZfVLs6P system....
5
votes
1answer
18k views

Calling custom .phtml file in footer?

I am having trouble getting a custom .phtml file to output in the footer. Here is the path to the file: beckin/themesettings/socialaccounts.phtml I created an xml file called beckin_themesettings....
0
votes
2answers
639 views

Error Upgrading Magento 1.3 to 1.7

One of my clients asked me to upgrade his website which was built on Magento 1.3, now I am trying to upgrade it to Magento 1.4 so that I can upgrade it to Magento 1.7. Magento Connect is not working ...
0
votes
1answer
2k views

Yoast canonical url and meta robots & Mage 1.7

Yoast canonical url and meta robots & Mage 1.7 Something I have been wondering about (and I think some others). Are the two YOAST plugins above still necessary in Mage 1.7?
1
vote
1answer
2k views

Adding brand logo works in product view but not in search result

I've added the brand logo in the product view phtml file like this: <div> <?php $brand=$_product->getAttributeText('brand'); echo '<img src="media/catalog/brand/'.str_replace(' ', '_',$...
0
votes
1answer
2k views

Problem in creating new block in Admin order page?

I am trying to create a new block in my admin panel "Sales->Order->View" Information tab. In my extension's block folder i have a folder named Adminhtml in this i have file named : Company.php class ...
2
votes
1answer
608 views

default value in advanced search dropdown

In my magento "advanced search" I have some attributes to be chosen via a dropwdown box. When the user loads the page all the fields default to "all". array_unshift($options, array('value'=>'', '...
0
votes
1answer
425 views

Paypal Hosted Solution Pro (Iframe) - Many wrong order created

I'm using paypal Hosted Solution PRO as payment method on my store. The integration is using API and Iframe. The issue is that even if the customer doesn't finalize the purchase, an order is ...
0
votes
1answer
1k views

Displaying new products with paging enabled

I am struggling with a situation for last 2 days that i want to display the new products using pagination and all sorting and per page option enabled on the template i saw that there is no code for ...
0
votes
1answer
2k views

There are no applicable items for return in this order

I am going through the RMA process, I have placed 4 orders now with different products, and each time I try to create an RMA, I get the following error message There are no applicable items for ...
-1
votes
4answers
361 views

Adding values from custom model as CSS in templates

I have a module that needs to display specific CSS values for each entry in my custom model collection. This is trivial enough, as I can simply echo these values with PHP in my template as needed; ...
1
vote
1answer
1k views

Javascript validation for international char-sets

I have a several store views for different languages and we're having some trouble with the new customer sign up forms. We have added the character set init statement for our database as follows: ...
1
vote
1answer
5k views

Adding a checkbox attribute to customer (instead of multi select)

Ok So I've managed to add a custom attribute to my customers currently only view-able on the admin panel side. Its listing out all the options from another module into the multi selects options as ...
1
vote
1answer
605 views

Magento Test Automation Framework and Community Edition

Over the last weekend I made the effort to experiment with Magento's Test Automation Framework (TAF), after a fashion, I got it up and running. However many/most of the bundled core tests do not pass ...
19
votes
1answer
4k views

Integrating composer's autoloader into Magento

So composer is awesome, and there's a lot of code in composer's packagist repository that makes writing Magento extensions easier. The problem I'm facing, is how best to (cleanly) setup autoloading. ...
0
votes
1answer
403 views

Error on indexing flat data?

I have a magento website based on community edition 1.7.0.2 which i have upgraded from magento 1.5.0.1.My website is having more than 40,000 products. My problem is that the indexing process on flat ...
1
vote
1answer
143 views

What could be pushing Reward History up 12 hours

when i submit an edited order in which the reward points awarded is negative (because the new processed order is less than the original), in the reward history one of the entries is pushed forward 12 ...
3
votes
6answers
11k views

How to get rid of Add To Compare links in the template

I am completely at a loss as to how to remove the Add to Compare links in my template. I have done a global search and found every file that contains that phrase and have carefully commented out the ...
3
votes
2answers
5k views

Change the number of products per page in category view

This seems like a totally simple thing, but I just can't figure out how to do it. I am running on Magento 1.7 and I can not figure out how to set the number of products per page in a category view.
6
votes
3answers
6k views

How to find all bundle products that contain a simple

I need to find a way to programatically find all the bundle products that contain a particular simple product. I'm hoping there is a simple solution this problem as I have been unable to figure one ...
12
votes
1answer
3k views

Messages block not using theme template

I am trying to change the phtml file for the messages block. I found in the base theme template/core/messages.phtml and copied that over to my theme and made the changes. My changes didn't show so I ...
0
votes
3answers
1k views

How do I retrieve an ajax friendly phtml file?

I have created a custom front end module that allows a user to go through a wizard like process. I would like to make this AJAX. I am loading my layout block with the following <batch_index_index&...
2
votes
1answer
1k views

Hide blocks on cart page if the cart is empty

In checkout.xml I see <action method="setCartTemplate"><value>checkout/cart.phtml</value></action> <action method="setEmptyTemplate"><value>checkout/cart/noItems....
3
votes
1answer
2k views

Magento Reviews - When do they get aggregated?

Can somebody provide some insight for when reviews get put into the rating_option_vote_aggregated table? I'm trying to filter through my reviews based on four stars or higher and I was looking to use ...
4
votes
3answers
3k views

PDO loads fine in Magento but not in external CMS

I am having a problem similar to https://stackoverflow.com/questions/2386575/the-pdo-extension-is-required-for-this-adapter-but-the-extension-is-not-loaded but not the same. The Magento install is ...

15 30 50 per page