X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Upselling products in popup (https://forum.x-cart.com/showthread.php?t=2754)

Eddie Hillegers 05-18-2003 07:06 AM

Upselling products in popup
 
I am not completly happy with the cross selling of products.
right now i use the the target blank link that opens a new window.

What i would like to have instead is a popup window with only the produkt
popping up.(no header footer etc) what would be realy nice is if this
window closes after putting the product in the basket.

Would this be hard to do?

Cheers Eddie

funkydunk 05-19-2003 01:26 AM

Put simply, it would require a fair amount of work:

1: create a php file that includes all the necessary files to be able to select the right product (base it on customer/product.php) but instead of displaying home.tpl - get it to show a new template (base this on product.tpl)

2: rewrite the links for the upsell products to go to this page as a pop-up (will need some javascript in there too to open the pop-up and to name the original window so that the pop-up can target it when add to cart is clicked)

enjoy :D

Eddie Hillegers 05-21-2003 09:23 PM

Sorry bit late! My own forum automaticly notify's :roll:

Thanks for the reaction, i'll have a real quick look at it, but that will be it
i guess. :P

Cheers Eddie


All times are GMT -8. The time now is 02:37 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.