Justin WFCOMICS Posted March 9, 2004 Share Posted March 9, 2004 Hi, What can be done to display the Product Model of an item when viewing the shopping cart? Any help would be greatly appreciated. Thanks :)! Justin =) Link to comment Share on other sites More sharing options...
ptrau Posted March 9, 2004 Share Posted March 9, 2004 Have you even opened you admin section yet??? Configure/Product Listing/Display Product Model set to 1 "Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!" Link to comment Share on other sites More sharing options...
Guest Posted March 10, 2004 Share Posted March 10, 2004 catalog/includes/classes/shopping_cart.php already has the products model, but catalog/shopping_cart.php does not :blink: The simplest way is to list it below the name - around line 117 of catalog/shopping_cart.php: ? ? ? ? ? ? ? ? ? ? ? ' ? ?<td class="productListing-data" align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">' . tep_image(DIR_WS_IMAGES . $products[$i]['image'], $products[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td>' . ? ? ? ? ? ? ? ? ? ? ? ' ? ?<td class="productListing-data" valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '"><b>' . $products[$i]['name'] . '</b></a><br>' . $products[$i]['model']; HTH Matti Link to comment Share on other sites More sharing options...
Justin WFCOMICS Posted March 11, 2004 Author Share Posted March 11, 2004 Have you even opened you admin section yet??? Configure/Product Listing/Display Product Model set to 1 Ummm... :huh:? As Matti pointed out, the Product Model does not display in the cart even with "Product Model" set to "1" in the Admin. Matti, thanks a bunch for the code snippet :), I appreciate your response. I will give it a try. Justin =) Link to comment Share on other sites More sharing options...
kkkqqq Posted June 3, 2004 Share Posted June 3, 2004 catalog/includes/classes/shopping_cart.php already has the products model, but catalog/shopping_cart.php does not :blink: The simplest way is to list it below the name - around line 117 of catalog/shopping_cart.php: ? ? ? ? ? ? ? ? ? ? ? ' ? ?<td class="productListing-data" align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">' . tep_image(DIR_WS_IMAGES . $products[$i]['image'], $products[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td>' . ? ? ? ? ? ? ? ? ? ? ? ' ? ?<td class="productListing-data" valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '"><b>' . $products[$i]['name'] . '</b></a><br>' . $products[$i]['model']; HTH Matti I did it according to your guideline. The model # is on the shoping_cart.php now. Thanks, Johnson. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.