| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Adding Login Popup to Descriptions | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() I have a few products that require customers to login to view special prices based on membership levels. Ideally, I'd like to include a message like: "Login to view Special Dealer Pricing" with a link that will open up the login popup window so they can login without leaving the product description. I'm sure this is possible - I even think I saw something on here regarding something similar. If someone could help me out with this I would really appreciate it.
Thanks, Mel
__________________
X-Cart 4.4.4 Gold |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() you could insert a link in the product description with URL "http://<your_domain>/login.php" and embed this in the text you want: e.g. if you use the plain text editor in your product description, the inserted code could be:
Code:
Code:
__________________
Vasilis Vrontisis X-Cart Development, Maintenance & Customization https://[URL="http://www.craftforweb.com"]craftforweb.com[/url] vasilis@craftforweb.com |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() Thanks, but I've tried that and it doesn't give me the popup window. Instead it brings me to the static page. I would like to have the login popup window appear so that they aren't redirected away from the product that they are viewing. When you login on the home page it brings up the popup, however I can't figure out where that code is to copy it.
__________________
X-Cart 4.4.4 Gold |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() Sorry, I didn't notice that you referred to a popup window.
try: Code:
or Code:
__________________
Vasilis Vrontisis X-Cart Development, Maintenance & Customization https://[URL="http://www.craftforweb.com"]craftforweb.com[/url] vasilis@craftforweb.com |
|||||||||
#5
|
|||||||||
|
|||||||||
![]() That worked perfectly! Thank you!
__________________
X-Cart 4.4.4 Gold |
|||||||||
#6
|
|||||||
|
|||||||
![]() does this only work if you're linking to a .php file? i'm trying to link to a .gif file (i want to have a color chart that pops up) but i get an error.
thanks, julie
__________________
Version 4.4.2 |
|||||||
#7
|
|||||||||
|
|||||||||
![]() the popupOpen Javascript function opens a popup window with a form and this form has it's action set to the 'login.php' script, ie when submitted, the 'login.php' script is run with passed parameters the input user name/email and password of the logged in user. So, the function expects a php script for an argument (inserted in the parenthesis).
You could insert a Javascript function that opens a popup window, something like: Code:
Code:
__________________
Vasilis Vrontisis X-Cart Development, Maintenance & Customization https://[URL="http://www.craftforweb.com"]craftforweb.com[/url] vasilis@craftforweb.com |
|||||||||
#8
|
|||||||||
|
|||||||||
![]() Up until recently, the login pop-up window worked fine. Now, when you try to log in using the pop-up it just sits there the the "Please Wait" message after you click on Submit. The regular login on the right hand side works, though. Does anyone know what could be causing this?
__________________
X-Cart 4.4.4 Gold |
|||||||||
#9
|
|||||||||
|
|||||||||
![]() can you provide an example link?
__________________
Vasilis Vrontisis X-Cart Development, Maintenance & Customization https://[URL="http://www.craftforweb.com"]craftforweb.com[/url] vasilis@craftforweb.com |
|||||||||
#10
|
|||||||||
|
|||||||||
![]() Quote:
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|