Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
53 views

Magento 1.9 Custom Module Error

I am a noob of Magento 1.9. I have these custom module files: app/code/local/mypackage/custommodule/block/mymodulename.php app/code/local/mypackage/custommodule/etc/config.xml app/code/local/mypackage/...
filb's user avatar
  • 11
1 vote
1 answer
169 views

Instagram pictures on homepage [closed]

I have to create a custom module (or anything else what let me do what i want to), which will display few latest pictures from my instagram on homepage. I do not know how to use Instagram api to do ...
SebastianT's user avatar
1 vote
2 answers
52 views

Getting Custom Collection without some fields

It is magento 1.9.4.0 and i need a array with some nodes. When i get the models collection with: Mage::getModel('nstok/nstok') ->getCollection() ...
bahadirdogru's user avatar
0 votes
1 answer
535 views

Adminhtml form custom renderer - blank page - Magento 1.9

Added custom element to my adminhtml form. It works perfectly fine on my developement site but it won't on production .... the only difference was on dev i made it as a module while on production I ...
Rob D. A.'s user avatar
  • 867
0 votes
0 answers
37 views

Magento 1.9 admin menu is going to 404!

I am using custom module to getting tax report. It is working fine on demo site. Below is the etc/config.xml: <?xml version="1.0" ?> <config> <modules> <DS_News> ...
Vinod Kumar's user avatar
  • 2,065
0 votes
2 answers
1k views

low stock notification to admin without any extension in magento 1.9

I want to create the custom module for email sent to admin for notifying when the product is low qty in magento 1.9.x.
vivek tiwari's user avatar
3 votes
1 answer
2k views

Best way to send email within custom module

I have created a custom form that will post to a controller, where it will then send an email via the following snippet in my post action: $to = "[email protected]"; $subject = "Vish"; $body = "<...
Vaishal Patel's user avatar
2 votes
1 answer
189 views

How to to add external nusoap library in a custom extension?

I have to include external NUSOAP library in my custom made extension. What steps do I have to take as PHP's require_once() or include() doesn't work in Magento.
Subhan Sunny's user avatar
3 votes
2 answers
4k views

Insert in custom table - magento 1.9

(Sorry if my english is bad, but is not my language) My Magento version is 1.9.3.8 I have a custom module that get data when a costumer make an order. I have no problems to get all the information ...
Exe's user avatar
  • 145
0 votes
1 answer
44 views

How to create a module in magento 1.9

I am new to Magento and trying to create a module in Magento 1.9 by referring to perifay. After copying the code from perifay for controller output is not showing in the browser. I don't know what is ...
user63128's user avatar
2 votes
0 answers
67 views

The magento custom sorting functionality is not working

I am creating a Magento module to add a sorting option of a bestseller on the category page. For doing so I have to override few classes in the core. In the beginning, I have created config.xml file. ...
Akshay Vasu's user avatar
2 votes
1 answer
622 views

Move uploaded images to a folder using custom module

I am trying to move the uploaded image to a folder by a custom module. In /var/www/html/magento16f/app/code/local/Custommodule/ReviewRating/controllers/IndexController.php public function ...
inrsaurabh's user avatar
  • 1,676
0 votes
1 answer
1k views

How to get an array from curl response

Use curl in custom module Magento ver 1.9.x In /var/www/html/magento193/app/design/frontend/base/default/template/reviewrating/rightsidebar.phtml $url = "http://mywebsite.com/api/extentionReviews?...
inrsaurabh's user avatar
  • 1,676
1 vote
2 answers
513 views

Custom Module not working | Custom Code working fine

I am trying to get my custom module working and I am not sure where I am wrong. Here is my app/etc/[namespace]_CustomPriceRevert.xml: <?xml version="1.0"?> <config> <modules> ...
Greg's user avatar
  • 2,749
3 votes
0 answers
527 views

Magento 1.9 - Call to a member function setSaveParametersInSession() on boolean [duplicate]

Ok. Getting a strange one here. Creating custom module with multiple grid pages. First grid works 100% no problems, but all others failing with Call to a member function setSaveParametersInSession() ...
user3744420's user avatar
0 votes
3 answers
617 views

Custom Page in Customer My Account Page - Custom Module

I Created a custom module. My requirement is to add new link after all links in Customer My Account. When click on that new link a new page should be shown. My Code is Step 1. Created new file in ...
Raghav's user avatar
  • 204
0 votes
2 answers
2k views

Create a static block using a custom module Magento 1.9

