Questions tagged [product]

Denotes a question related to the Magento products.

Filter by
Sorted by
Tagged with
80
votes
6answers
69k views

Difference between getSize() and count() on collection

I have heard many times that they both are the same. But I am facing a weird issue, in the product collection of CatalogSearch module, count() is returning correct product count while getSize() is ...
0
votes
2answers
315 views

Re-assign Simple Prod. Images to the Configurable

I have this scenario: we are actually using a colors-watch ext. for configurable products. This extension works using the images that as been loaded in the associated simple prod. We need to ...
3
votes
2answers
1k views

what are realistic reasons to create a custom product type

I'm trying to wrap my head around when/why I would create a custom product type. I have to imagine there have been opportunities in the past where I probably could have benefited from this, but I'm ...
1
vote
1answer
78 views

How can I know if a grouped products contains any MAP products?

Basically I need to know if a grouped product contains any MAP sub product. Is it possible to get this information without loading all product associated to it?
2
votes
1answer
270 views

Define pay-what-you-want products

How can make the customer pick the price of a product? Is it possible to define price steps for this? Like 5€, 10€, 15€, 20€
1
vote
3answers
2k views

Moving Products from 1.4 to 1.7 - dilemma

I've to move a lot of products from an old Magento site (v. 1.4) to a new one (1.7) with fresh new theme with new modules it's also a multisite, infact there' already a lot of stuff I configured in ...
6
votes
3answers
2k views

Product load event - regardless of context

Is there a single event that I can create an observer for that gets fired when a product is loaded either using getModel or through a collection? The exact use case i have is that i have a custom ...
0
votes
3answers
177 views

Buy a single product from bundle product

I have a set of Virtual products in a bundle product, Is there any way to make each of virtual products buy separately in Magento. How to edit view of product list in a bundle? I am new in Magento,I ...
24
votes
2answers
24k views

product attribute to quote item and order item

What is the correct way in Magento to have a product attribute be automatically persisted to quote an item and then finally to order item? Is it as simple as a little config XML or is it a manual ...
2
votes
1answer
88 views

Products in cancelled orders become inactive. I need them to remain active.

Pretty much my title. I'm running a pretty special store, which only has one of each product, orders take them out of stock, which therefore makes them inactive, but if the order is cancelled, they'...
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).
4
votes
2answers
13k views

Cms page (or static block) inside product description

I need to add some static content inside the product description. I have a store where I bulk add all my products via CSV import and many of them share common HTML code in the description field, for ...
2
votes
1answer
4k views

Filter by Product's Custom Options or set diffrent options for each products from Attributes Sets

I don't know what is the best way of doing this. The idea is that I have about 500 products. I created 11 Attribute Sets (to cover 11 product categories). These attributes are filterable. But I need ...
0
votes
2answers
2k views

Adding a (bundle) product to cart programmatically on different websites/stores

How to add a product to cart is what I have already working, but it seems to be working for the default store only. So when I add a product to cart with the script on the default website/store, the ...
3
votes
1answer
2k views

Add second addtocart.phtml file

I am looking to add a second addtocart.phtml file to a custom product layout I am overriding the product template fine using the below in the products "custom layout update" field <reference name=...
1
vote
3answers
2k views

Tier Pricing of simple product not working with bundle

Bundle items don't seem to listen to the simple product tier pricings. Is it possible to set up a product to sell in this way at all with a fixed service charge and tier pricing? I have the following ...
3
votes
2answers
2k views

getFinalPrice() on associated simple product returns base price not parent product special price

I have 2 products one is configurable and has a special price of 100 and the associated product has no special price assigned and Final Price is not being returned on the associated product. I am ...
2
votes
1answer
3k views

Unable to change in stock text for products in Magento

This is quite a weird one... At some point previously, we had changed the default 'In Stock' text to 'Available to order' on products in Magento. Default:- Availability: In Stock New:- ...
16
votes
2answers
15k views

How to Programmatically set a Product's Multi-Select Attribute by Labels

If have a multiselect attribute and want to set the selection on a product. $selectedOptions = "red,green,blue"; $product->..... // # what to do? How can I do that?
0
votes
1answer
963 views

Modify price adjustment of configurable products through API.

I'm trying to modify my configurable attributes options that I have set in Magento, but upon save I recieve a PDO error saying that it's a duplicate. I haven't been able to find a way to set these ...
0
votes
3answers
3k views

Magento shows 404 error page on a product on one PC

This is a weird problem. We have an item on the test server showing a 404 error page when you put in the URL key after the root URL (eg. www.mystore.com/url_key), however on our local machines they ...
3
votes
3answers
34k views

Showing related products in product view page

I'm working on a website where I'm using Magento 1.7. I want to display the related product of the current product on product view page. I tried many links like these, but none of them worked for me. ...
1
vote
1answer
432 views

Load Configurable Pricing Adjustments

I'm trying to import configurable products with the price corrections. The products and the relations are already in, but I can't seem to get the price corrections working. This is what the ...
5
votes
1answer
14k views

Magento doesn't displays group price

This is a bit frustrating but, some of my products displays the group price while some others not. I have the customer group X, and for this customer group I have different prices than the regular ...
0
votes
1answer
223 views

new product type image of bundled product - children product price not insert in table sale_flat_quote_item and sale_flat_order_item

