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)
-   -   POP UP WINDOW FOR PRODUCT DETAILS (https://forum.x-cart.com/showthread.php?t=12208)

kirsten 02-15-2005 05:29 PM

POP UP WINDOW FOR PRODUCT DETAILS
 
I am hoping someone will have an answer.... :idea:

I am trying to have a pop up window for the details if the customer selects the "see details".... :?:

I have programmed the pop up window to open up a new browser but I only wish to have the frame sections in the middle with details, send to a friend, recommended products & product rating displayed, and will the links on the buttons be able to work ...ie the add to cart button? because atm it all loads and if the customer clicks on adds to cart it is added to a cart in the new browser not the original one

This is what I coded on the /customer/main/products.tpl

<A href="product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}{if $featured eq 'Y'}&featured{/if}"target="_blank">{include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url}
{$lng.lbl_see_details}

So how do I overcome this ? :?

Would appreciate some help ](*,)
Thanx

balinor 02-15-2005 05:57 PM

As I mentioned to you earlier, pop-ups or opening pieces of the store in new windows are not good ideas for anything other than images. Not only do they annoy customers, but as you have found, it will screw up the cart as well :)

kirsten 02-15-2005 07:13 PM

Sorry I did not completely understand what you meant.....so it would be best for me to just load the pic in a popup and give the full details description in the original window??

Or is there a way to not upset the shopping cart??

Jerrad 02-15-2005 10:42 PM

Hi kirsten,
In my opion pop-ups can be functional if used properly. For example
in combination with upselling links. I can't imagine that a customer clicks
a buy now button only based on a thumbnail and a short description.
And if you don't want the customer move away from the orginal product
he/she at first interested was, a pop-up with a more detailed description
would be very usefull.

Something I like to implement in my shop, some day. I don't have the
time now because I'm still ](*,) with other parts of x-cart.
Maybe you find some usefull code in the detailed image pop-up
from boomer. It also works with a pop-up.
http://forum.x-cart.com/viewtopic.php?t=11621

Good luck and please let me know if you succeed. :lol:


All times are GMT -8. The time now is 02:56 PM.

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