I've used the follow code to get the whole list of manufacturer.
$currentCategory = Mage::registry('current_category');
$product = Mage::getModel('catalog/product');
$attributes = Mage::getResourceModel('eav/entity_attribute_collection')->setEntityTypeFilter($product->getResource()->getTypeId())->addFieldToFilter('at...
hi i have a website in magento which contain url like mydomain/Parent-category/sub-category but i wnat to this URL for sub-category Like mydomain/Subcategory..please help me how can i remove main-category from the URL of sub-category in magento...i will be greatfull...
thanks lot... i want URL like http://www.Sofasshopping.com
...
I want to include to the administrator the option to disable login accounts, no data would be erased from the account, but if would be disabled for users not using it more, once cleared, the user would not notice any newsletters or anything else, just one last mail notifying the deactivating your account.
...
Hi,
my database config has changed so Magento is not able to connect anymore. The connection before worked but now it seems to need a socket config value...
The relevant part in my local.xml config looks like this:
<connection>
<host><![CDATA[localhost]]></host>
<username><![CDATA[username]]></username>
<password><![CDATA[pas...
Question has to do with the well known to the magento community, J2T Ajax cart, which can be found here.
Although the installation seems straightforward, you are assumed to copy the files to appropriate directories and modify from the administrator panel. After a "successful" installation cart's behaviour remains the same. I used the t...
Hey guys. I used this:
http://inchoo.net/wordpress/how-to-use-wordpress-home-page-in-magento-home-page-cms-page/comment-page-1/#comment-8020
to accomplish getting my wordpress to show some info inside magento (blog posts) but I can not understand how to pull in the entire page. The only part I don't want is the header and footer.
A...
Morning,
So we've got a Magento installation that's been working fine for two months, processing orders, managing inventory and being amazing as a good website should.
The problem is, today the Magento admin panel has completely stopped working. Nightmare. You can browse to /admin and see the login panel, but once you've logged in the...
$attributeInfo = Mage::getResourceModel('eav/entity_attribute_collection')
->setCodeFilter('modellijn')
->addAttributeToFilter('brand', 114)
->getFirstItem();
Hi there. I would like to know the right syntax for the following:
Select the attribute modellijn where the attribute brand=114. The above syntax gives back an error. I ha...
I've been working on a custom module that has a backend for admin. Until now it has been working perfectly, just like the customer modules do, but now I'm stuck with this. My custom table saves the customer ID and I can show the customer name in every row of the grid. So far I'm able to show the ID, I know that I should prepare the colle...
in Mage_Adminhtml_Block_Customer_Edit_Tab_Cart, in the _prepareColumns() function they add a column for action, there you can see
'onclick' => 'return ' . $this->getJsObjectName() . 'cartControl.removeItem($item_id);'
so i try to do the same with my custom module,
'onclick' => 'return ' . $this->getJsObjectName() . 'comentarioCont...
I'm developing a module with both a frontend and a backend. Until now everything has been ok, but now I want to upload images in the backend. I don't know how to start, and everything I've tried has just given me a headache.
Thanks
...
I have a newsletter box in my Magento sidebar that I need to change the position of.
It appears beneath the app/design/frontend/default/theme/template/callouts/right_col.php template.
I've been trying to get my head around the XML files for layout. I couldn't find any mention of newsletter in page.xml or catalog.xml. There is a newslet...
Hi folks,
I 've installed magento and it seems to work, but if I want to save a new Catalog_product_set with different attributes then I get Internal Error Message with Status Code 500
Does anyone have the same problem?
Thanks in advance
cheers tabaluga
...
Hello,
I need to delete certain option value from an attribute, for example color. If color has red, blue and green as options, then I need to delete one of them, for example blue.
I have so far been able to get the attribute values but I am having problems deleting a particular option.
$attribute_model = Mage::getModel('ea...
Hi All
Is there any way to get the title of a cms page, if you only know it's url key/identifier? For example, the about page (in the sample data) has a url key/identifier of 'about-magento-demo-store'. If that's the only information I had, how would I go about getting the page title from that? As in the faux code below:
$pageTitle = M...
Hi,
I have a question regarding clearing of the log data in Magento.
I have more than 2.3GB of data in Magento 1.4.1, and now I want to optimize the database, because it's too slow due to the size of the data. I checked the log info (URL,Visitors) and it shows more than 1.9 GB. If I directly clear those records, will it affect any func...
Hi,
I am trying to setup multiple stores within same hosting account and I studied many interesting guides out there on the matter.
Seems to me I figured out simplest solution for me - map both my dot com sites onto the same directory on host, and modify .htaccess to launch different website depending on URL, like so:
SetEnvIf Host ....
Hi,
In magento sidebar basically how the price filter option is working, i went through all the templte and block files under my custom design.
I am getting this ranges by default.
1. $0.00 - $10,000.00 (1027)
2. $10,000.00 - $20,000.00 (3)
3. $20,000.00 - $30,000.00 (1)
These limits are automatically taken but i want give...
Is there a way by mysql to set ALL product visibility to catalog, search?
...
Hello
in my magento project add to cart problem in FF,safari,chorm.
add to cart is working in IE but not in another bowser.
Plz guide me right way.
...