Questions tagged [catalog]

It should be used for questions regarding the catalog module.

Filter by
Sorted by
Tagged with
1
vote
2answers
3k views

How to add image overlay to Product image?

I am trying to add an overlay for products the have sold out but for some reason my implementation isn't working... I have created an .png file and a CSS class for the overlay. .products-overlay { ...
0
votes
1answer
3k views

Sort by 2 attributes with different orders

I have to catalog sort by 2 attributes with different orders (asc, desc). I have change in function setCollection($collection). But here order is overwrite on another order. Here is my code, which I ...
0
votes
1answer
295 views

Quick way to show the full catalog in front-end layered navigation grid

In the base layout/catalog.xml, there's the 'catalog_category_layered' handle: <catalog_category_layered translate="label"> <label>Catalog Category (Anchor)</label> <...
4
votes
2answers
5k views

Add new column to an EAV table `catalog_product_entity`

I tried to add new column to the table catalog_product_entity via a setup resource. But when i try to save a value to table (using setMyColumnName()), the value is not reflected in the underlying ...
0
votes
1answer
130 views

using data from a collection to find link values

In, what feels like a never ending quest to teach myself Magento and use it at a practical level I have finally decided that I should dive into the code and learn how individual components are ...
2
votes
3answers
4k views

Most efficient way to product top most level category

If i have a product model instance, what is the most efficient way to get the highest level category i..e closest to root for that product? If the product is in the following categories i want the id ...
2
votes
2answers
732 views

How to render bundle item product name with From/To: bundle product prices in price.phtml

I have many bundle products that are made up of bundle items. For example if I have a bundle product called "Farm Animals" made up of four bundle items: duck - $1 chicken - $2 cow - $3 zebra - $4 I ...
0
votes
1answer
182 views

Created a custom attribute via setup, but it only appears to new products

