Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add to cart after WITH POPUP WINDOW


Salvo

Recommended Posts

Hi

 

I have ?Display cart after adding products to false", and as soon as the ?Add to cart? image is clicked the products is added to the shopping cart. Very Very nice, but?.

 

My question is:

 

I would like to have a small popup window which say ? Products Name Added to your Cart? and close itself after a number of second?

 

Would this cause conflict?

Can someone help in achieving this in a proper manner?

 

Thanks

Link to comment
Share on other sites

here I am again...

what I need to do is very simple but I can't make it work....

 

I have from the: products_info.php

it is about line 291 on the MS2

This wil add to the CART:

<td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td>

 

This would open a window called details:

 

<script language="javascript"><!--

document.write('<?php echo '<a href="java script:popupWindow3('' . tep_href_link(FILENAME_PRODUCT_IN_CART, 'pID=' . $product_info_values['products_id']) . '')">' . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');

//--></script>

 

 

Now I click to integrate the pop up window in the IN CART.

 

In a way that when the customer click on the "In Cart" image, the product is added and a small window will open..

 

I have tried all the possible way but I can't make it work both together.

 

I appreciated any help

 

Salvo

Link to comment
Share on other sites

I can't believe that there are not expert that can help

 

I have tried all the possible combination...

I am sure that at the end (like most of the case) I had a commer missing ...

 

Anyhow, I repeat what I what achieve in case I didn't make it clear enough...

 

The file PRODUCTS_INFO.PHP when clicking "ADD TO CART" button which add a product to the cart, I need to have a small window to open in the same time as the button "add to cart" is clicked......

 

Can PLEASE someone with more knowledge than me help?

 

 

Thanks

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...