All Questions

Filter by
Sorted by
Tagged with
3
votes
2answers
346 views

Error in admin category tab? [closed]

I have updated with magento version 1.7 to 1.9. I get an error when click on edit category tab "Associated blog post" or "Associated blog category". i get the following error. My store is connected ...
1
vote
0answers
77 views

Reindex crontab is not working

I want to setup reindex Catalog Url Rewrites everyday so I setup this on crontab 30 3 * * * php /home/users/kmtg/www/shell/indexer.php --reindex catalog_url I checked it seems crontab is working ...
2
votes
1answer
1k views

Sort order field in PayUMoney checkout payment method is not showing in admin panel

I integrate PayUMoney checkout payment method into my website successfully.Two payment option is available on frontend : 1.Payu Checkout 2.Check / Money order but I want to change display order ...
3
votes
3answers
3k views

How to change the required fields of review from true to false?

When I review a product, there is a required field of Review on the last. I want to change this field from required to not required. I changed this field for backend by editing app/code/core/Mage/...
3
votes
1answer
2k views

magento generate white space image to fit the thumb

I got a problem with magento image generator process. Image will be placed with 3 size of thumb for homepage, listing page and detail page. Homepge , product thumb will be 365x265 px Listing page, ...
2
votes
1answer
34 views

Transfering demo magento shop to old magento and connect with the database

I am working on a magento website from client and I am not a coder, this is my first magento website. I know it sounds confusing just by looking at the title, so let me elaborate you on this. I got a ...
6
votes
5answers
3k views

Magento Admin Order Grid Filter by “Status” giving error while joined with “sales_flat_order” table

I am working on a project where there is custom column already installed on sales_flat_order table. I know, in order grid magento uses sales_flat_order_grid table to fetch data. I have used join ...
2
votes
1answer
1k views

Stop a custom block from auto rendering

I have a custom block and when I add it to local.xml it auto renders: <catalog_product_view> <reference name="head"> <action method="addJs"> <script>...
3
votes
2answers
316 views

What's going on in this install script? [duplicate]

I keep running this script and getting a MySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 ...
3
votes
0answers
312 views

Call to a member function setLock() on a non-object app/code/core/Mage/Index/Model/Lock.php on line 162 [closed]

I'm getting the following error on my Magento 1.9.1 website: Call to a member function setLock() on a non-object app/code/core/Mage/Index/Model/Lock.php on line 162 Below is lines 160 - 167 of the ...
3
votes
1answer
4k views

How to add Unsubscribe link at the bottom of transaction email footer?

I'm trying to set up "unsubscribe link" to my email footer to my newsletter subscriber. But, I cannot find any section regarding unsubscribe link or unsubscribe page.
1
vote
2answers
161 views

How can I have one login page for 2 stores?

My Magento installation will be split into 2 websites with different currencies and different prices (think: Canada/US), with identical products on both sites. Customers will be signed up to one ...
2
votes
1answer
579 views

Render Top Level Categories as well as ALL Subcategories of a Specific store