Hello i have the next setup code: $installer = new Mage_Catalog_Model_Resource_Setup('core_setup'); $installer->addAttribute('catalog_product', 'shipping_city', array( 'group' =&...
1
vote
1answer
653 views

How to add Product description after product name in catalog list?

I am working with magento 1.7.0.2. I want to add product description after product name in the catalog list. what i will add to template/catalog/product/list.phtml ? Tanks
0
votes
2answers
3k views

How to restrict the number of products in a collection and modify search filters accordingly?

UPDATE: this is partially answered(for someone who comes here lately).The answers does not updated the search filters. I want to limit my product collection in any category/subcategory landing page ...
1
vote
2answers
2k views

Catalog Management - display multiple colors of configurables in category view

I have asked this before but the answer was somewhat convoluted and dissatisfactory. I am looking to achieve the following: A shoe is sold in many colors and many sizes The shoe should show up in ...
1
vote
1answer
2k views

sort catalogsearch by 2 attributes

How can I sort catalogsearch results by 2 attributes instead of "position" or "relevance" only? Not in toolbar, need to sort by default .. for example, first sort products with "attribute1" and then ...
4
votes
2answers
3k views

How to display only the Inventory Tab in admin Product edit section?

The Product edit section (Catalog->Manage Products -> edit) I want to display only the Inventory tab for a particular admin user role. For instance an admin user with "test" as user role should only ...
1
vote
1answer
40 views

Catalogue Price Rules

I need to create a rule on our site where two different products are linked in the same discount. The rule I need is: Buy product x for £35 or product x and y for £55. Not sure what the best way to ...
2
votes
1answer
279 views

How to fetch all products from one magento website and insert them into other using SOAP call?

I want to fetch all products from one magento website (CE 1.7) to insert them into other magento installation (EE 1.12), using SOAP api call (I know that'll be really slooooow). I'll break it into ...
3
votes
3answers
17k views

How can I show a Category Image on my Product Page

I've built a new Page-Template in Magento. On this template I will show the Category-Image and after that, the product grid (as standard). How can I get the Category-Image for my Template? From my ...
1
vote
1answer
754 views

Assigning Products to Catalog Categories

I have a question related to this post: Parent category is showing products in subcategories, even though product was not assigned to parent category As in the post, let's assume that I have a ...
1
vote
1answer
761 views

How to link between two categories in different root catalog?

I'm a newbie to Magento. I've 2 root categories and sub-categories as follow. Root Catalog Site1 - Sub-category 1.1 - Sub-category 1.2 - Sub-category 1.3 - Featured Root Catalog Site 2 - Sub-...
3
votes
1answer
5k views

How do I get the minimal price of a grouped product from a product collection?

I'm loading all products using the product collection resource model. $_categoryId = $this->getCategoryId(); $_productCollection = Mage::getResourceModel('catalog/product_collection') -&...
1
vote
1answer
2k views

product description - WYSIWYG editor is not displayed

my WYSIWYG editor is not displayed in product description in the admin panel. my sittings: Catalog-->magnage attributes--> description --> Enable WYSIWYG = "yes" system --> configuration --> Content ...
1
vote
2answers
378 views

serious need of explanation with addSaleableFilterToCollection

I have spent days looking for a simple tutorial about adding filters to a product collection. If anyone has a link to a good tutorial or explantion I would really appreciate it. I found a Magento ...
2
votes
0answers
821 views

URL Redirect does not appear in catalog [closed]

i've created a url redirect for when the user types womens/clothing/activate/[ITEM] they can get catalog/product/view/id/[ITEMID]/category/[CATID] when i use my new url redirect it works fine however ...
0
votes
1answer
197 views

Attributes missing when a product is loaded via grouped products

I have some simple products which are associated to a grouped product. If I load the simple product separately, the attribute tax_class_id is set, but if the product is contained in a grouped product ...
1
vote
1answer
2k views

Sort by most viewed products

As we can see most viewed products in admin dashboard. I want to use same attribute ( its from report ) to sort products on product catalog sort by dropdown (toolbar.phtml) or is there any better ...
1
vote
1answer
187 views

After setting up a subsite, how to change template to same as default but showing diff catalog?

I have several subsites that I've set up on a site I've inherited where there needs to be several sites with differing domains. I found this tutorial and these two screencasts (Part 1 & Part 2) ...
1
vote
1answer
70 views

Preview items are showing in search

We need items scheduled for Preview to be secret. Right now if something is scheduled for a preview a week in the future, it still shows for customers when they search for a word in the title. We need ...
8
votes
1answer
189 views

Mage_Catalog_Model_Product_Image::_checkMemory

Looking at slow requests in newrelic for a product listing page the top function called was Mage_Catalog_Model_Product_Image::_checkMemory() which does a bunch of stuff like checking the ini settings ...
1
vote
1answer
3k views

Using for catalog_product_index_eav for custom attribute and addAttributeToFilter

I've added an attribute: $installer->addAttribute(Mage_Catalog_Model_Product::ENTITY, 'show_in_subview', array( 'type' => 'varchar', 'label' =&...
1
vote
1answer
261 views

Catalog URL Rewrites Duplicate Index (HY002)

I've seen this problem all around the internet and have yet to find a reasonable solution yet. I've truncated the core_url_rewrite table, set my permissions properly, etc. It seems there is an issue ...
1
vote
1answer
562 views

Products get unassigned from category once in a while

as the title says, I'm having a problem that's repeating from time to time and I don't know the final solution to avoid happening it again. I have lots of products assigned to certain categories under ...
0
votes
1answer
2k views

Catalog Flat Category reindex issue

I am using magento 1.7. I came up with the following issue 'cannot create table column without comments'.I have attached the log 2013-07-26T08:33:24+00:00 DEBUG (7): Exception message: Cannot create ...
1
vote
1answer
1k views

How to override Price Block only for category list and not for search list?

I have a custom module for ajax layered navigation with multiple filters which has a price slider. I don't want a price slider on the search result page. my config.xml rewrites block like this &...
1
vote
1answer
213 views

get array of a product's assigned/used attributes?

what is the easiest way to start from a product instance and get a list of the attributes both standard and custom, set for that particular product ? thank you.
3
votes
1answer
676 views

Strange behaviour with loading entity by attribute

Maybe I'm missing something fundamental by how can it be that the following code works fine and finds an entity: $model = Mage::getModel('catalog/category')->loadByAttribute('url_key', $...
1
vote
2answers
2k views

Tier price slider

I need one functionality for my magento project. I needed slider for the product tier price.I need some thing like that When Qty is 10 price $10 per product Qty is 11 to 99 price $9 per product Qty ...
1
vote
2answers
587 views

Tier Prices for Specific Increments

We are selling articles that should be sold cheaper if sold in specific multiplies (10 pieces, 20 pieces, ...). When setting a tier price, it is only possible to set this price for "> 10" items and ...
1
vote
2answers
1k views

Products from outside store's root category showing up on frontend - Is this right?

We have several stores setup under a single install of Magento Enterprise. We now share accounts globally so there is a single cart and login across all stores. We have a separate root category setup ...
0
votes
0answers
38 views

echo root category + 1 level [duplicate]

for design purposes -css customization - I need to echo in my catalog list view the first category. Taking into consideration that the first category is Root (or default) all paths give me that ...
5
votes
1answer
3k views

field of type link in admin form is not rendering value

My class extends from Mage_Adminhtml_Block_Widget_Form, which has declaration for _prepareForm method with code for myfield as follows $fieldset->addField('myElementId', 'link', array( '...
1
vote
1answer
125 views

Change maximum number of items in paging navigation

On catalog page there is a pagination links that look like this (for 17 pages): <- 1 2 3 4 5 6 7 8 9 10 ... 17 -> Is there any way to reduce number of items before ... without rewriting paging ...
3
votes
1answer
3k views

Override catalog page title

I want to override page title of catalog pages to include selected attributes and subcategories. e.g. "Shoes - Adidas - Red | Brand" What observer or model should I override to modify the page title?...
2
votes
1answer
4k views

Can i call getMediaUrl method in template file with a default block instance?

In my custom phtml file (say foo/bar.phtml file), i need to call $this->getMediaUrl(some/imagefile), How do i use $this instance with a default block instance(say core/template).
2
votes
2answers
2k views

Magento 1.8 Alpha1 CE Sample Data

Is there a version of Magento's sample data that works with the 1.8 CE Alpha 1 release? I just installed the package and I'm seeing errors when re-indexing. $ php shell/indexer.php --reindex ...
0
votes
3answers
1k views

Display the intersect of multiple categories

This is less a question of how as much as it's a question of how ill-advised is this? For simplicity, let's say the store sells bicycle parts. Basically, the client would like have parts categorized ...
0
votes
2answers
3k views

Change Sort Order

How to change the products sort order from "desc" to "asc" for one particular category? Is it possible with layout xml?
3
votes
1answer
1k views

How to show category siblings?

I have a Magento based website. In my product page I need to show related categories regarding the category the product fall into. For example suppose the category structure A- has three child ...
1
vote
2answers
1k views

Configurable product tax issues on asscoaiated products

We have some configurable products that we need to apply tax to but only on the chosen associated product. For example we have a price of £89.95 on the configurable product itself but the associated ...
1
vote
1answer
700 views

Merchandising Configurable Products

tl;dr: I want the black simple product image to show up when black is chosen from layered nav in any category, but when clicked to still navigate to the configurable. Scenario: We operate a store ...
1
vote
1answer
240 views

Magento - Grouping products in one category by other categories they are in

I'm working on a magento site for a clothes designer and she wants products categorized in "collections". She also wants them categorized in clothing types such as shirts, dresses, pants, etc. I've ...
5
votes
2answers
4k views

do catalog price rules carry over when added to the cart?

I have a catalog price rule - which appears to look correct when viewing the products in the catalog. however, when I add to the cart - the price goes back up to the full amount. Is this price rule ...