All Questions

2
votes
2answers
468 views

Getting jslider to work with Magento Go [closed]

I just started using Magento Go. I've already discovered where to go and add css and uploaded the jslider plugin, the jquery that allows making an image slideshow. However, making use of it in a ...
2
votes
1answer
5k views

Get skin resource path or url for set package and theme

I'm trying to get the header logo image and having some issues.. I keep getting the base/default package/theme instead of what is set as the package and theme for skin in the admin. Here is some code ...
2
votes
2answers
672 views

How to clear the cache by Magento Web Service

I wonder if you have any way to clear caches Magento Web Service. If not there how do I clear the cache programmatically ? I need it just for the reason to be developing an application that ...
1
vote
1answer
249 views

Best place to add URL Rewrite during extension install

I am working on an extension right now that needs to have a URL rewrite setup when it is installed. Is the best place to do this in a data install script? If not, where should this be done?
4
votes
1answer
705 views

How do you install the latest enterprise edition with n98-magerun?

I'm trying to figure out how to install the latest enterprise edition using n98-magerun. Can you install from a zip on the local filesystem using n98-magerun? Is the latest Enterprise Edition ...
6
votes
1answer
11k views

change stock availability programmatically

How I can change stock availability ie in stock and out of stock of product programmatically using product ID?
0
votes
1answer
1k views

Open Mass action Url in New Tab in the Admin grids

Is this Possible to Open Mass Action target url with submitted data in New tab or Window in Magento. I have tried and searched for this but not find any solution. $this->getMassactionBlock()->...
2
votes
1answer
286 views

comparing form data with database

I am trying to work out what would be the fastest way to compare user data which has been entered into a form with user data that is already stored in the database. My plan was to pull all details of ...
0
votes
1answer
2k views

Register user product review not reflecting in My account section

If any register user (already logged in) write any product review it submitted successfully. but In My account section, My product reviews is empty. Any clue why reviews are not assigning to logged ...
0
votes
1answer
135 views

Customer Collection Object Not Instantiated

