Guest Posted March 8, 2005 Share Posted March 8, 2005 Hello. I am using the product_listing_col contribution which shows multiple columns for each color of a specific product. I am also using the buy now button and would like to bypass the actual product page for each color of a certain item. This is what I would like to do: On this Page Make clicking on the image actually popup the image and clicking on the buy now button actualy move the item to the shopping cart. Any idea on where to start looking ? Any help would be greatfully appreciated. thanks in advance. Rick Link to comment Share on other sites More sharing options...
Guest Posted March 8, 2005 Share Posted March 8, 2005 Hello. I am using the product_listing_col contribution which shows multiple columns for each color of a specific product. I am also using the buy now button and would like to bypass the actual product page for each color of a certain item. This is what I would like to do: On this Page Make clicking on the image actually popup the image and clicking on the buy now button actualy move the item to the shopping cart. Any idea on where to start looking ? Any help would be greatfully appreciated. thanks in advance. Rick <{POST_SNAPBACK}> Bump Link to comment Share on other sites More sharing options...
TCwho Posted March 8, 2005 Share Posted March 8, 2005 If you mean, you want the buy now button to add it to cart without showing the customer thier shopping cart.. then Adminstration>>My Store>>Then Look down for: Display the shopping cart after adding a product (or return back to their origin) and set it to False Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00 Link to comment Share on other sites More sharing options...
Guest Posted March 9, 2005 Share Posted March 9, 2005 I would like to bypass the product page. Clicking on the image takes the user to the product page, I would like to change that to make clicking on the image popup_image.php?=pID=number instead of taking you to the product description page. Thanks Link to comment Share on other sites More sharing options...
Guest Posted March 9, 2005 Share Posted March 9, 2005 I am needing to change this code here : $lc_text= '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing_values['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing_values['products_image'], $listing_values['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br> <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing_values['products_id']) . '">' . $listing_values['products_name'] . '</a><br>'; To Something like this that works: <script language="javascript"><!-- document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> <noscript> But when I add the code above my images are not loading. I have modified and tried this: $lc_text= '<a href="' . tep_href_link(FILENAME_POPUP_IMAGE, 'products_id=' . $listing_values['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing_values['products_image'], $listing_values['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br> But I cant seem to get the Java Script to work. Any help is really appreciated! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.