Piece of code for Magento phtml file

Completed Posted Oct 29, 2012 Paid on delivery
Completed Paid on delivery

My Magento website contains downloadable products, each one has many links which can be purchased separately. When these are added to the cart/basket/order I have a mini-cart which displays the items in the cart. However, it only shows the title of the product and I want it to show the title of the link(s) selected as well e.g.

You have 3 items in your order

Product A:

Link Title A3

Link Title A4

Product B:

Link Title A5

The code to add the link titles needs to be added in the phtml file given below (look for ADD LINK TITLE HERE)

<?php $_item = $this->getItem() ?>

<li class="item">

<?php if ($this->hasProductUrl()): ?>

<a href="<?php echo $this->getProductUrl()?>" title="<?php echo $this->htmlEscape($this->getProductName()) ?>" class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" /></a>

<?php else: ?>

<span class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" /></span>

<?php endif; ?>

<div class="product-details">

<a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove This Item') ?>" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the shopping cart?') ?>');" class="btn-remove"><?php echo $this->__('Remove This Item') ?></a>

<p class="product-name"><?php if ($this->hasProductUrl()): ?><a href="<?php echo $this->getProductUrl() ?>"><?php endif; ?><?php echo $this->htmlEscape($this->getProductName()) ?><?php if ($this->hasProductUrl()): ?></a><?php endif; ?></p>

ADD LINK TITLE HERE

<?php if ($_options = $this->getOptionList()):?>

<div class="truncated">

<div class="truncated_full_value">

<dl class="item-options">

<?php foreach ($_options as $_option) : ?>

<dt><?php echo $this->htmlEscape($_option['label']) ?></dt>

<dd>

<?php if (is_array($_option['value'])): ?>

<?php echo nl2br(implode("\n", $_option['value'])) ?>

<?php else: ?>

<?php echo $_option['value'] ?>

<?php endif; ?>

</dd>

<?php endforeach; ?>

</dl>

</div>

<a href="#" onclick="return false;" class="details"><?php echo $this->__('Details') ?></a>

</div>

<?php endif; ?>

</div>

</li>

PLEASE NOTE: the deliverable is to tell me the code to add in the phtml file given, you do not even need to log in to my server. Please be aware that I have already tried $this->getLinks() but this does not return an array of links.

Magento PHP

Project ID: #2605522

About the project

11 proposals Remote project Active Oct 30, 2012

Awarded to:

blueforestsun

Hi, I can do it for you. Let me do it. Thanks.

£30 GBP in 1 day
(78 Reviews)
6.3

11 freelancers are bidding on average £79 for this job

vniteam

I can do it

£80 GBP in 1 day
(297 Reviews)
7.5
therofree

Please check PM

£50 GBP in 0 days
(470 Reviews)
7.1
kiutisuperking

I can help you do it perfectly, hope we'll work together, thanks!

£45 GBP in 1 day
(252 Reviews)
7.4
platonicsolution

Dear Buyer! We are ready to start working on this project, please check the PM for details and our work experience. Regards, Project Manager, Platonic Solutions

£50 GBP in 2 days
(52 Reviews)
6.1
tsseu

Dear Client, Please give us your precious time to have a look at our bid and private message. We have been through the details of your project and assure you that you would be most happy working with us. Please chec More

£200 GBP in 2 days
(38 Reviews)
6.1
z115corporation

Got Expertise in doing this sort of stuff... All payments through Milestone Payment (Escrow)... Online 16 Hours a day, Can start right away.. Thanks

£30 GBP in 1 day
(75 Reviews)
6.2
sajjj

hi dwesp, we have read your requirements and interested in job ..... please check PMB for our work and expertise ..... regards, sajjj

£50 GBP in 1 day
(45 Reviews)
6.4
SEOSEARCHTEAM

For more details please check PMB..... Thanks

£44 GBP in 1 day
(31 Reviews)
5.2
bestselection

lets me help you, i can do it right now, please check PMB, thanks!

£40 GBP in 0 days
(32 Reviews)
4.4
FWGLl015j

Custom software development: w w w . The Administrator removed this message for containing contact details which breaches our Terms of Service . i o

£250 GBP in 1 day
(0 Reviews)
0.0