Call-back icon  Questions? Contact our sales team to a request a quote

Magento

eCommerce Software for Online Growth

Magento Forum

   
Configurable product logic is completely broken now. (Magento v.1.1.3)
 
impulsis
Jr. Member
 
Total Posts:  3
Joined:  2008-01-16
 

Well, this isn’t a real-life example, but it was specially designed to outline the problems with current configurable product logic.

1. Let’s say we have a toy store. We have four toys on sale: Tiger, Piglet, Donkey and Rabbit. Now we want to present them all as a configurable toy. So, we have two attributes: Fur (long/short) and Ears (long/short). Our toys (simple products) will be configured as follows:
- Tiger - long fur, short ears
- Piglet - short fur, short ears
- Donkey - short fur, long ears
- Rabbit - long fur, long ears
And the configurable product Nice Toy with two attributes to select Fur and Ears.

Now, somebody orders the Nice Toy with long fur and long ears - so, actually he buys a Rabbit. And this is correctly reflected by deducing the Rabbits’ stock - but nowhere else can we see the Rabbit was bought! This makes it quite difficult (if not impossible) to track and fulfill orders.

Then let’s try to remove the Donkey from the Nice Toy’s list of associated products - we’ll see, that customer will be not able to configure Nice Toy for the combination of short fur and long ears anymore, although both short fur and long ears options are still available on their own. This proves, that the actual logic of configurable product is in selling appropriate simple one, not just something with some options selected. So it would be much more reasonable to show the actual simple product everywhere, instead of (or at least along with) the configurable one with selected option values reported.

2. Moreover, let’s say that our toys have different prices. To make things yet more complicated, we’ll price our toys as follows:
- Tiger - $13.95
- Piglet - $17.95
- Donkey - $10.95
- Rabbit - $19.95
But the configurable product completely ignores associated simples’ pricing and has its’ own pricing defined per each single attribute value, not per attribute values combination!. So, to make our Nice Toy be priced correctly to match the prices of associated simple products, we’ll have to solve the system of four linear equations:
{base price} + {long fur} + {short ears} = $13.95
{base price} + {short fur} + {short ears} = $17.95
{base price} + {short fur} + {long ears} = $10.95
{base price} + {long fur} + {long ears} = $19.95
cheese This one is simple, but anybody curious enough could try to solve it on his own and see, how much time this simple exercise will take… to figure out that there is no solution!

In my not so humble opinion, as long as we do sell simple products and not the configurable itself, the configurable one should not have any own pricing at all, totally relying on the underlying simples’ prices. Or at least, this setting should be configurable like it is with bundles’ pricing (fixed/dynamic). Otherwise, we end up being unable to price the configurable product correctly, like in this example.

 
Magento Community Magento Community
Magento Community
Magento Community
 
impulsis
Jr. Member
 
Total Posts:  3
Joined:  2008-01-16
 

PS.

3. By the way, there is also a bug in the stock management for configurable products. Regarding the above example, let’s say that we had 100 Rabbits in stock initially. So the stock was like:
Rabbit - 100
Nice Toy - 0

After the ordering of furry long-eared nice toy, the stock is:
Rabbit - 99
Nice Toy - 0
Which is correct.

Now, let’s go and cancel the order… Then look to our stock numbers:
Rabbit - 99
Nice Toy - 1
shock

 
Magento Community Magento Community
Magento Community
Magento Community
 
bigfresh
Jr. Member
 
Total Posts:  14
Joined:  2008-08-23
 

hi impulsis,
i am struggling with this very issue:

But the configurable product completely ignores associated simples’ pricing and has its’ own pricing defined per each single attribute value, not per attribute values combination!.

were you ever able to find a way to make that work?  i am 6 weeks into development on a site and reached a large batch of configurable products that need a more complicated pricing scheme, and magento seemingly cant pull it off.  i’m reaching my deadline and i’m looking very screwed at this point, and while i cant afford to start over with a different cart system, things are looking desperate.  this is an insane, impractical oversight by the magento team.

your subject line says “...completely broken now”.  are you implying that it was working in the past?  thanks for any help!

 
Magento Community Magento Community
Magento Community
Magento Community
 
craichead
Jr. Member
 
Total Posts:  23
Joined:  2008-08-28
Greeley, CO
 

bigfresh.  Agreed.  It should pull the prices that you enter on the “simple product”.  Looking for an update on this....

 
Magento Community Magento Community
Magento Community
Magento Community
 
josh_trivera
Member
 
Avatar
Total Posts:  62
Joined:  2008-02-12
Wisconsin, USA
 