I created a new product type image of bundled product and everything is work except the children product cannot insert the price in to database table salt_flat_quote_item and sale_flat_order_item. ...
2
votes
1answer
570 views

Override price sorting to use max_price in list view?

In a category that's only listing grouped products with several associated products each, I'd like the price sorting to use the max_price. Seems like it's using the min_price by default. Is there an ...
1
vote
2answers
8k views

Can I override getLoadedProductCollection() before it’s being loaded?

I'm trying to override the products collection that's coming from $this->getLoadedProductCollection() so I tried to override the method class **_**_Model_Rewrite_Layer extends ...
0
votes
1answer
3k views

Related Product gets not added to cart

I have a strange problem on my test system. I'm quite new to magento and think this problem might exist, because it is a test system. I have some products with related products. If I try to add a ...
0
votes
2answers
1k views

Trouble while getting product collection in observer

i am trying building a small module which house a Observer for getting called when and event called when catalog_product_import_profile_after is fired this is custom event which i have fired using the ...
0
votes
1answer
1k views

Different price for product added to cart as simple product or as part of a bundle product?

let’s say I have a simple product named “Pentium i7” with the price §300 that can be added to the cart as a simple product. Also, the “Pentium i7” product can be chosen as an option for a bundle ...
6
votes
5answers
27k views

Get product attribute 'option label'?

I have manage to retrieve the value for an attribute relative to a particular product $store_id = Mage::app()->getStore()->getStoreId(); $attribute_code = 'code'; $value = Mage::...
1
vote
1answer
6k views

Where are stored the group prices on magento database?

I'm developing a module in backend that displays the 'group prices' of the products, but I don't know where are them stored in the database in order to show them. If anyone has some idea I will ...
2
votes
1answer
4k views

Magento - Get specific custom product option value

I'm trying to make a custom XML feed for Magento. Everything's fine and dandy, however I've hit a roadblock. I'm trying to get specific custom product options for my products, but the method I'm using ...
0
votes
2answers
2k views

Magento is not tracking most popular products

Not Getting most popular products .I have category in which most popular product will list down. What i did Create a CMS Block {{block type="catalog/product_mostviewed" template="catalog/product/...
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 ...
2
votes
2answers
9k views

Create Special Price page which shows Catalog price rules products

========= UPDATE ========= I accepted simonthesorcerer response, but it didn't work for me. I found a free module you can get on this url: http://www.magentocommerce.com/magento-connect/thirty4+...
-2
votes
2answers
3k views

Magento Sales (special price) CMS Page

I've tried several tutorials found around Google... but none of those seems to work for me. I need to create a Sales page, for products with special prices, that acts like a normal category page, ...
3
votes
2answers
5k views

How to get $this->getAddToCartUrl($product) in magento

In my magento application created a phtml page in template/page/ folder.. Here displayed a products...Then there is a need for displaying $this->getAddToCartUrl($product) But it return null ...
4
votes
1answer
3k views

Remove from wishlist URL?

I'm trying to create a link to remove an item from the wishlist if it's there. The URL is returning /wishlist/index/remove instead of the correct URL which from what I've seen online should be /...
3
votes
4answers
5k views

using time in special price from/to

I'm trying to set a time in the product special price to/from dates (i.e., special price from 3/20/2013 11am EST to 4/20/2013 10:59am EST), but I cannot get a time to show up or save. When I enter a ...
2
votes
2answers
4k views

How to Insert Product Selection Widget into Backend Form?

Magento has a widget where I can select a product. I need to embed it into my form. To be more clear I will provide screenshot: From this widget I need only product id. I can see that I need ...
0
votes
1answer
2k views

addAttributeToSort by ASC ignore null values

I am try to sort my product collection. At first it should be sorted by alphabet (A,B,C..) and then by other character like NULL ... This is my code which I have tried... return $this->...
0
votes
1answer
2k views

There are no applicable items for return in this order

I am going through the RMA process, I have placed 4 orders now with different products, and each time I try to create an RMA, I get the following error message There are no applicable items for ...
15
votes
2answers
11k views

Creating Custom option and prize to just added product to cart using observer

I want to add custom option to quoteitem using observer which observer checkoutCartProductAddAfter event and fires after product added to cart. public function checkoutCartProductAddAfter(...
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
1answer
711 views

Is there any known way to create a cart item that doesn't exist as a product?

I'm going to be receiving product data from multiple 3rd-party sources in a common format. Generally, I've seen this issue handled by either creating a product for each incoming item in the user's ...
3
votes
1answer
13k views

Adding Color attribute option in Magento Admin

How can I add extra Color attribute options ( blue, black , etc) which are not already show in Magento admin when adding configureable / simple products.. I did it a few months ago, it was some ...
0
votes
2answers
3k views

Help with adding a custom option type value field

I'm extending the catalog_product_option_type_value database. I created my own table, my_catalog_product_option_type_value and it has a reference to the option_type_id. I have that working, and my ...
2
votes
1answer
4k views

How to Set Product attribute to 'Use Default' by SQL

I would like to set 'Name' and 'Description' attribute to Use Default for a couple of store views. Like I have those store views. Eng CA Eng USA Fra Spa So I would like to set globally for all ...
2
votes
1answer
3k views

1.7 displaying products placed in a root category

I've built a new block that displays products placed in a specific category (chosen via ID) and renders them out with some fancy jQuery. Now to test this I passed a id of 17, a category with plenty of ...