| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Need manufacturer link to open in new window | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() When customers are in my store, and click on a manufacturer in the Manufacturer list, that manufacturer's logo and products come up. The logo is clickable and takes the customer directly to their website. I just want this website to open in a new window. I know how to do this, but not where! Which file do I add the code to?
Thanks!
__________________
Danielle X-Cart Pro 4.0.10 X-Gift-Registry X-AOM |
|||||||
#2
|
|||||||
|
|||||||
![]() Nevermind, figured it out!
__________________
Danielle X-Cart Pro 4.0.10 X-Gift-Registry X-AOM |
|||||||
#3
|
|||||||
|
|||||||
![]() Could you tell us what you did
![]()
__________________
X-Cart Gold 4.0.12 X-AOM, X-RMA, X-FancyCat Apache/Linux Server PHP 4.3.8 |
|||||||
#4
|
|||||||
|
|||||||
![]() Oh sure...lol! I always forget that it would be good to post the solution!
OK, go to Modules/Manufacturers/customer_manufacturer_products.tpl. I am just going to cut and paste my code and bold the changes, I think that is the easiest way to show what I did... Quote:
__________________
Danielle X-Cart Pro 4.0.10 X-Gift-Registry X-AOM |
|||||||
#5
|
|||||||
|
|||||||
![]() Excellent thank you was just what I was looking for.
Last think I want is my customers leaving my shop for the manufacturers website! Off to try it now ![]()
__________________
X-Cart Gold 4.0.12 X-AOM, X-RMA, X-FancyCat Apache/Linux Server PHP 4.3.8 |
|||||||
#6
|
|||||||
|
|||||||
![]() I know!!! I can't believe that wasn't just built in! I just discovered it and had to get it fixed!
__________________
Danielle X-Cart Pro 4.0.10 X-Gift-Registry X-AOM |
|||||||
#7
|
|||||||
|
|||||||
![]() Worked perfectly thanks Danielle
![]()
__________________
X-Cart Gold 4.0.12 X-AOM, X-RMA, X-FancyCat Apache/Linux Server PHP 4.3.8 |
|||||||
#8
|
|||||||
|
|||||||
![]() No problem I'm glad it worked for you!
__________________
Danielle X-Cart Pro 4.0.10 X-Gift-Registry X-AOM |
|||||||
#9
|
|||||||
|
|||||||
![]() Hi Danielle,
I tried to incorporate in my code, but it didn't work. Here is my code. Can you tell why it won't work for me? Code:
thank you, Kara Quote:
|
|||||||
#10
|
|||||||
|
|||||||
![]() I found the solution: The following HTML code will enable you to open all of your links in a new window. Place this code between your <HEAD> and </HEAD> tags in your /customer/home.tpl
<base target="main"> |
|||||||
|
|||
X-Cart forums © 2001-2020
|