Indeed, this needs to be tended to.
The Additional Super Product Attributes Configuration doesn’t alleviate the issue.

 
Magento Community Magento Community
Magento Community
Magento Community
 
bmartus
Member
 
Total Posts:  69
Joined:  2008-05-22
Greenville, TX
 
craichead - 13 October 2008 12:04 PM

bigfresh.  Agreed.  It should pull the prices that you enter on the “simple product”.  Looking for an update on this....

I agree as well .. this is the only way to take advantage of tiered pricing on these configurable products, too, right?

 Signature 

Brandon Martus

 
Magento Community Magento Community
Magento Community
Magento Community
 
[m] zentrale
Guru
 
Avatar
Total Posts:  407
Joined:  2007-12-06
Stuttgart, Germany
 
impulsis - 29 August 2008 04:46 AM

PS.

3. By the way, there is also a bug in the stock management for configurable products. Regarding the above example, let’s say that we had 100 Rabbits in stock initially. So the stock was like:
Rabbit - 100
Nice Toy - 0

After the ordering of furry long-eared nice toy, the stock is:
Rabbit - 99
Nice Toy - 0
Which is correct.

Now, let’s go and cancel the order… Then look to our stock numbers:
Rabbit - 99
Nice Toy - 1
shock

Hi,

iam Using 1.1.4 and there is this bug. I checked code and you can fix it by overwriting the observer class of catalog inventory. i changed following Methods:

/**
     * Cancel order item
     *
     * @param   Varien_Event_Observer $observer
     * @return  Mage_CatalogInventory_Model_Observer
     */
    public function cancelOrderItem($observer)
    
{
        $item 
$observer->getEvent()->getItem();            
        if (
$item->getProductType() == Mage_Catalog_Model_Product_Type::TYPE_CONFIGURABLE{            
            $productId 
Mage::getModel('catalog/product')->getIdBySku($item->getProductOptionByCode('simple_sku'));
        
}else{
            $productId 
$item->getProductId();
        
}       
        
if ($item->getId() && ($productId) && ($qty $item->getQtyToShip())) {
            Mage
::getSingleton('cataloginventory/stock')->backItemQty($productId$qty);
        
}
        
return $this;
    
}

    
/**
     * Back refunded item qty to stock
     *
     * @param   Varien_Event_Observer $observer
     * @return  Mage_CatalogInventory_Model_Observer
     */
    
public function refundOrderItem($observer)
    
{
        $item 
$observer->getEvent()->getCreditmemoItem();
        if (
$item->getProductType() == Mage_Catalog_Model_Product_Type::TYPE_CONFIGURABLE{            
            $productId 
Mage::getModel('catalog/product')->getIdBySku($item->getProductOptionByCode('simple_sku'));
        
}else{
            $productId 
$item->getProductId();
        
}        
        
if ($item->getId() && $item->getBackToStock() && ($productId) && ($qty $item->getQty())) {
            Mage
::getSingleton('cataloginventory/stock')->backItemQty($productId$qty);
        
}
        
return $this;
    
}

cheers

 Signature 

Account-User: S. Bothner & A. Jaus
[m] zentrale | InternetAgentur Stuttgart & München
Agentur für Beratung, Entwicklung & Marketing.
Magento™ Silver Partner & Community Pro Member
----
Ich habe Visionen - muss ich jetzt zum Arzt?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sensi
Sr. Member
 
Total Posts:  76
Joined:  2008-07-31
Paris, France
 
craichead - 13 October 2008 12:04 PM

bigfresh.  Agreed.  It should pull the prices that you enter on the “simple product”.  Looking for an update on this....

Maybe try that: http://www.magentocommerce.com/extension/596/simple-configurable-products
 Signature 

Friends: Kaipifraise web agency

 
Magento Community Magento Community
Magento Community
Magento Community
 
MIMOdan
Jr. Member
 
Total Posts:  7
Joined:  2008-11-14
 
Sensi - 07 November 2008 03:49 AM

craichead - 13 October 2008 12:04 PM
bigfresh.  Agreed.  It should pull the prices that you enter on the “simple product”.  Looking for an update on this....

Maybe try that: http://www.magentocommerce.com/extension/596/simple-configurable-products

Wow, that’s so perfect - I’ve been looking for something like this for a while!  BRILLIANT, thank you so much!

 
Magento Community Magento Community
Magento Community
Magento Community
 
AndyM
Jr. Member
 
Total Posts:  23
Joined:  2008-11-06
 

Unfortunately layered navigations number of products in brackets and the filter options still do not reflect the simple products attributes only those of the configurable.

If this was fixed then in conjunction with the extension already mentioned there would at least be a workable configurable products solution.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
60006 users|753 users currently online|118852 forum posts