Hi,
1. I had previously asked how to remove the checkout cart quantity field but leave the 'Refresh' and 'Delete' buttons in place. I have deleted the quantity field and repositioned the Refresh and Delete images in the table cell. Now, of course, the buttons do not work because they were related only to the quantity field. Can you tell me how to adjust the code to allow the refresh function to work on the whole checkout form and the delete function to delete the selected item row? Can I use the code from the product cart delete function to do this? If so, what part?
2. I have replaced the 'Image' column in my checkout cart (checkout / cart.php) with a custom product field - 'Artist Name'. Having adjusted the code the changes work, but the first cell of that column is always blank. If I add further items to the list, the Artist Name field populates as expected from the second row onwards, if I delete an item from the first row, the Artist Name for the second row item disappears when it moves up. The code snippet is below - please advise how to adjust the code to rectify my error. Image attached.
<tr class="<?php echo "row$k"; ?>">
<td class="hikashop_product_artist_name_value">
<p class="hikashop_product_artist_name">
<?php
global $Itemid;
$checkout_itemid = $this->config->get('checkout_itemid');
if(!empty($checkout_itemid )){
$Itemid = $checkout_itemid ;
}
$url_itemid='';
if(!empty($Itemid)){
$url_itemid='&Itemid='.$Itemid;
} ?>
<a href="<?php echo hikashop_completeLink('product&task=show&cid='.$row->product_id.$url_itemid);?>" >
<?php echo $this->row->product_artist_name; ?>
</a>
</p>
</td>
3. Can I make the random selection function display items from the whole product listing, not just one category?
Many thanks.