In my custom module app/code/local/Maddyboy/Instagramapi/data/instagramapi_setup/data-upgrade-0.1.0-0.1.1.php <?php $content = 'BLOCK CONTENT HERE'; //if you want one block for each store view, ...
inrsaurabh's user avatar
  • 1,676
1 vote
0 answers
477 views

Set action to custom module admin Button

I created a custom module, with a button in System > Configuration. Clicking on this button should call a function and then inform the user about the function's results (I suppose by reloading the ...
zekia's user avatar
  • 660
0 votes
0 answers
390 views

How to add Magento shipping method extra details?

I am currently adding 2 custom shipping methods to a Magento website. I have successfully added them using this method: My/etc/config.xml <?xml version="1.0"?> <config> <modules&...
fja3omega's user avatar
  • 265
0 votes
1 answer
45 views

Custom module change `foreach` to chose what to display

I have a custom module for batch order in my magento application. I have created another store view and the batch order form will need to have different products in each store. Here is part of the ...
Greg's user avatar
  • 2,749
2 votes
3 answers
1k views

Check when custom cron task last ran

I have created a new module that has a custom cron task to export orders. What i'm trying to do though is to only export orders that have been placed since the cron task last completed successfully. ...
doubleplusgood's user avatar
0 votes
1 answer
660 views

Edit Action don't work in Custom Module

When I open the edit form in admin, the fields are empty, the data is not loaded from DB. Loading still work. Files: Form.php https://pastebin.com/8TJ54KSi StoreController.php https://pastebin.com/...
user55124's user avatar
0 votes
1 answer
361 views

How do I combine two product collections into one observer?

Can this be added to an observer like in my code in: How to set products in stock after import ? I currently have a module I created that will check the sites prices. It is currently just a page ...
fja3omega's user avatar
  • 265
0 votes
2 answers
343 views

Resolved - View Particular Product From the Grid

I have developed a custom module with a grid. Also added a column named "View Product" to be able to navigate to the current product page. With my current solution all "view" links redirect to ...
bestwebdevs's user avatar
3 votes
3 answers
6k views

How to Filter Products Based on Attribute Value "Yes"

I have an attribute for a custom module which defines if a user can comment on the products or not. Now I need to filter products depending on the attribute value and only display those with attribute ...
bestwebdevs's user avatar
1 vote
2 answers
1k views

Adding Product Backend URLs on the Custom Grid

I have a custom grid, where I need to add links to Product Edit pages on back-end. I was able to get product front-end URLs using a renderer, but can't get the product links on back-end. I have ...
bestwebdevs's user avatar
1 vote
2 answers
1k views

How to show popup?

I am using Custom Message Based on Total for free Delivery Module on my site, but it's showing , its only showing on checkout/cart page. "How can I show module instead of the only checkout page to ...
Rajiv's user avatar
  • 179
0 votes
2 answers
701 views

Custom Module Save Action not fired

I am suffering from a wired problem with my Custom Module. maybe i have wrong logic in my mind or it's a problem. I created a custom module "PoProduct" to extend back-end functionality (\app\code\...
Ishan Jain's user avatar
1 vote
1 answer
451 views

Add Custom MassAction for Status

How to Add Custom MassAction In Controller For Status? My Status Having Accepted Not Process Rejected Re-Offer So how can I Get These Values in change status in MassAction? I Put Default ...
Harshil Parekh's user avatar
0 votes
1 answer
380 views

Resolved - Mass Action - Mass Database Update in Magento Grid

I have this grid developed for the custom module. I added the mass delete action which works fine. But the mass Approve/Disapprove actions work only for one value, when I select multiple values I get ...
bestwebdevs's user avatar
0 votes
1 answer
205 views

Resolved - Reading Database Table Info in Magento Way

I'm using this simple PHP code below to read data from my module's table, but can't do the same thing using Magento codes. Tried to do that using different articles but was either getting errors or ...
bestwebdevs's user avatar
0 votes
1 answer
1k views

Resolved - Custom Module Layout File Doesn't Work - Magento 1.9

For some reason the layout file of my module stopped working, please help! This is the module's layout file at ... \app\design\frontend\rwd\default\layout\productcomment.xml <layout> <...
bestwebdevs's user avatar
4 votes
2 answers
1k views

Back-End "Save and Continue Edit" Button Works Partially

I created a custom module and the "Save and Continue" button on the back-end grid edit page works partially. Either it saves the values and doesn't stay on the same (edit) page or it stays on the same ...
bestwebdevs's user avatar
0 votes
1 answer
539 views

How to add custom page before checkout for extra questionnaires ? Magento 1.9

