Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Adding a Simple Button Link

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-02-2009, 10:51 AM
 
rageon75 rageon75 is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 108
 

Default Adding a Simple Button Link

Hello everybody. I am trying to figure out how to add a button link to this page: http://www.chimera-bikes.com/home.php?cat=3 . I need it to be on every page. I also need it to be above the item description. How do I do that? What files do I modify? Thanking everybody in advance. I appreciate you taking time to look at my question.
__________________
X-Cart Gold 4.2 - 4.3 - 4.4.5 - 4.6 - 4.7
Reply With Quote
  #2  
Old 09-02-2009, 11:42 AM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: Adding a Simple Button Link

A button link?
Could you be a bit more descriptive on the location and such?
__________________
- Shane Munroe
Reply With Quote
  #3  
Old 09-02-2009, 12:02 PM
 
rageon75 rageon75 is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 108
 

Default Re: Adding a Simple Button Link

Below where it says "Products" and above the product description: "TS 5.9 Track 55CM: 700C Racing", centered. I need to add a button link to the "Size Guide" page.
__________________
X-Cart Gold 4.2 - 4.3 - 4.4.5 - 4.6 - 4.7
Reply With Quote
  #4  
Old 09-02-2009, 12:11 PM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: Adding a Simple Button Link

I dont see where it says "Products".
For it to be above the product description, look in skin1/customer/main/product.tpl for this line (or similar):
Code:
<tr> <td colspan="2"> <div class="descr">{$product.fulldescr|default:$product.descr}</div> </td> </tr>
The link should be added before that.
__________________
- Shane Munroe
Reply With Quote
  #5  
Old 09-02-2009, 12:35 PM
 
rageon75 rageon75 is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 108
 

Default Re: Adding a Simple Button Link

Thanks for your reply. I added the link to the product.tpl but the graphic went to this page: http://www.chimera-bikes.com/product.php?productid=16134&cat=3&page=1 .

It should be on this page: http://www.chimera-bikes.com/home.php?cat=3 . What file should I modify? Thanks again.
__________________
X-Cart Gold 4.2 - 4.3 - 4.4.5 - 4.6 - 4.7
Reply With Quote
  #6  
Old 09-02-2009, 12:53 PM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: Adding a Simple Button Link

For that, you can see if the category description allows for html code. If so, just throw it in there
__________________
- Shane Munroe
Reply With Quote
  #7  
Old 09-02-2009, 01:13 PM
 
rageon75 rageon75 is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 108
 

Default Re: Adding a Simple Button Link

Thank you Tal for all your help. I needed to add the code in the products.tpl. Thanks again!
__________________
X-Cart Gold 4.2 - 4.3 - 4.4.5 - 4.6 - 4.7
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:05 AM.

   

 
X-Cart forums © 2001-2020