: Showing product short description in drop down : freepass September 13, 2011, 11:40:22 AM I would like to see the product short description in the drop down cart after the item title and url link. I know I need to modify two files but what to put in "mod_virtuemart_s5_dropdown_cart.php"? I know just enough to locate what needs to be modified but am no good at php.
I have modified "minicart.tpl.php" at line 140: : <?php echo $cart['quantity'] ?> x <strong><a target="_blank" href="<?php echo $cart['url'] ?>"><?php echo $cart['product_name'] ?></a></strong> And just inserted after this a call to short description: : <?php echo $cart['quantity'] ?> x <strong><a target="_blank" href="<?php echo $cart['url'] ?>"><?php echo $cart['product_name'] ?></a></strong> - <?php echo $cart['product_s_desc'] ?> So what would I need to add in "mod_virtuemart_s5_dropdown_cart.php" to achieve this? There is the following code at line 559 that calls the product name and url so something similar to this should be added I am assuming for the ['product_s_desc'] : $minicart[$ci]['product_name'] = shopMakeHtmlSafe($ps_product->get_field($_SESSION['cart'][$i]["product_id"], "product_name")); Thanks in advance! : Re: Showing product short description in drop down : mikek September 13, 2011, 01:55:32 PM Hello,
I am sorry but something like this would require quite a bit of custom programming which we do not provide. |