magento

[IMAGE] Magento Description/Attributes Replace?

I'm having trouble swapping Short Description (Quick Overview) with Additional Information (Attributes) Here's an image better explaining what I'm trying to accomplish: I posted links to CodePaste.net Here is my View.PHTML Here is my Attributes.PHTML Here is my Tabs.PHTML Here is my Catalog.XML I know most files posted are ...

How to prevent ordering certain products - or a category - from a specific country

I have a category dedicated for exported goods , obviously , they will not be sold locally . so , how can I prevent customers who are from my country from ordering products that are meant only for exporting.. and showing an error message .. please help ! ...

Magento - Value of All Stock

Is it possible to get a value for all of the stock in my magento store? ie. add all (item qty * item cost) ...

Error : Not all products are available in the requested quantity !! what does this mean?

Hello , i get this error when trying to submit the order in the shopping cart : Not all products are available in the requested quantity I have set the quantity to 1000 and made it in stock ... I have just installed magento and some other extensions , , so what i did wrong ,, ...

map marker on Unirgy storelocator in Magento

Hi, How can I add a marker to the Google Map instance created via the Unirgy Store Locator in Magento. Thanks ...

using conditions in magento layout xml

Hi all, Wondering if anyone has used the or statements in magento's layout XML for a custom module? I realise that I could check the values in the module controller or block itself, but it seems like a logical place for the logic to live. Mage_Core uses them in catalog.xml to test for javascript. <!--<params/><if/><condition>can_loa...

How do I send parameters to advanced search in Magento?

Hi, I have the following search form in Magento: <form action="catalogsearch/advanced/result/" method="get" id="form-validate"> <input name="name" type="text" id="textfield" value="" /> <select name="platform" id="select"> <option value='6'>XBox</option> <option value='5'>XBox 360</option> </select> <input type="submi...

create new options for magento dropdown field at import

Hello, Here is a question for magento experienced users. My case is the following: In a Simple Product i've created a "serie" attribute that has a dropdown list type in order to let magento use it in "shop by" menu. however, i'm importing data from existing legacy database. i want to automatically create a new dropdown option from ...

ubuntu returns 500 error when .htaccess enabled

I'm currently moving a dev magento build to my live test subdomain on ubuntu and using Easy Hosting Control Panel (EHCP). If I rename my .htaccess file to .htaccess and refresh my subdomain url, I get an internal server error 500. If I rename the .htaccess file to .htaccess.bak, and refresh, the subdomain displays my magento store fine....

Magento Custom Backend functionality

Hi, ok i need some help with magento. I have been using it for about 6 months now mainly using the built in functionality and have looked briefly at some of the more advanced features. I am looking now at building in some custom features to the backend but dont know exactly where to start. Basically, all of the documentation seems to ...

How do I save value in my own session variable in Magento?

Hi, I am using Magento and tryin to save a value in session as follows in its index.php file, but value is not being retained. $_SESSION['myvar'] = '1'; How do I do it? Thanks ...

How do i add some more fields in Magento -> System -> My Account

Hello , I am new to magento and trying to add some more fields there. i am using magento 1.4.1.0 and also trying to so called override methods for block and controller. but i am not able to see the changes. Can anyone help ??? ...

Retrieve attribute code

Hi, A very small thing that is driving me crazy :) I am not able to retrieve the attribute code of the current attribute in the /catalog/product/view/type/options/configurable.phtml template file. Around (or at) line 36, when I change the echo $_attribute->getLabel() to echo $_attribute->getAttributeId() I get the correct att...

Magento : How to check if admin is logged in within a module controller??

Hi everybody, I'm creating a Magento Module. Within the controller, I want to check if an admin is logged in or not. So the controller only will be accessible if there is a logged in admin. I'm trying to use this code on my controller. Mage::getSingleton('core/session', array('name' => 'adminhtml')); $session = Mage::getSingleton('ad...

Magento - Adding Files to Local/Mage has no Effect

I would like to make changes to some Magento core files. To make sure the changes are future proof I copy the file from code/core/Mage to code/local/Mage. I keep the file structures and file names consistent. The problem is when I do this the changes have no effect (I've refreshed the cache) Any ideas where I'm going wrong? If I edi...

Magento - Google Checkout Free Shipping Problem

I have set up Google Checkout on my Magento store and I'm using Flat Rates for the shipping. the problem is if I put zero for the rate ie. free shipping I get a message when I go to checkout saying that I don't ship to that country. If I add any value into the rate (even 0.01) it works fine. Here is a screen of the config which doesn'...

how to refresh magento tier price cache after sql insert

Hi, I've imported new tier prices into the magento database using the sql shown below and when I view the product in the admin, the tiers are correct. However, on the front-end, the tiers are not displayed under I Save the product in the back-end. I've deleted the var/cache, rebuilt the Catalog Index, refreshed Inventory Stock Statu...

pagination missing in Magento catalogue page

for some reason, the pagination on my Magento catalogue page is missing now. any ideas? ...

How to save a Item Object in Magento to get it back later

I want save $this->_getCart()->getItems() And save it so i can work with the Items after checkout! After the checkout i want to write the items backk to the cart. Does anybody has a Idea to proceed? ...

Magento adding install object

I'm creating a module that let's you define some extra options for categorys in Magento, following this tuturial to get started: http://www.magentocommerce.com/wiki/5_-_modules_and_development/0_-_module_development_in_magento/installing_custom_attributes_with_your_module I built on a skeleton module created with ModuleCreator. I have ...