Questions tagged [custom]

Denotes questions about Custom code or Custom modules which is used to add/extend/enhance the existing functionality of Core Magento.

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

Moving Core Edits to Private Modules

I need some help moving some edits I made to the core files to my own module. I was able to do this easy enough with my frontend edits but I am unsure how to fully move my core file edits. I edited ...
0
votes
1answer
1k views

Error while creating Custom Shipping Method

I am creating Custom Shipping Method in Magento.i had refered Inchoo, Excellence blog and even other blogs but everytime i get this error Fatal error: Call to a member function setStore() on a non-...
0
votes
1answer
1k views

Magento product collection ignores custom sort order (order by FIELD)

I've setup this collection to sort products based on a list i have. $_productCollection = Mage::getModel('catalog/product')->getCollection(); $_productCollection->addAttributeToSelect('*...
0
votes
1answer
577 views

Joining Custom flat table with EAV table not Working [duplicate]

I am Joining two tables by following code $collection = Mage::getModel('commission/commission')->getCollection(); $collection->getSelect()->join( array('customer' => $...
-1
votes
2answers
870 views

Send Extra 1 Custom Email to Admin When New Order is Placed

How to Send an extra Custom Email to Admin along with New Order Email is sent ?? OR Where I can find the Triggering Method of Sending Email of New Order to Administrator ??
8
votes
5answers
5k views

Custom Order, Invoice, and Shipping Starting Numbers

What's the safest approach to change the next starting numbers for order, invoice, and shipment on a live site?
23
votes
5answers
47k views

How do I add a block on the home page above the content, below the navigation on the home page only?

How do I add a block to the home page only above the content section, but below the navigation to spread across the page whilst still using the two-column template? I am using Magento version 1.9. ...
2
votes
1answer
7k views

Multiple attributes for configurable product?

I am trying to set up a configurable product using two separate custom attributes and can’t see how I can get it working. Basically this product has two separate options- size and color. There are ...
3
votes
2answers
869 views

custom manage products admin panel shipping weights

Does anyone know how I can add a weight column to the Catalog, Manage Products, Admin Panel? ID, NAME, TYPE-ATTRIB. SET NAME, SKU, PRICE, QTY, VISIBILITY, STATUS, WEIGHT
0
votes
1answer
48 views

Cannot get Custom Block to correct area on page?

I am at a loss. I am trying to learn how to place this block on the index of my site but I cannot for the life of me get it to appear in the right area but I have been following guides to no avail. ...
4
votes
1answer
3k views

Override the frontname for a existing Magento module

I recently started working on Magento for one of my projects and stuck at something, which i see a very common use case. I tried looking at different blog post but couldn't find any which can hint ...
7
votes
6answers
26k views

Magento: Add captcha to custom contact form

I created a new custom contact form in Magento website, I am trying to add captcha at the end of it. I have added to app/code/core/Mage/Captcha/etc/config.xml <customcontacts> ...
0
votes
1answer
907 views

Looking for store names, admin and “distro” in Mage_Core_Model_App

So, my first problem was involving putting a custom price on a product. Upon many searches, I've discovered that Ben Gribaudo has a great tutorial that I'm looking for in order to programmatically ...
1
vote
1answer
796 views

Customer DOB in subscribers list

I have a problem for which I cannot find the right answer. In Magento I want to add the DOB to the newsletter-subscribers. I successfully did, by following this tutorial: http://www.iamrookie.com/...
3
votes
1answer
595 views

How to create new shipping module with user input during checkout?

I bought a couple of books on Magento extension development and understood the mechanism on how to create a new shipping module. However in my current project I need to allow the customer to enter his/...
1
vote
1answer
575 views

Create custom category attribute - Changes not saving

I created a custom category attribute from the following source:http://ashsmith.co/2013/03/quick-tip-adding-custom-category-attributes-to-magento/ Added new attribute successfully, however, when I ...
1
vote
1answer
864 views

Function to list all the email templates in a system (like getDefaultTemplatesAsOptionsArray)

I am trying to list all the email templates on a Magento installation for an extension I am working on. It currently uses the getDefaultTemplatesAsOptionsArray function but that does not list any ...
0
votes
1answer
2k views

configurable product not allowing add to cart with only custom option selected

This is driving me crazy! All the products on my site are configurable products they all have 1 or more associated simple products attached to them they all also have a custom option check-box. My ...
0
votes
1answer
2k views

Programmatically create invoice a single item of an order [duplicate]

I would like to create an invoice for a particular item only. How can I go about doing this?
3
votes
2answers
7k views

Magento redirect from all pages if not logged in

So, I need to redirect user to some page(tt can be CMS or customer/account) if he did not logged. And on this page(CMS or customer/account) I will have a form to login/register. So, I made an observer ...
2
votes
3answers
4k views

How to access custom table/attributes using the ORM?

I've been struggling with this for a while - I'm new to Magento and haven't programmed in PHP for a while, so please, bear with me. Doing some changes on a Shipping module to magento I've come to ...
1
vote
1answer
1k views

Custom API adapter handler and wsdl files

I read Alan Storm article (http://alanstorm.com/debugging_magento_api_method_calls) about magento core API. And now I just a bit confused, when I creating my custom API in magento, do I have to ...
1
vote
1answer
2k views

How to change the path of the folder while uploading images in custom form?

I have a custom form for uploading the images and it is working right. But it saves the images in the media folder and I want to save the images under some other folder in the media folder. Here is ...
3
votes
2answers
2k views

Custom API specify multidimensional parameter

I already created custom api where I am able to pass array item (for example $data = array('date'=>'2013-12-22','operation'=>'import','successful'=>'1', 'requeue'=>'0');) but I would ...
8
votes
3answers
11k views

Custom api Invalid api path

So I followed this example for creating custom api. But I am not sure if I am calling it wrong or my code is not correct. Here is what I have. Folder structure: Mycompany Syncreports etc ...
0
votes
2answers
2k views

how add multiple tabs in adminsection of a custom module in magento

I am trying create an custom module and it have multiple tabs in admin section like product module . Issue i did not showing any tabs content from second tab ,like second tab content data is ...
2
votes
1answer
489 views

Template is not displaying in tab of my custom module

I have an admin custom module in which there are three tabs present. First tab is use to collect basic informations of the module and second one is used for avanced information collection. I want ...
0
votes
1answer
895 views

Best method to filter out an item from custom model

I have a custom module using which we can add banner images in admin. I have implemented this module in the admin successfully. Now I want to display banner in the front end. My custom table is ...
4
votes
1answer
4k views

getUrl('frontname/controller') doesn't work with custom router?

So, I've written a custom router, in as much as I've extended Mage_Core_Controller_Varien_Router_Standard and created my own match() function. This part works beautifully, mapping the differently ...
1
vote
1answer
280 views

How set default user data for checkout address fields, enter by user on other pages

Many time user (guest or register) enter email id or pin code or any other detail in various custom modules generally used for promo or validation. I want to use same data to be reflect in checkout ...
6
votes
1answer
5k views

How to detect a change in data inside the tab in custom admin module [closed]

While editing the elements in the custom admin form, how can I check whether the form has been edited to the last saved data of the form? Is there any way I can check this using any inbuilt Magento ...
0
votes
2answers
2k views

Can't save role for custom module with ACL?

The custom module menu shows under Role Resources. Under Role Resources I click the check-box and save. I then reload the role and the check-box is no longer checked. I basically copied the menu items ...
27
votes
5answers
10k views

Why does Magento have 3 code pools?

Magento has three code pools: community core local Core: It contains all Magento default modules Community and local: We use these code pools for our custom module development. Now I have doubt ...
4
votes
1answer
1k views

How to show custom admin form tabs conditionally?

I need to show two tabs in admin custom form in which 2nd tab will only visible after I save the contents of first tab. Any one can tell me the way to do this. This is what I have - protected ...
6
votes
1answer
8k views

Can anyone suggest tutorial for creating own Magento theme?

I searched the web to find any tutorial which guides step by step to create a custom theme. Basically what I expect is to convert a HTML and CSS code to a Magento theme. But still couldn't find a ...
2
votes
1answer
52 views

does magento load up all blocks and functionality that comes in standard right or left unless explicitly disabled?

i'm working on a custom theme for our magento based site, we're using latest available enterprise edition 1.13.1.0 and i wanted to find out if we need to explicitly disable functionality via the ...
4
votes
1answer
30k views

Adding custom code in head (header html tag)

we want to add the google+ links / code to our head (html) tag in our website. We have a multisite. We could edit phtml, create phtm etc ... What is the best way to do this? via xml update? Or is ...
4
votes
2answers
10k views

How to override core catalog block product list?

I am trying to override core/catalog/block/product/List.php with following Ref:http://www.magentocommerce.com/boards/viewthread/14692/ file: Ziva/Customcatalog/etc/config.xml <config> <...
1
vote
3answers
12k views

Magento custom block shows Fatal error: Call to a member function setTemplate() on a non-object

I have created one block inside my custom module but it's not working. My module is working fine but my block is not working when I call my block from footer.phtml file it shows 'Fatal error: Call to ...
4
votes
1answer
399 views

addColumn() or addAttribute() ? What is the best for performance, migration & usability?

What is the best method of adding new attributes to the sales and/or quote tables in magento via an install script: use: addColumn() or use addAttribute() ? So the main questions are : What is ...
2
votes
2answers
1k views

How to get the custom attribute values in my catalog category list block

I have added a custom attribute to my category. On category product listing page i want to retrieve the values of that custom attribute. When i got Mage/Catalog/Block/Product/List.php i can find this ...
1
vote
2answers
1k views

Change the Last Logged In date

I'm trying to write a custom password reset script that adds rewards points to the accounts of all those that reset their passwords. A customised link to this will only be sent to the customers that ...
-2
votes
2answers
941 views

Custom contact form not working with magento installation [closed]

I want to implement this Contact form from kontaktformular.com inside a separate folder (named "custom-contact-form") on my Magento root directory. Eg: mywebsite.com/custom-contact-form Now, ...
1
vote
1answer
831 views

Info Block Not Showing in Onepage checkout in Custom Payment Module

I am using Magento 1.7.0.2.I have created a custom Payment Model.All are working fine but the values entered for the fields in checkout page are not displaying in Info Blocks.I have attached my block ...
1
vote
1answer
1k views

Magento EE - Enterprise Logging

I have small problem. I have created my own module at local, I'd like to add logs for save/edit/delete actions with Enterprise Logging module. I have created logging.xml at etc dir app/code/local/AB/...
1
vote
2answers
6k views

Where magento stores custom options for the products added to cart?

Assume that you are going to add a product which has custom options. So when you add that product to the shopping cart, where will the magento save those custom option's values persistently? Any ...
2
votes
2answers
659 views

Product which allows user input which take price from this

Currently working on a website were some products require user input for example Width and Height From this the m2 price (for example 14) is done between the width and height given by the user and ...
0
votes
3answers
1k views

How can i develop my custom module?

I am using magento 1.7. I want to develop my own module for my site. I need to add two tables in my database. My module is to manipulate these two tables from the Admin interface as adding, editing, ...
3
votes
1answer
452 views

Custom category designs won't apply without category url slug?

I'm experiencing a weird issue: Let's say category A has a custom design. When I open the product via domain.com/category-a/product.html the custom design applies correctly. But when I open the ...
1
vote
1answer
4k views

Manually update custom currency exchange rate

I have created a custom exchange rate, and I am attempting to find a way to change the exchange rate. I clicked "update" on the Manage Currency Rates admin page, but I cannot modify the number at all....