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

Move Buy Now Button

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-05-2005, 02:57 AM
 
digisoftuk digisoftuk is offline
 

Advanced Member
  
Join Date: Apr 2004
Location: UK
Posts: 38
 

Default Move Buy Now Button

I am looking for some help on moving the buy now button i want to move it from the bottom of the page to the top right hand side of my product discription can some advise how i can do this and what files i need to edit.

Look forward to your help and comments i am using 4.0.9

Thanks

Chris
__________________
Chris Xcart Version 4.13
Reply With Quote
  #2  
Old 01-05-2005, 08:31 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

I assume you are talking about in the display of your products in a specific category? If so, you will want to edit products.tpl. The buy now button is this piece of code:

Code:
{if $usertype eq "C" and $config.Appearance.buynow_button_enabled eq "Y"} {include file="customer/main/buy_now.tpl" product=$products[product]} {/if}

Just cut that and paste it where you want it. If you want to put it next to the description, you will probably want to split the cell containing the description into two cells, with the description on the left and the buy now include on the right.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 02:55 AM.

   

 
X-Cart forums © 2001-2020