I'm having a little dilemma. The following code correctly displays the assigned products while ignoring the minimal pricing. The "as low as" option.
<?php
$cat_id = 123; // category id
$category = Mage::getModel('catalog/category')->load($cat_id);
$todayDate = Mage::app()->getLocale()->date()->toString(Varien_Date::DATETIME_INTERNAL...
Hi,
I am trying to remove links on my account navication. I looked customer/account/navigation.phtml template. THe template grabs links by $this->getLinks(). How do I edit getLinks() method so that I can remove some of links?
...
hi guys, is there anyway i can edit the catalog page to make link of a simple product (which is part of a grouped product) to open the grouped products page?
any help is appreciated.
To be more clear. There's three products a,b and c which in the group 'abc'. So, in the product list, when a customer click on product 'a', it will be forw...
I would like to only Show Shipping Options in the shopping cart - Per Product (or category - or something?) selectively ....most of my products will have free shipping and I dont want the clutter on the cart page- unless I am actually charging shipping on a given product.
...
In my magento store is it possible to set the currency depending on the users location as opposed to using the base currency specified in the site config?
Thanks!
...
Is there a way to add a custom form element to a Magento Adminhtml form without placing the custom element in the lib/Varian folder?
I've tracked down the code that's essentially a Varian_Data_Form_Element_ factory
public function addField($elementId, $type, $config, $after=false)
{
if (isset($this->_types[$type])) {
$class...
I'm trying to retrieve products that carry same attribute. Specifically multiple select type. It seems the basic methods don't work. Selecting only the "name" attribute, I get all my products listed. When I try to filter "shop_by_color", it filters down, but not entirely. Not sure why it removes some and leaves others, even though they a...
I created one module in magento. I create Api.php in that. Now i want to call one another api method in that. For example in my module i have 2 folder. Product and Shipping. Now i create one method in mymodule/Shipping/Model/Api.php and that i want to use in mymodule/Product/Model/Api.php. So how can i import that api class in my product...
I'm writing a custom plugin thing which needs to search the product catalog. Based on some sample code I saw somewhere (possibly this site), I came up with this working prototype:
$searcher = Mage::getSingleton('catalogsearch/advanced')
-> addFilters(array('name' => $_REQUEST['name']))
-> addFilters(array('sku' => $_REQUEST['sku'...
I'm using this extension in my Magento store:
http://www.magentocommerce.com/extension/reviews/module/608/p/2/
I use this block to call the extension on page A:
{{block type="mostviewed/list" name="home.mostviewed1.list" alias="product_homepage" template="catalog/product/top_10_full.phtml" }}
I would also like to call a modified versio...
I am working on a ecommerce based on MagentoCommerce. I use 3 environments: dev (on my local machine), staging and production (both on my dedicated server).
The problem is that when I want to switch from local to staging, I have to edit my hosts file to point the domain used by Magento to my server's IP. However, this is time consuming...
I create one object like tire_price. Now i want to set the view same as tire price in product. Which files i have to create and where i have to map those files. I already put that attribute in Price group and set its type as selection. But it not display same view as tier price with add tier button.
...
I have a static block in Magento with this content:
Contact Us
I would like to replace the # with the site's base url. I want it to retrieve this dynamically.
Thanks!
...
Hi
i want to do a project in my local host. But i don't know how to install on my PHP Apache local server. Does any one help me?
...
Hello,
I have a problem with Magento's configurable product template.
http://clientsupports.com/mind/index.php/clothing/bottoms/33.html
I would like to move color and size under the price $33.00. I tried to modify catalog.xml in layout directory. I tried to find a template file under catalog/product/view, but I can't find anything.
...
i am using page.xml file and any modificatoin done in catalog.xml dont reflect so can anybody suggest me way to show category listing in left sidebar, by default my product categories are showing in top menu.
http://www.vaseemansari.blogspot.com
...
I want to change search image in magento. On search in magento the image name is btn_search.gif. Right now it take image from skin/frontend/default/default/images. And the file is /app/design/frontend/default/default/template/catalogsearch/form.mini.phtml where mention this tag as
<input id="search-button" type="image" src="<?php echo ...
I am trying to get the name of the role of the currently logged in admin. I can get the admin user, but I can't figure out how to query their role name. The Magento docs are weak =/
$usr = Mage::getSingleton('admin/session')->getUser();
Ideas anyone?
...
In Magento how do I specify how many products I would like displayed horizontally in the grid. By default it is 3 and I can't see where to change this (I would like to set it to 2).
Thanks,
Alan.
...
I have created a custom attribute called "leave_out" that I have added to the customer register form and it works fine - saves to db and I can retrieve through the customer info tab in the admin.
I want to include the value of this attribute on the order confirmation email though - how?
...