I want to add custom page which will have a form with some questions. Customer needs to fill out that form and then go to checkout. This form will be related to order and admin can see that filled ...
Utsav IIHGlobal's user avatar
0 votes
1 answer
1k views

Fatal error: Call to a member function setTemplate() on a non-object in

path: app\code\local\Bhtech\Designer inside this folder all other folder Block, Controller config.xml <?xml version="1.0"?> <config> <modules> <Bhtech_Designer>...
Dhiman's user avatar
  • 1
0 votes
2 answers
2k views

Overwrite Magento Core Account Controller (modifying login Action & login post action) - new Module

I have been trying without success to overwrite a couple of functions in the Account Controller within the customer folder of Magento core (originally I had just modified the core files, but soon ...
Scott Lunnon's user avatar
2 votes
1 answer
902 views

Magento 1.9 : How to cache custom module or extension

I never worked to cache Magento modules before. Now going to do for the first time so i have three questions regarding cache. What are the complete steps to cache a module? Any caching types are ...
Akhil Gupta's user avatar
  • 1,956
4 votes
3 answers
4k views

Where to declare a magento registry value

I have a custom module, which uses the sales_order_place_before observer. I have a set of code in there which scans through the products, and adds items to the order, where necessary. However, I have ...
Shaun's user avatar
  • 103
1 vote
1 answer
515 views

Magento Customer created from code not login to the website

I am creating a customer from the code for a specific group code created a new record in the customer_entity table but when I try to login from the website its shows invalid username or password error ...
mudit mehrotra's user avatar
4 votes
1 answer
2k views

Custom module throwing 'invalid block type' after being pushed to the staging environment

I am far from a Magento ninja and I am truly stuck with this... Help! Version 1.9.2.2 I followed this tutorial and have built two custom modules that work fine in my local development environment. ...
hally9k's user avatar
  • 63
0 votes
1 answer
67 views

Custom Extension for Email Reminder

I have developed Magento website version 1.9.2.4. Now i want to create custom extension for email reminder which provide configure two field. Hours before email is sent Email address(es) to send ...
Ravi Thanki's user avatar
0 votes
0 answers
58 views

How to check is jQuery available for my module?

Magento as far as I know have it already loaded but jQuery functions won't work in my module. What can I do with it ? How can I make sure I have an access to it ? I would like to avoid jQuery ...
Rob D. A.'s user avatar
  • 867
1 vote
1 answer
1k views

CE1.9.2.4 - Custom Module calling 3rd Party API

I am creating a module that exposes a form for customers to fill in. Upon submission, an ajax request request is made to a PHP script which calls the API. Now I have already tested this in a ...
maGz's user avatar
  • 619
1 vote
1 answer
96 views

Add attribute under currency setup on configuration page

I have successfully built a custom module to integrate an additional section on configuration page "Hide price option" with help of this tutorial create custom module Now I want to have this form ...
Vikram's user avatar
  • 155
0 votes
2 answers
890 views

Magento save() does not working

I made a custom module and I'm trying to save data into the module table so I wrote this code : $model = Mage::getModel("modulepackage/name"); $model->setPostCode("XXXXX"); ... $model->setCity()...
magentodev's user avatar
0 votes
1 answer
2k views

Country dependent State/Province list in a custom module

I am new to magento and stuck on this problem, I am working on module in which I required a state drop down dependent on country, like one page checkout page. I have the country drop down. Can any one ...
Ashish Madankar M2 Professiona's user avatar
1 vote
1 answer
795 views

Custom admin module not working

I have created a custom module but it's not working, I am unable to see any menu in cms menu.here is my code:- 1.config.xml <?xml version="1.0"?> <config> <modules> <...
Arunendra's user avatar
  • 7,458
3 votes
1 answer
1k views

How to redirect my custom module url after admin login

What I want: Admin should redirect my custom module url('adminhtml_module1/testimonial/index') instead of dashboard page after successfully admin login. Any idea ? How can I do this ?
Niraj Patel's user avatar
0 votes
2 answers
5k views

Custom module: translate string in Mage::throwException

I'm new to Magento and I've just built a custom module for a store. The module observes the event sales_order_place_before, and checks with an outside source if an item is still in stock. When the ...
Anne's user avatar
  • 13
4 votes
2 answers
338 views

magento custom module keep throwing error even after deleting all files

i created a module in magento 1.9 CE to override list.php, and there was some issue, then i removed all the files for that module (the xml under module and all files under app/local/mycompany/), but ...
triston's user avatar
  • 183