All Questions
Tagged with module magento-1.7
120 questions
1
vote
1
answer
739
views
How to Programmatically Reorder in Magento 1.x in from Admin
I want to create a custom module which creates duplicate order from the existing order.
I want to show a simple button (like Reorder default Magento) which create current order duplicate order in ...
1
vote
1
answer
120
views
module magento 1.x smtp for microsoft exchange
We are looking for a module for magento 1.7 who can manage SMtp for a microsoft exchange mail.
Do you know a module for that?
0
votes
0
answers
72
views
Calling Module URLs gives 404, action is always "noRoute"
I am creating my own module, and on very beginning I stuck on some problem. Calling controller actions through URL don't work.
app/etc/modules/Locatores_CpCode.xml
<?xml version="1.0"?>
<...
0
votes
1
answer
26
views
Magento : How Can We Mail a File From Frontend
In my website, I have an option to choose a file.
I want file to be mailed to a particular email-id.
Screenshot of the file upload screen
I want to have a button which should mail selected file to ...
0
votes
1
answer
71
views
Simple text translation depending on store view
I am creating a simple module that displays a date. I need the days (Monday, Tuesday, etc.) to be translated in the store view language. I've gotten lost in all the different ways that this could be ...
0
votes
3
answers
635
views
How to filter Product Grid based on custom attribute?
I have a custom product attribute soldby which is a dropdown attribute.
I am making a custom product grid. In that grid, I want to display products where soldby=abc.
I have written the following ...
1
vote
2
answers
795
views
How to get value of custom dropdown product attribute?
I created a custom attribute in my products page. The attribute is a dropdown list.
The name of the attribute is soldby.
I want to extract the value of that attribute.
I wrote:
$seller= Mage::...
0
votes
1
answer
717
views
Pagination not working in custom admin module
I made a custom module in admin section for seller management. I updated the details using a CSV file. There are about 200 entries. Now, when I try to go to the next page, it redirects to the same ...
2
votes
0
answers
173
views
How can I split order based on the vendor?
I want to split the order based on the vendor selling the item. I have created a custom attribute sold_by in the the product details page. The order should be split on the basis of the said attribute....
0
votes
2
answers
761
views
Custom module not working on live server
I made a custom module for seller management. It is working fine on local server but not on the live server. I am getting an error in loading my block.
Controller.php
protected function _initAction()...
0
votes
1
answer
219
views
I see a blank page when I go to edit option in my custom module. Instead, I should get a form where I could edit the data
I created a custom module for seller management in magento 1.7.0.2.
In the module, the grid for data display is showing fine but when I click the edit button, it redirects fine but shows a blank page. ...
-1
votes
1
answer
144
views
How to add a new module in magento 1.7? [closed]
How to create a new module for sellers dashboard to access from admin panel like as manage products module?
I will create a new table in the database to store the details of the sellers.
0
votes
2
answers
96
views
Can't get Custom Admin Tab to work!! (Very detailed of what I have thus far)
I have Magento 1.7 and I'm trying to create a custom tab in the admin panel to change customer attributes that I have created.
First off I created:
/app/code/local/Mage/Adminhtml/Block/Customer/Edit/...
0
votes
2
answers
495
views
Override Magento Catalog Widget Link
I would like to override Mage_Catalog_Block_Widget_Link
I've created new module, added some code to config.xml but it doesn't work.
There is my code:
config.xml
<config>
<modules>
<...
1
vote
1
answer
76
views
Varian File Uplaoder in loop not working
I am trying to upload multiple files in a loop using Varien_File_Uploader
for($i=0;$i<count;$i++){
$uploader = new Varien_File_Uploader(
array(
'name' => $_FILES['my_image_'.$i]['...
0
votes
2
answers
85
views
What are the steps should I follow if my custom module gets a 404 not found error?
I have created a custom module which will save some data in the database and will show in the front end.
But when I see in the front end it gets me a 404 not found error.
I think the error is in the ...
0
votes
2
answers
581
views
Custom module not loading .phtml file
I am using Magento 1.7. The namespace is called MasteringMagento with a module called example.
My index controller is like so:
class MasteringMagento_Example_IndexController extends ...
0
votes
2
answers
1k
views
Error while importing a csv file in the admin
My project had an extension called webshopapps product matrix
Which was copied from another project and had been configured . But now when I replace it with the new extension by placing its files ...
0
votes
1
answer
59
views
Uninstall Magento module with a script
How do I uninstall a module completely, with it's files and tables, in Magento 1.7.0.2, with an automated script?
3
votes
1
answer
376
views
Mage_Weee Module
I have looked around but I cannot find exactly what is the purpose of the module:
Mage_Weee
I would like to disable it but I want to be sure what I am doing.
Thanks
1
vote
1
answer
3k
views
Adding custom block to catalog product view
I'm currently making my own module, but i'm having trouble with just displaying a block in the catalog product view.
I've added this line to default/layout/catalog.xml
<block type="catalog/...
0
votes
1
answer
180
views
Product compare list empty on costum module page
At header.phtml I load the product compare list with the following code:
$collection = $this->getLayout()->createBlock('catalog/product_compare_list')->getItems();
On default pages like ...
0
votes
1
answer
165
views
core/session value not available on custom module page
I'm using core/session for storing values, I'm use the following code to store the value:
Mage::getSingleton('core/session')->setMyWishlist( $newmywishlist );
On category and product pages but ...
2
votes
3
answers
1k
views
Testing cron module
having a module that just run through cron, can I test it without firing the cron process?
I installed AOE scheduler but even if I select the process and run it, I've to wait for the cron scheduling.
...
1
vote
1
answer
2k
views
Magento Module block not working
I've gone through about 50 different pages and posts of people having the same issue, but none seem to be caused by what ever is casing my issue.
I've got my module, registered the route and it's ...
2
votes
4
answers
12k
views
How to call a controller action from another module?
I want to call a controller action to send email from my custom module page,
EX : my module template is ->refer.phtml
I want to call a smtp module email controller.
Module path is HTD/SMTPemail/Smtp/...
0
votes
0
answers
707
views
Grid column filter not working with two models in magento custom module
I'm working with custom module for the magento backend, in this filter not working when using filter calback!
Can anyone suggest me?
Thanks!
I have tried some codes like this,
Grid.php
protected ...
1
vote
1
answer
103
views
Custom api for User login magento Invalid Api path
Hi I am developing android app using magento api. I am using built-in api for some of the tasks. Like getting the products for different category etc.
As I need some customized api for user login, ...
0
votes
1
answer
97
views
What's the relationship between vendor, package, module and namespaces?
Let's take the Contacts module inside my Magento 1.7 installation.
$ pwd
/var/www/vhosts/myproject/magento-1.7.0.2/app/code/core/Mage/Contacts
I know Contacts is the module, but is Mage the package, ...
1
vote
0
answers
500
views
Get Primary Id in Grid column [closed]
I want to get primary key of a table in grid.php in my module.
$string_clik="'".str_replace("index.php/",'',Mage::getUrl()).'wedding_planner_invoice.php?&w_id='. $howToGetID."'";
How to get Id ...
2
votes
1
answer
59
views
Graceful degradation of module dependance
Short background: We're using a third party extension so send mail with Mandrill. This extension accomplishes this by overriding the method core/email_template::send(). I have to implement an e-mail ...
1
vote
1
answer
2k
views
Magento tries to Load module from wrong namespace/company
I Loaded a model called fabric_news using this code,
Mage::getModel('fabric_news/news')->getCollection();
But magento tries to load module from wrong name space. So It throws errors Like
...
0
votes
3
answers
2k
views
Magento tries to load file from src folder
Error in file:
"/var/www/test/magento_custom/app/code/community/Fabric/Material/data/fabric_material_setup/data-install-1.0.0.0.1.php"
-Warning: include(/var/www/test/magento_custom/includes/src/...
2
votes
1
answer
1k
views
Custom helper in shell script?
I can execute a shell script from a custom php script. I have no trouble including the abstract.php, log a string or calling let's say the product model. Playing around with including parameters from ...
2
votes
1
answer
1k
views
Implementing a custom function in Magento
I'm trying to implement the 2nd solution from philwinkle in this post:
Price(float number) in transactional email
I have my folder setup like so:
app/code/local/Anja/EmailModule/Model/Email/Template ...
3
votes
1
answer
2k
views
custom module layout not working
I've been fighting a while with a problem, but I can't find a solution.
Here is the thing:
Got a module that I need to show in the sidebar of catalog product view so this is my module.xml in default/...
0
votes
1
answer
57
views
Copying deprecated module into newer version of Magento (1.7)
We have the find feed working in an older version of Magento (1.5).
I copied app/code/community/Find to our 1.7 installation.
I also copied app/etc/modules/Find_Feed.xml
The database table has been ...
1
vote
1
answer
1k
views
Filter product collection for Criteo Tags in category page: module setup (config.xml)
I'm implementing Criteo Tags in my store,
Criteo Tags must be put inside the header, for the category page I must get the Sku of the first 3 product listed in the page.
I'm using a module that get ...
1
vote
1
answer
2k
views
Upload file using Ajax in custom form in Magento
I have created a Custom Module for admin in Magento.
I am using a form and I have a file field in that form.
How I can upload image using Ajax in my custom module in Magento.
I have searched on ...
1
vote
1
answer
4k
views
Grid is not showing in Custom Module in magento
I have made a custom module for admin in magento. Its namespace is "Assel" and module name is "Character".
This is my config.xml file
<?xml version="1.0"?>
<config>
<modules>
...
3
votes
2
answers
3k
views
Show Grid under Custom Tab in CMS Page Information Section in Magento Admin
I have made a custom module in magento admin. In which I am showing a custom tab on CMS page area as shown in below image.
I have a custom form on click on "My Button". I fill that form and value is ...
0
votes
1
answer
401
views
Rewrite for third party module's model not working
By using the third party module, There is a option in admin configuration side to select the number of columns for the catalog page. I want to add an additional column option in the admin ...
0
votes
2
answers
528
views
Overwritten Mage_Checkout controller method to a local module not calling
I am overwriting the Mage_Checkout addAction() controller to my local module.But my local module not called, only Mage_Checkout is calling.
My Code
config.xml
<config>
<!-- modules -->
&...
9
votes
4
answers
8k
views
Helper vs Model? Which should I use?
I am working with the Instagram API in magento. I am giving coupons to my instagram followers if they follow our store on Instagram.
I am making the API calls to instagram in PHP using curl. ...
1
vote
1
answer
230
views
Reports Module not displaying Admin view?
Title says it, I created a small reports module to just display some very basic things, but my admin view is NOT displaying. I end up receiving a 404 not found with the URL of /index.php/modulename/...
0
votes
1
answer
665
views
Adding a grid/table inside grid in Magento Admin
I'm developing a custom extension for my client. There are two tables which hold the complete data.
primary_table
id_primary | name | age | image
===========|======|=====|===================
1 ...
1
vote
2
answers
2k
views
Mage::getBaseUrl('media') returns url with http only in custom module
I have developed a module to make a custom menu to show thumpnail images of sub categories when hover the main menu or category.
For that in the Block of my module, I return the src of each thumpnail ...
1
vote
4
answers
5k
views
Fatal error: Class 'Mage_Rms_Helper_Data' not found in C:\wamp\www\app\Mage.php on line 546
I realize there are questions just like this one, but none of the answers apply to me so far.
I am building a custom module that works, except the helper class won't load. I'm calling it with Mage::...
1
vote
2
answers
2k
views
Magento Admin grid problem
I have a magento admin grid module and when I am inside the grid on the admin menu it shows me the header and the add item button but it throws this error
Fatal error: Call to undefined method ...
4
votes
1
answer
267
views
Source model "giftvoucher/templateoptions" not found for attribute "gift_template_ids"
Source model "giftvoucher/templateoptions" not found for attribute "gift_template_ids"
error occurs in the search result page.
I found similar questions like my question. But i did not get the result....