magento

magento payment methods - enable for admin only

Hi there, I need to enable the Cheque / Money Order payment method to enable our clients call centre team to create orders in the admin. However we do not want customers buying online through the website to use this payment method. Does anybody know how I might be able to do this? Regards, Fiona ...

Miva Merchant Integration

I have a prospective client that currently uses Miva Merchant as their e-commerce solution. They would like me to add functionality that I have done before with Magento. I know that Miva uses its own proprietary scripting language, but how similar is this to other languages? How steep is the learning curve to be able to modify core fu...

Size SKU in Magento

Hi, How can I allow SKU be longer than 34 characters (for simple products) for all products? When i add new product(simple) and enter more than 34 characters, Magento cuts it to 34 after saving. In the database the 'sku' attributes ( for quete item,order item,invoice item, shipment item) from eav_attribute table hold varchar(255). For...

How do I get product id by attribute id from Magento?

Hi, I am trying to get a product id by attribute id from Magento. How do I do that? ...

Magento Ajax - How to get only body part?

Hello, I am trying to use ajax call with Magento. When I call a block page via Ajax, I get all the HTML including head, css, javascript, and body. How do I get only body part? ...

Magento Store - Extensions Breaking Admin

Previously I was able to download extensions without a problem. Now when I click on admin > system > magento connect > magento connect manager I get a blank screen with a few characters: http://skitch.com/a1anm/ntb31/http-127.0.0.1-8888-thefix-index.php-adminalan-extensions-local-index-key-9318fe8596ce8bec19757cc8ef4d8447 I am able t...

How do I get attribute set name ?

Hi, I am trying to get attribute set name in Magento product view template. I can get attribute value by $_product->getAttributeText('attribute'), but how do I get attribute set name? I would like to display an attribute only if it is belong to a certain attribute set. ...

Magento Theming

Hello Experts, I am trying to develop a Megento theme and i am stuck at place. I am trying to put the Left side bar,in which I want to show category list in it. I am not getting the desired stuff in the left side bar in it. Please help me out.Guide me how can I get the desired thing in the left side bar! Treat me as a NewBee in megento...

Difference between Model and Model Resouce

Hey guys, Im starting a project with Magento. Let me first say, that i come from the MS world, i have never used PHP before, and while im catching up quite rapidly i'm def a php newb. I can't quite seem to grasp the differences between the model, resource model, resource and entity objects and how they are related in the magento archit...

Magento Ecommerce

Hi , Does any one know of an extension or how to display the price of product's only if the customer is logged in ? But if the customer is not logged in the price is blank ? Thanks in advance ...

Magento : create ajax dropdwon populated with labels of 3 product's attributes.

Greetings, I'm, unluckily in need of having this : Product has (lets say) 6 attributes with "Yes/No" values. I need a dropdown on that product's page that will populate with attributes with "yes" value. attributes are :bundle1,bundle2....,bundle6. When selection is made - I need to know whats have been selected to pass...

How to create a many-to-many relationship within a model in Magento?

I'm looking to add a new first class object to Magento - in this case a Video class. I'd like the video class to have many-to-many relationships with products and categories. These relationships would identify which pages that video shows up on, and should be accessible from both sides of the relationship. It's pretty clear how to ad...

Magento: Several custom blocks all outputting the same code!

I have a custom module, which has several blocks. If I include these blocks in a CMS page after each other, they work as expected. If I include them through the layout XML files, they all display the source code of the last one called in the XML. A minimum test case (that for me is exhibiting this behavior) follows, along with expected a...

Magento - adding a new field to the product options in admin

Hi All I'd like to add a new tab to the 'catalog->manage products->product information' page in the admin. Underneath the 'images' tab, I'd like to add a new tab for video, with a simple text input for adding a video url, which I can then grab for the frontend. Anyone any ideas where the files are that I need to edit? I've been looking...

LAMP Whitescreen on Magento

First off, sorry if this shouldn't be on Stack Overflow, and instead should be on Server Fault / Super User. I am pretty sure it is a programming issue... I am getting a whitescreen on a Magento install for a PDF generation script. I usually attribute whitescreens to memory issues on Apache, but: I am getting no visible errors (disp...

in Magento, How to make a payment method that sends POST variables to an external url?

I need to make a custom payment method that gets some variables from the customer’s order and sends them as POST variables to an external url. The variables I need to get from Magento are the total amount, the order number and the products description. Those variables are sent to a url of a third party gateway, where the credit card inf...

Why is Magento 1.4 including javascript files by filesystem path?

I am in the process of testing a Magento 1.3 site using Magento 1.4. I am seeing very weird and inconsistent behavior. Instead of including the URL of my javascript files, Magento is creating tags with the full filesystem path of the js files, as so: <script type="text/javascript" src="/home/my_username/public_html/js/prototype/prototyp...

How to show grouped products thumbnails within Magento product detail view?

Hi, Using modern theme based Magento configuration the detail view displays a table with the list of associated products along with the individual price and quantity input field. After the table definition, a single 'Add to Cart' button is provided. I am trying to make the following modifications to this grouped product detail view dis...

Why is Magento trying to call in the Mage namespace rather than my custom namespace?

I’ve created a module within the local code folder in our custom namespace. The block isn’t displaying on the frontend, and on checking the exception log, it turns out Magento is looking in the wrong place. exception ‘Mage_Core_Exception’ with message ‘Invalid block type: Mage_MyCompany_ForthcomingProducts_Block_List’ in /var/www/html/...

Magento - Multiple shops one shopping cart is not working

Hello, I have created in magento 2 shops with 1 common shopping cart. If I am a visitor and add to cart 1 product from 1st store and then go to 2nd store the cart reset.I saw on gap.com that this work. Anybody can help me with this problem? ...