I am able to get the list of categories of a current store as menu items using code: <?php $_helper = Mage::helper('catalog/category') ?> <?php $_categories = $_helper->getStoreCategories(...
0
votes
2answers
726 views

How to connect my custom block to the layout

So there's one piece of the custom block puzzle I'm not really getting. What I'm trying to do: I want to use $this->getChildHtml('customBlock') inside my header.phtml file and have it just print '...
3
votes
1answer
304 views

Magento 1.9.1.1 PayPal XPath Invalid Expression

There seems to be a bug in the new Magento 1.9.1.1 Found this in /var/log/system.log 2015-06-17T15:11:29+00:00 ERR (3): Warning: SimpleXMLElement::xpath(): xmlXPathEval: evaluation failed in app/...
1
vote
3answers
2k views

Remove js from category layout

I'm trying to remove the jcarousel script (it is located in js/ folder and not skin/ folder) from the category page. This script is added in local.xml file of my theme: <action method="addJs">&...
1
vote
1answer
1k views

Fake orders in Magento

Recently I've been getting fake orders. At first customer accounts get registered on website and then fake orders placed using credit cards. All done within 10 minutes. Orders are made for the same ...
0
votes
2answers
2k views

Cannot retrieve payment method instance

I get this alert message if I click on "continue" button on one page checkout's step 5, the payment step: "Cannot retrieve payment method instance." Here is a code block from my onepage.php: public ...
5
votes
3answers
26k views

Model save using setData and addData not adding to database

I have a model and I was trying to add a model to the database. When I execute the php script to add everything works fine and no exception are thrown. But the data is not added to the database, which ...
0
votes
1answer
2k views

Reload page when deleting a product from mini-cart

I was trying to make an script to reload the page when i delete a product from mini-cart. The reason is because when i delete a product from it, if i am on the onestepcheckout, my summary don´t get ...
3
votes
1answer
104 views

Dynamically set client id in checkout to be used in payment process

I'd like to ask a question related to a community extension, but about how to specifically extend that extension. The extension developer's support doesn't extend this far. It's a payment module in ...
0
votes
1answer
326 views

How to get all customers ever paid/complete an order

I am working on a custom Magento Extension. Here is how i take all customers in a customer group: $customers = Mage::getModel('customer/customer') ...
0
votes
1answer
134 views

Magento prices including tax

I have noticed that the tax wasn't working properly in my store, and set up a tax rule in my store. After I applied that rule to my products the tax is added to the price of the product, while I ...
0
votes
2answers
95 views

Show regular price big IF no minimal price is provided (see image)

I'm having a little problem here. So, the minimal price is shown big and on the left on the first product, but on the second product there is no minimal price. What i'm trying to do, is have the ...
1
vote
1answer
76 views

Small error in the translation of transactional email

In Magento 1.9.1 I've installed the German language pack. Everything looks fine except of a very small problem in the email subject for the shipping mail: English: Shipment # 100000001 for Order # ...
0
votes
1answer
1k views

Invalid Block Type

I keep getting the same error in the exception.log. Can somebody help me on how to fix this. Thanks. 2015-06-17T11:11:17+00:00 ERR (3): exception 'Mage_Core_Exception' with message 'Invalid block ...
3
votes
1answer
5k views

Validation for dropdown magento

My code: <select class="validate-select" title="subjects" id="subjects1" name="subject" > <option value=""><?php echo $this->__("Please select Subject");?></option> ...
2
votes
1answer
191 views

disable ecommerce

I have a magento shop with several websites. I would like to add a website for the technical support only and I want to disable the ecommerce function in that website only. So far I found only ...
1
vote
0answers
47 views

Newsletter code not updating page

I have updated the subscribe.phtml file and cleared the cache as well reindexed everything but it has not worked. I have also go template path hints enabled and it give the path below. frontend/...
2
votes
1answer
147 views

Can't send sku on contact form

My intention is to send the sku as a hidden variable when applying for the contact form but only after having visited a product. It works fine with localhost, where the cache is disabled, but not ...
2
votes
2answers
743 views

Determine model alias or entity type by object

How would you determine the entity type for a given model instance? For example given an object Mage_Catalog_Model_Product $entity the desired result would be catalog_product as in the ...
5
votes
2answers
6k views

not able to send email with email template

$emailTemplate = Mage::getModel('core/email_template') ->loadDefault('test_template'); $emailTemplateVariables = array(); $...
1
vote
0answers
446 views

Programmatically login customer is not working with Associate to Website as “Main website"

I am trying to login a customer using email id and password. Please check my below code: public function customerlogin($email,$password) { $session = Mage::getSingleton('customer/session'); ...
1
vote
2answers
71 views

Product Output by SKU

I want to load a set of products, given as an array: <?php $productSkus = array('sku-1','sku-2'); foreach($productSkus as $productSku) : $productId = Mage::getModel("catalog/product")->...
1
vote
1answer
721 views

Magento 1.9 doesn't recognize old password with two characters salt

After some issues, I've correctly upgraded to magento 1.9.1.1 Now any users (customers and admin) can't anymore login in frontend or backend. They always get the "Invalid User Name or Password" error....
2
votes
1answer
1k views

Magento discount not showing

I've set up a catalog price rule for all the products that have the attribute set tables. The discount is shown in the catalog, but not on the product view nor the cart. The products are configurable ...
2
votes
1answer
142 views

How to preselect 'Simple Product' type on product grid

I always select 'Simple Product' (product type) on product grid page before I search any product to see only simple product , not group or other type How to make the 'Simple Product' is already ...
3
votes
1answer
443 views

Add breadcrumb to layered navigation pages

I need to find a way to add breadcrumbs to pages which are created by Layered Navigation, for instance if you'd click on a certain brand name the brand name is missing in the breadcrumbs. You can ...
2
votes
1answer
76 views

Overwrite admin controller in version 1.6

I am trying to overwrite the controller located at: app/core/code/Mage/Adminhtml/controllers/Catalog/ProductController.php First of all I tried just making a copy in my local code directory app/local/...
4
votes
1answer
192 views

Reorder link using hash

I'm working on a reorder-module that will allow my customers to: a) Click a link i email b) Click a link in order history What will happend next is that: 1) Delete all items currently in cart 2) ...
11
votes
4answers
6k views

Cookies not working with subdomains

We have a main site at example.com. Logging into example.com/admin works fine there. But on a testing site at test.example.com/admin I cannot log into the admin without first deleting all example.com ...
1
vote
0answers
1k views

How to change path for contact us page in magento?

My contact us code is coming from this file frontend/base/default/template/outsourceOnline/captcha/contacts.phtml i want to change layout from new path (outsourceOnline/captcha/contacts.phtml) ...
0
votes
1answer
494 views

Magento new font for admin theme

i like to add a new font to magento admin theme, for that i put the font file in "FederalLawyer/skin/adminhtml/default/lawyeradmintheme/fonts" in my css file i called : ------------------------ @...
1
vote
1answer
1k views

How to convert HTML / Php code to pdf code [closed]

I had made a custom module for replacing the existing invoice pdf with my custom pdf, I displayed all the information using coordinates... Is there a way that I design all my pdf using normal html ...
0
votes
3answers
3k views

Magento call another action with parameters

While placing order I'm calling my custom saveOrderAction() where I'm saving order data. Inside saveOrderAction(), I'm trying to call redirectAction() method where I want to fetch order information ...
1
vote
1answer
205 views

Grid/Edit/Tab/Form.php populate from joint collection

EDITED To Show Progress and Provide More Information I have a collection that I am building from a join query that displays perfectly in Grid and I now wish to have magento edit and save the data. I ...
0
votes
2answers
441 views

Magento admin form date widget week number differs from jquery UI week number

For a project I am working on we need to know the week number which is displayed via a date form field widget in the admin section. On the front end we also show the week number but we are using a ...
2
votes
1answer
1k views

Observer event not triggering on index

I have built an observer event that fires on catalog_product_save_before to parse the price of associated products and set another attribute to yes/no based on the result: public function ...
0
votes
1answer
1k views

One Page Checkout Stuck on Step 5 Payment

I can't get past Step 5 Payment in my one page checkout system. I have checked the ID "checkout-payment-method-load" exists, and it does. No JS error. What could be wrong? Using Magento 1.6. https://...
0
votes
1answer
2k views

Fatal error: Class 'Zend_Log' not found in Checkout

My checkout page is giving me this error: Fatal error: Class 'Zend_Log' not found in /home/internat/public_html/app/code/core/Mage/Checkout/Block/Onepage.php on line 98 What could be the problem? ...

15 30 50 per page