Magento Forum

   
ToolTip di home produk magento
 
komangbagus
Jr. Member
 
Total Posts:  4
Joined:  2011-05-31
 

Saya dapet kerjaan pake magento, cuma maintenance aja sih....aku bingung karna pertama kalinya make magento. client pengen menambahkan tooltip di web magento , aku udah bisa sih tapi yang bisa saya tampilkan cuma nama dan harga barangnya, inginnya sih ukuran barangnya… seperti ( XL, S, L dll ) .
Saya ngubahnya di list_home.phtml-nya :

<?php $_collectionSize = $_productCollection->count() ?>
<table cellspacing=\\\\\\\"0\\\\\\\" class=\\\\\\\"generic-product-grid\\\\\\\" id=\\\\\\\"product-list-table\\\\\\\">
<?php $_columnCount = $this->getColumnCount(); $_columnCount=3; ?>
<?php $i=0; foreach ($_productCollection as $_product): ?>
<?php if ($i++%$_columnCount==0): ?>
<tr>
<?php endif ?>
<td>
<p class=\\\\\\\"product-image\\\\\\\">
<a class=\\\\\\\"tooltip\\\\\\\" href=\\\\\\\"<?php echo $_product->getProductUrl() ?>\\\\\\\” title=\\\\\\\"\\\\\\\">
<img src=\\\\\\\"<?php echo $this->helper(\\\\\\\'catalog/image\\\\\\\')->init($_product, \\\\\\\'small_image\\\\\\\')->resize(170, 170); ?>\\\\\\\” alt=\\\\\\\"<?php echo $this->htmlEscape($this->getImageLabel($_product, \\\\\\\'small_image\\\\\\\')) ?>\\\\\\\” title=\\\\\\\"\\\\\\\" />
[color=green] <span class=\\\\\\\"classic\\\\\\\">
<?php echo $this->htmlEscape($this->getImageLabel($_product, \\\\\\\'small_image\\\\\\\')) ?>
<?php echo \\\\\\\'<br/>PRIS : \\\\\\\'.$_product->getPrice().\\\\\\\' DKK\\\\\\\' ?>
</span>

</a>
</p>[/color] excaim


Tolong pencerahanya...
 
Magento Community Magento Community
Magento Community
Magento Community
 
komangbagus
Jr. Member
 
Total Posts:  4
Joined:  2011-05-31
 

http://www.sports-stuff.dk/ +> Ini web dari klien saya.

Maunya sperti : http://www.smartgirl.dk

 
Magento Community Magento Community
Magento Community
Magento Community
 
upakarti
Sr. Member
 
Avatar
Total Posts:  262
Joined:  2008-06-25
Denpasar, Bali Indonesia
 

@Bli Bagus bagi2 dong projectnya? Hueuehehe.
Bahasanya Danish nih, Sizenya mau ditampilin di section mananya?

 
Magento Community Magento Community
Magento Community
Magento Community
 
komangbagus
Jr. Member
 
Total Posts:  4
Joined:  2011-05-31
 

di nampilin saat kursor on Over, seperti di smartgirl itu loh................

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top