Your shopping cart is empty. Browse our Store

Magento

Open Source eCommerce Evolved

Chcete rozšířit Produkty typu "Grouped Product"?

"Grouped Product” je v podání Magenta celkem zanedbaná část kódu. Proto jsem začal s updatem, který budem postupně rozšiřovat wink

1. ve složce:  váš_obchodappdesignfrontenddefaultdefaulttemplatecatalogproductviewtype
otevřete soubor: grouped.phtml
2. vyhledejte řádek “43” s textem:
3. nahraďte ho:

RSS comments feed for this entry

User Comments

|3 comments
  1. ledo

    1ledo posted Sat, May 3, 2008

    Informace v CODE

  2. ledo

    2ledo posted Sat, May 3, 2008

    Tak super na hlaní stránce se nezobrazují informace v CODE takže to dodatečně hodim sem:
    ad. bod 2:

    <td><?php echo $this->htmlEscape($_item->getName())?></td>
    ad. bod 3:
    <td>
                    <!-- 
    Image for product -->
                    <
    a href="<?php echo $_item->getProductUrl()?>" title="<?php echo $this->htmlEscape($_item->getName())?>">
                    <
    img src="<?php echo $_item->getSmallImageUrl()?>" width="50" height="50" alt="<?php echo $this->htmlEscape($_item->getName())?>" style="" />
                    </
    a><br />
                    <!-- 
    Txt link for product -->    
                    <
    a href="<?php echo $_item->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_item->getName()) ?>"><?php echo $this->htmlEscape($_item->getName())?></a>
                </
    td>

  3. ledo

    3ledo posted Sat, May 3, 2008

    Nevíte někdo jak použít místo small image:

    $_item->getSmallImageUrl()
    Thumbnail image?
    Dále nevim jak zrušit link na produkt pokud je množstí na skladu je menší jak “1” ( if, else )
    Dík za radu


Sales: Call 877.832.5289 (North America) 310.295.4144 (International) to request a call-back.
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
32090 users|368 users currently online|71969 forum posts