This might be a stupid question :) Mage_Customer_Model_Convert_Parser_Customer has the following method: protected $_collections; public function getCollection($storeId) { if (!isset($this->...
2
votes
1answer
1k views

How to add “Edit” button on product in cart page?

I need to add an "Edit" button on my cart page products. I think "Edit" button on cart products has been added after magento version 1.5.x Is there any way I can add "Edit" button on cart products ...
2
votes
1answer
4k views

How to select the images as base image thumbnail image in bulk?

I have imported 7000 products through an Oscommerce website everything is great except that the imported images are not selected as base image , small image and thumbnail image. I need to inform you ...
2
votes
1answer
930 views

pull database data into a text field

I have created a table in my database as part of my custom module. I would like to add user information into a text field from the custom table based on parameters in the address bar. So far I have ...
0
votes
1answer
2k views

Catalog Flat Category reindex issue

I am using magento 1.7. I came up with the following issue 'cannot create table column without comments'.I have attached the log 2013-07-26T08:33:24+00:00 DEBUG (7): Exception message: Cannot create ...
1
vote
2answers
20k views

How to delete or remove the store?

I have a magento website in which the store structure is: All Store Views Main Website Main Website Store Default Store View Main Website Store English Main Website Store English ...
0
votes
1answer
301 views

Magento 1.6- Where did Order Archive section go?

I am looking into this guide: http://www.magentocommerce.com/knowledge-base/entry/archiving-orders However, I cant find Order Archive section anywhere in Magento 1.6... Can anyone tell me where is ...
1
vote
1answer
1k views

Fetch catalogCategoryTree through Soap API fails with custom attribute

For a Magento 1.7.0.2 instance, I'm trying to integrate a custom attribute legacy_id in the category listing. This will be used to match categories from a backend system with the Magento categories. ...
0
votes
1answer
169 views

Google Base not working in Magento 1.5.1.0

I have integrated google base in my site. I gave google merchant details (username and password) in " configuration -> sales > Google API" in that google base tab. And then i go to " catalog -> ...
1
vote
1answer
1k views

How to override Price Block only for category list and not for search list?

I have a custom module for ajax layered navigation with multiple filters which has a price slider. I don't want a price slider on the search result page. my config.xml rewrites block like this &...
2
votes
2answers
4k views

paypal payment showing processing/pending review after paying in paypal in checkout magento

I am usign magento 1.7.2.0 . I haven't edited any core files in magento and set up checkout via paypal. after checkout it redirects to paypal and paynow option is there. after clicking on paynow it ...
2
votes
1answer
2k views

Create sale in magento using pos application

I am working on web-services of Magento. I need to show a sold product by the pos application in Magento backend.
1
vote
2answers
480 views

Multiple Website Sitemaps?

I have multiple websites running under different domains from a single Magento installation. The first website is a broad scope store selling everything the business offers and two additional ...
3
votes
1answer
3k views

DROP TABLE syntax commented in install scripts?

What is the purpose behind having DROP TABLE IF EXISTS in commented SQL in Magento installers? From app/code/core/Mage/Admin/sql/admin_setup/mysql4-install-0.7.0.php: -- DROP TABLE IF EXISTS {$this-&...
2
votes
1answer
559 views

Optimal Way Of Adding To The getBodyClass Method

This question relates to optimization. I'm using 1.7.0.2 CE. I am adding a CSS <body> class conditionally to my frontend page(s). I have used an XML rewrite to introduce my own logic: File: ...
1
vote
2answers
2k views

Force a reconnect to Mysql

Is there anyway I can force a reconnect to Mysql with Magento? or Replace the connection entirely? I have an importer which is slow, and is very custom using Magento models. Before you say it... No I ...
0
votes
1answer
203 views

How to update the child table

I am currently struggling through my first magento project and it seems to be leaving me with asking more questions than it has answered. My current hurdle is adding default data to a child table. I ...
0
votes
1answer
8k views

update layout using custom layout handles

i'm fairly new to magento, so i might not get all terms right. it's also possible that i haven't fully understood the magento internals which work through layouts and templates to print a webpage to ...
0
votes
1answer
225 views

My new module does not fire or I'm missing something obvious.. please help

I'm trying to rewrite Magento wysiwyg config class, specifically one constant,, all in the need to change the default upload location of images in admin (for products, cms pages etc..) and this is my ...
0
votes
2answers
2k views

Magento Advance Search Exact Result For Particular Attribute Value

I have a magento store where i have used magento advance search on home page. Works fine. In search form there is an attribute (caliber) which is actually a text type attribute but i m showing this ...
5
votes
2answers
23k views

Import products with multiple categories

Hi I am importing products in my 1.7.0.2 new setup, I already added the categories. when i import the csv product file, all go well. But the problem is the product is added to only subcategory, it is ...
1
vote
1answer
949 views

Pointers to write unit test cases using EcomDev_PHPUnit

I am trying to implement a web service client for one of my module and I would like to test it using EcomDev_PHPUnit. So, I have a "Test" folder inside my module with following structure... - ...
0
votes
1answer
2k views

How to generate Coupon rule dynamically using observer/model method?

How can i generate coupon rule dynamically using observer method? I have created below function, it works if we create controller action and run. But not working with observer. function createCoupon(...
0
votes
1answer
6k views

How to install a module in magento

I am new to magento and i want to install a custom module in magento. The steps that i gone through as follows. loged through the admin panel. then selected system -> magento connect -> magento ...
1
vote
1answer
52 views

Package theme in magento go [closed]

I have installed a theme for my Magento go store and added some my own customizations to it, now is it possible that I can have whole theme packaged as one, so I can use it as it base theme for my ...
1
vote
1answer
287 views

Compare Magento Go and X-Cart by specific requirements. What is more suitable? [closed]

company where I'm work decided to change current online store and use existing eCommerce solutions. We are looking on 3 options: Magento Go, X-Cart or build it by ourselves. The problem is that some ...
1
vote
1answer
13k views

How to filter product collection by attribute's admin option values?

I am currently developing a product configurator. I am submitting a form which sends the admin option values of my custom attributes via POST to a controller action. If I use the current store's ...
0
votes
2answers
1k views

Is it okay to override core/Mage/Page by moving it to the local codePool?

I have been asked to assess the coding standards for a customised Magento installation and have come across four folders that have been moved into the local/Mage folder in order override the core/Mage....
1
vote
1answer
1k views

products show up on category page but not in collection

I created a featured products slider on the home page. It was inserted via the following code: {{block type="catalog/product_list" category_id="563" template="catalog/product/featured-products.phtml"}...
3
votes
1answer
725 views

Duplicating check payment method

I need to duplicate the check payment method and I've followed this guidelines: http://www.magentocommerce.com/wiki/duplicating_money_order_payment_method_module Everything works as expected but I ...
3
votes
1answer
2k views

Magento Sales Reports not Updating

My client uses his sales reports every day and the statistics used to be updated every day. We have recently moved to a new server and suddenly this has stopped happening - we have to manually click '...
8
votes
3answers
4k views

How to delete all products from a large catalog?

I'm working on importing ~40k products into Magento. I need an easy way to remove all products in between tests, but trying to do this from the admin errors out before making it very far. If I try ...
4
votes
1answer
431 views

Products not visible on Frontend after Import via AvS_FastSimpleImport (based on Magento_ImportExport):

I import products via AvS_FastSimpleImport (an import module based on Mage_ImportExport) into a store view. They look fine in the backend but are not visible in the specific frontend categories. When ...
4
votes
1answer
2k views

How can I fix an Integrity constraint violation about 'linked_product_id' (when importing)

During import I get errors like PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a ...
1
vote
2answers
2k views

Magento 1.5 Resource DB abstract Class not found

I am developing a magento extension with custom table access using v 1.7.0.2. Created package and Installed in another magento instance with 1.5.0. I am able to install my extension in 1.5.0 also. ...
1
vote
1answer
464 views

How to manage stock availibility (in_stock or outof_stock) of product with Undo cancellation of order

I am trying to develop undo cancelled order extension. For that I am extending OrderController.php. class Extension_Undocancel_Adminhtml_Sales_OrderController extends ...
1
vote
1answer
137 views

cms and newsletter preserving formatting

we use html code view to enter templates in Magento through the CMS. Everytime we do this, we notice that after saving all formatting is lost. making it difficult to read back what we made (and rather ...
3
votes
1answer
1k views

Show text block between specified dates

How can I display a text block between two dates? I would like to display a remark on the homepage and possibly on product detail pages, but only for one week in August. I could edit the homepage ...
4
votes
2answers
11k views

Unable to overcome the “Can't retrieve entity config” error

I have been working on a simple module and have been stuck with the error Can't retrieve entity config for too long. I am assuming that this is to do with the way I have set my config.xml files up? ...
2
votes
2answers
4k views

How to show validation error from Observer on frontend?

I'm customizing one page checkout and want to add validation of new field during billing step. To make this validation I don't want to rewrite controller or model, but want to use observer ...
4
votes
2answers
3k views

Constructor for Magento Controller

I need constructor or init function that can be run for my custom module. I need to call it every time when request made to my module's controller in magento.

15 30 50 per page