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

Couple of Template edits

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 09-30-2008, 11:31 AM
 
ibit-matt ibit-matt is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 60
 

Default Re: Couple of Template edits

Right I am trying to move the more details links next to the buy now link.

this is the code for the more details link which is in the /customer/main/products.tpl

Code:
<a href="product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}{if $featured eq 'Y'}&featured{/if}" style="TEXT-DECORATION: underline;">{$lng.lbl_see_details}</a>

Where do I move this code so its next to the buy now button
__________________
X Cart Version 4.1.11
Reply With Quote
  #12  
Old 10-02-2008, 02:04 PM
 
ibit-matt ibit-matt is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 60
 

Default Re: Couple of Template edits

Can anyone help please
__________________
X Cart Version 4.1.11
Reply With Quote
  #13  
Old 10-05-2008, 04:42 AM
 
ibit-matt ibit-matt is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 60
 

Default Re: Couple of Template edits

Anyone please
__________________
X Cart Version 4.1.11
Reply With Quote
  #14  
Old 10-05-2008, 08:10 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Couple of Template edits

Open skin1/customer/main/buy_now.tpl.

Find this line.

<td>{include file="submit_wo_js.tpl" value=$lng.lbl_buy_now}</td>
{/if}

Add this after it.

<td style="padding-left: 20px;"><a href="product.php?productid={$products[product].productid}&amp;cat={$cat}&amp;page={$navigation_p age}{if $featured eq 'Y'}&amp;featured{/if}">{$lng.lbl_see_details}</a>
</td>
__________________
xcart 5.1.2
Reply With Quote
  #15  
Old 10-05-2008, 10:17 AM
 
ibit-matt ibit-matt is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 60
 

Default Re: Couple of Template edits

Thank you very much Ashley. How do I go about changing the look of the link so it looks like the by now button?
__________________
X Cart Version 4.1.11
Reply With Quote
  #16  
Old 10-05-2008, 10:57 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Couple of Template edits

create a table around the link with the same images as the buy now button.
__________________
xcart 5.1.2
Reply With Quote
  #17  
Old 10-08-2008, 11:49 AM
 
ibit-matt ibit-matt is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 60
 

Default Re: Couple of Template edits

HI there Ashley I have been trying to get the images to show around the more info link

This is the code I have

Code:
<td></td> <td><a href="product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}{if $featured eq 'Y'}&featured{/if}">{$lng.lbl_see_details}</a></td> <td></td>

I have been adding some style tags to the td tags to add the images but its not working

can you help me please
__________________
X Cart Version 4.1.11
Reply With Quote
  #18  
Old 10-18-2008, 10:40 AM
 
ibit-matt ibit-matt is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 60
 

Default Re: Couple of Template edits

Can anyone help me please
__________________
X Cart Version 4.1.11
Reply With Quote
  #19  
Old 10-19-2008, 10:06 AM
 
ibit-matt ibit-matt is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 60
 

Default Re: Couple of Template edits

If anyone could help me out with this please I would really appreciate it
__________________
X Cart Version 4.1.11
Reply With Quote
  #20  
Old 10-19-2008, 10:09 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Couple of Template edits

post your URL and I'll take a look.
__________________
xcart 5.1.2
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 05:28 AM.

   

 
X-Cart forums © 2001-2020